[postfix-es] Problema de relay denegado
Martí Cardús
marti.cardus en ilimit.net
Mie Sep 15 18:13:50 CEST 2010
Hola lista,
Hace unos dias ya pregunte y quizas no me explique bien, os paso detalladamente todas mis configuraciones y pruebas que he realizado, asi como logs y cualquier informacion que tenga, a ver si alguien puede ayudarme a resolver este problema de relay denegado al intentar enviar correos.
postconf -n
address_verify_map = btree:${data_directory}/verify
address_verify_transport_maps = proxy:mysql:/etc/postfix/mysql_transport.cf
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_protocols = ipv4
mailbox_size_limit = 0
mydestination = $myhostname, localhost.localdomain, localhost, $relay_domains
mynetworks = 127.0.0.0/8
myorigin = $myhostname
proxy_read_maps = proxy:unix:passwd.byname, $address_verify_transport_maps, $relay_domains
recipient_delimiter = +
relay_domains = proxy:mysql:/etc/postfix/mysql_relay_domains.cf
relay_transport = proxy:mysql:/etc/postfix/mysql_transport.cf
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unauth_destination, reject_unknown_recipient_domain, reject_unverified_recipient, reject_unauth_destination, permit
mysql_relay_domains.cf
user = mailrelay
password = XXXXXX
hosts = XXXXXX
dbname = mailrelay
query = SELECT "OK" FROM mailrelay WHERE domini="%d"
mysql_transport.cf
user = mailrelay
password = XXXXX
hosts = XXXX
dbname = mailrelay
query = SELECT relay FROM mailrelay WHERE domini="%d"
# postmap -q test en domain.com mysql:/etc/postfix/mysql_relay_domains.cf
OK
# postmap -q test en domain.com mysql:/etc/postfix/mysql_transport.cf
smtp:servidor.domain.com
postfix/smtpd[29923]: connect from miordenador[miip]
postfix/cleanup[29926]: 51A111B2544: message-id=<20100915155719.51A111B2544 en mailrelay>
postfix/qmgr[29921]: 51A111B2544: from=<double-bounce en mailrelay>, size=263, nrcpt=1 (queue active)
postfix/smtp[29927]: 51A111B2544: to=<test en domain.com>, relay=servidor.domain.com[X.X.X.X]:25, delay=0.44, delays=0.04/0.01/0.31/0.08, dsn=2.1.5, status=deliverable (250 2.1.5 Ok)
postfix/qmgr[29921]: 51A111B2544: removed
postfix/smtpd[29923]: NOQUEUE: reject: RCPT from servidor.domain.com[X.X.X.X]: 554 5.7.1 <test en domain.com>: Relay access denied; from=<marti.cardus en miempresa.net> to=<test en domain.com> proto=ESMTP helo=<miempresa.net>
Muchas gracias a todos!
Si falta cualquier informacion pedirmela.
Saludos!
More information about the postfix-es
mailing list