OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: [Old box, Newbie] Undelivered Mail Returned to Sender

From: Wietse Venema (wietseporcupine.org)
Date: Wed Dec 12 2007 - 18:38:40 CST


You can make the Postfix SMTP client more verbose with ONE -v option
in master.cf (and "postfix reload"). The SMTP client will then
report the replies. It looks like this when I send mail to myself:

Dec 12 19:35:30 hades postfix/smtp[7478]: dns_query: porcupine.org (MX): OK
Dec 12 19:35:30 hades postfix/smtp[7478]: dns_get_answer: type MX for porcupine.org
Dec 12 19:35:30 hades postfix/smtp[7478]: smtp_addr_one: host spike.porcupine.org
Dec 12 19:35:30 hades postfix/smtp[7478]: lookup spike.porcupine.org type A flags 128
Dec 12 19:35:30 hades postfix/smtp[7478]: dns_query: spike.porcupine.org (A): OK
Dec 12 19:35:30 hades postfix/smtp[7478]: dns_get_answer: type A for spike.porcupine.org
Dec 12 19:35:30 hades postfix/smtp[7478]: begin porcupine.org address list
Dec 12 19:35:30 hades postfix/smtp[7478]: pref 10 host spike.porcupine.org/168.100.189.2
Dec 12 19:35:30 hades postfix/smtp[7478]: end porcupine.org address list
Dec 12 19:35:30 hades postfix/smtp[7478]: smtp_find_self: not found
Dec 12 19:35:30 hades postfix/smtp[7478]: smtp_connect_addr: trying: spike.porcupine.org[168.100.189.2] port 25...

You should really not use ignore_mx_lookup_error=yes, this causes
mail deliveries when the MX lookup fails and Postfix switches
to A lookups as prescribed by the RFC.

        Wietse