[postfix-es] Problema con Disclaimer

Anthony Mogrovejo tony001983 en gmail.com
Lun Feb 23 07:21:17 CET 2009


Lista que tal, tengo el siguiente  problema, acabo de configurar un
disclaimer en Centos+Postfix, y me he percatado que este solo es visible
cuando cualquier persona me envia un email, se puede visualizar, pero si
mando un email a los usuarios de mi dominio no se visualiza.

Este es el disclaimer:
---------------------------------
#!/bin/sh
# Localize these.
INSPECT_DIR=/var/spool/filter
SENDMAIL=/usr/sbin/sendmail

# Exit codes from <sysexits.h>
EX_TEMPFAIL=75
EX_UNAVAILABLE=69

# Clean up when done or when aborting.
trap "rm -f in.$$" 0 1 2 3 15

# Start processing.
cd $INSPECT_DIR || { echo $INSPECT_DIR does not exist; exit
$EX_TEMPFAIL; }

cat >in.$$ || { echo Cannot save mail to file; exit $EX_TEMPFAIL; }

/usr/local/bin/altermime --input=in.$$ \
                   --disclaimer=/etc/postfix/disclaimer.txt \
                   --disclaimer-html=/etc/postfix/disclaimer.htm \
                   --force-for-bad-html --log-syslog \
                   --xheader="X-Copyrighted-Material: Please visit
http://www.fiisunac.edu.pe" || \
                     { echo Message content rejected; exit $EX_UNAVAILABLE;
}

$SENDMAIL "$@" <in.$$

exit $?
--------------------------
el cual esta en /etc/postfix, y en master.conf. he agregado esta linea:

smtp      inet  n       -       n       -       -       smtpd
        -o content_filter=dfilt:
        -o  receive_override_options=no_address_mappings
.....
dfilt     unix    -       n       n       -       -       pipe
    flags=Rq user=filter argv=/etc/postfix/disclaimer -f ${sender} --
${recipient}




-- 
Anthony Mogrovejo
cel 9-91681659
Consultor Junior IT
Documents Project Fedora
Linux User # 433253
Ubuntu User # 9562
---------------------------------------------------------
"Quisiera cambiar al mundo pero no me dan los RPM..."
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://lists.wl0.org/pipermail/postfix-es/attachments/20090223/97b63e65/attachment.htm 


More information about the postfix-es mailing list