[postfix-es] Evitar bucle

Alberto alberto en bersol.fadlan.com
Sab Sep 6 17:23:05 CEST 2003


Hola a todos:

Bajando correo de una cuenta POP con Fetchmail, que a su vez pasa a
Postfix,
de vez en cuando llegan mails con cabeceras mal generadas o incorrectas, y
Postfix, por alguna de las directivas de sender_restrictions supongo, pues
rechaza el mail. Fetchmail ante esto no lo borra y ya esta el bucle.

A parar el fetchmail y a borrarlo a manini por telnet, cosa que me
revienta
como podeis imaginar, aunque en realidad es el bucle lo que me preocupa,
no el hacerlo a mano.

Aparte de deshabilitar la directiva concreta que rechaza estos correos,
que
no quisiera, la verdad, se os ocurre algun otro remedio?

Adjunto el log y el postconf

**********************************
...
Sep 5 22:46:38 datac postfix/smtpd[15691]: connect from datac[127.0.0.1]
Sep 5 22:46:38 datac postfix/smtpd[15691]: warning: Illegal address
syntax
from datac[127.0.0.1] in MAIL command:

<Received:fromrly-xl05.mx.aol.com en correo.euskalnet.netbysmtp4.cyberec.comwit
hNNFMP;Sep
sep 5 22:46:43 datac fetchmail[15689]: Error de SMTP: 501 Bad address
syntax
Sep 5 22:46:43 datac postfix/smtpd[15692]: connect from datac[127.0.0.1]
Sep 5 22:46:43 datac postfix/smtpd[15692]: 963D84E991:
client=datac[127.0.0.1]
Sep 5 22:46:43 datac postfix/smtpd[15692]: warning: Illegal address
syntax
from datac[127.0.0.1] in RCPT command:

<Received:fromrly-xl05.mx.aol.com en correo.euskalnet.netbysmtp4.cyberec.comwit
hNNFMP;Sep
Sep 5 22:46:48 datac postfix/cleanup[15694]: AE7354E992:

message-id=<20030905204648.AE7354E992 en 227.Red-80-34-69.pooles.rima-tde.net
<mailto:20030905204648.AE7354E992 en 227.Red-80-34-69.pooles.rima-tde.net
Sep 5 22:46:48 datac postfix/smtpd[15692]: disconnect from
datac[127.0.0.1]
sep 5 22:46:48 datac fetchmail[15689]: no eliminado
Sep 5 22:46:48 datac postfix/nqmgr[470]: AE7354E992:
from=<double-bounce en 227.Red-80-34-69.pooles.rima-tde.net
<mailto:double-bounce en 227.Red-80-34-69.pooles.rima-tde.net, size=839,
nrcpt=1
(queue active)
Sep 5 22:46:53 datac postfix/local[15696]: AE7354E992:
to=<alberto en bersol.fadlan.com <mailto:alberto en bersol.fadlan.com,
relay=local, delay=5, status=sent
("|/usr/bin/procmail -t")
...
Sep 5 22:47:14 datac postfix/smtpd[15691]: disconnect from
datac[127.0.0.1]
Sep 5 22:47:14 datac postfix/nqmgr[470]: 7EAD84E991:
from=<double-bounce en 227.Red-80-34-69.pooles.rima-tde.net
<mailto:double-bounce en 227.Red-80-34-69.pooles.rima-tde.net, size=923,
nrcpt=1
(queue active)
Sep 5 22:47:19 datac postfix/local[15696]: 7EAD84E991:
to=<alberto en bersol.fadlan.com <mailto:alberto en bersol.fadlan.com,
relay=local, delay=5, status=sent
("|/usr/bin/procmail -t")

...
**********************************
datac:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
body_checks = regexp:/etc/postfix/listas/check_cuerpo
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp:127.0.0.1:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
default_privs = nobody
disable_vrfy_command = yes
header_checks = regexp:/etc/postfix/listas/check_cabecera
inet_interfaces = all
local_destination_concurrency_limit = 2
local_recipient_maps = $alias_maps unix:passwd.byname
mail_owner = postfix
mailbox_command = /usr/bin/procmail -t
mydestination = $myhostname, localhost.$mydomain $mydomain
tomate.fadlan.com
mydomain = bersol.fadlan.com
myhostname = 227.Red-80-34-69.pooles.rima-tde.net
mynetworks = 127.0.0.0/8, 192.168.1.0/24, 192.168.55.0/32
myorigin = /etc/mailname
notify_classes = bounce, delay, policy, protocol, software, resource
program_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
relay_domains = $mydestination
sender_canonical_maps = hash:/etc/postfix/sender_canonical
smtp_sasl_password_maps = hash:/etc/postfix/saslpass
smtp_sasl_security_options = noplaintext
smtpd_client_restrictions = hash:/etc/postfix/access
smtpd_delay_reject = yes
smtpd_recipient_restrictions = permit_mynetworks check_relay_domains
smtpd_sender_restrictions = reject_non_fqdn_sender,
reject_sender_login_mismatch
transport_maps = hash:/etc/postfix/transport
virtual_gid_maps = mysql:/etc/postfix/ids.cf
virtual_mailbox_base = /
virtual_mailbox_maps = mysql:/etc/postfix/mysql-aliases.cf
virtual_maps = hash:/etc/postfix/virtual
virtual_uid_maps = mysql:/etc/postfix/ids.cf
********************************************
Agur,
Alberto

"Windows ha detectado que ha movido el ratón. Reinicie Windows para ver
los cambios."


-
Para ENVIAR mensajes a esta lista tienes que estar SUSCRITO a ella.
.
Envía la linea "unsubscribe postfix-es" en el cuerpo de un mensaje
a majordomo en WL0.org para quitarte de la lista.



Más información sobre la lista de distribución Postfix-es