[Postfix-es] Correos encolados que no salen, ayuda por favor!

AVA ava en engranada.net
Lun Mar 6 12:11:59 CET 2006


Buenas a todos:

Tego un problema que me trae de cabeza con una instalacion nueva de postfix 2.1.5

Ocurre que no envia los mensajes dejándolos encolados eternamente, pero sólo ocurre a aquellos destinos en los que la IP del servidor de correo no es la misma del dominio raiz, es como si no supiera encontrar los MX de cada dominio...

En el log me encuentro esto:

Mar  6 00:31:39 almin postfix/qmgr[2936]: 1DA312B2B7A: to=<xxxxx en yahoogroups.com>, relay=none, delay=28148, status=deferred (delivery temporarily suspended: connect to yahoogroups.com[66.218.71.198]: Connection timed out)
Mar  6 00:31:39 almin postfix/qmgr[2936]: 18D352B2B87: to=<xxxxx en yahoogroups.com>, relay=none, delay=13397, status=deferred (delivery temporarily suspended: connect to yahoogroups.com[66.218.71.198]: Connection timed out)
Mar  6 00:31:39 almin postfix/qmgr[2936]: 9C7182B2B5E: to=<xxxxx en yahoogroups.com>, relay=none, delay=28148, status=deferred (delivery temporarily suspended: connect to yahoogroups.com[66.218.71.198]: Connection timed out)
Mar  6 00:32:08 almin postfix/smtp[3773]: connect to hotmail.com[64.4.32.7]: Connection timed out (port 25)
Mar  6 00:32:08 almin postfix/smtp[3776]: connect to hotmail.com[64.4.32.7]: Connection timed out (port 25)

...

Mar  6 01:00:45 almin postfix/smtp[4061]: B77E82B2B7D: to=<xxxxx en yahoo.es>, relay=none, delay=123813, status=deferred (connect to yahoo.es[217.12.3.11]: No route to host)




Si nos fijamos, parece que intenta conectar con la ip del yahoogroups.com..  Y a yahoo como que no encuentra ruta, sin embargo desde consola con "host yahoo.es" obtengo la ip, y el ping funciona..
Si tambien le hago desde consola un "dig -t mx yahoogroups.com" veo que las MX son diversas y que las IPS no son la que pone en el log... No se si van a ir por aqui los tiros.. pero me estoy volviendo majara.

Si hago telnet por el puerto 25 a cualquier servidor de correo que coincida la IP con el dominio raiz, conecta sin problema. Por tanto no es problema de firewall.


Recurro a vosotros porque estoy ya dando vueltas sobre lo mismo y no encuentro la solucion, os pongo aqui mi postconf -n y el master.cf a ver si veis la causa.

postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
body_checks = pcre:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
debug_peer_list = midominio.homelinux.net
default_destination_concurrency_limit = 20
disable_dns_lookups = yes
disable_vrfy_command = yes
header_checks = pcre:/etc/postfix/header_checks
inet_interfaces = $myhostname, localhost
local_destination_concurrency_limit = 2
local_recipient_maps = $alias_maps unix:passwd.byname
mail_name = Postfix
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maximal_queue_lifetime = 3d
message_size_limit = 20485760
mydestination = localhost.localdomain localhost $myhostname localhost.$mydomain $mydomain mail.$mydomain www.$mydomain ftp.$mydomain
mydomain = midominio.net
myhostname = mail.midominio.homelinux.net
mynetworks = 127.0.0.1 192.168.0.0/24
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
notify_classes = bounce,policy,protocol,resource,software
proxy_interfaces = xxx.xxx.xx.xxx
queue_directory = /var/spool/postfix
relay_domains = $mydestination
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions = reject_rbl_client relays.ordb.org reject_rhsbl_client relays.ordb.org
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_pipelining, reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = almin
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
transport_maps = hash:/etc/postfix/transport


Aqui va el master.cf
smtp      inet  n       -       n       -       -       smtpd
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
#qmgr     fifo  n       -       n       300     1       qmgr
qmgr      fifo  n       -       n       300     1       qmgr
#tlsmgr   fifo  -       -       n       300     1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
flush     unix  n       -       n       1000?   0       flush
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       n       n       -       -       lmtp
#
#
#old-cyrus unix  -      n       n       -       -       pipe
#   flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
cyrus     unix  -       n       n       -       -       pipe
    user=cyrus argv=/cyrus/bin/deliver -e -r ${recipient} -m ${extension} ${user}
uucp      unix  -       n       n       -       -       pipe
    flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail    unix  -       n       n       -       -       pipe
    flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
    flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
#vscan    unix  -       n       n       -      10       pipe
#   flags=q user=amavis argv=/usr/sbin/amavis ${sender} ${recipient}

( Es el de Fernando Limon para la cersion 2.0 hecho con el formulario que tiene).


y aqui el transport
# TRAFICO LOCAL ...
mail.midiminio.homelinux.net            local:
localhost.midominio.homelinux.net       local:
# TRAFICO INTERNO ...
midominio.homelinux.net             smtp:
.midominio.homelinux.net            smtp:


Señores, ya estoy loco dando vueltas creo que sobre lo mismo y no encuentro la causa.

A ver si me podéis ayudar..

Gracias..!!

Saludos








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