Hi,
This is not a major issue as mail does get delivered but it would be nice from a consistancy point of view to have a standard way of writing (in the SMTP log) that an email has been forwarded to the designated mail gateway (if that is indeed the setting) when direct delivery has failed.
For example,
MAIL.COM will only accept smtp connections from servers that have permanent ip addresses. I have a dynamic ip address and receive the following error:
Requested: SMTP In: mail from xxxx@bigpond.net.au to xxxx@mail.com (4kb)
10/10/03 13:14:26 192.168.0.2 Guest 0000001239 Debug: C=>: QUIT
10/10/03 13:14:26 192.168.0.2 Guest 0000001239 Debug: <=S: 221 SMTP Server Service closing transmission channel
10/10/03 13:14:26 192.168.0.2 Guest 0000001239 Traffic 411 3180 0 0 9s
10/10/03 13:14:47 127.0.0.2 0000001240 Debug: Connection (MX Record) to mail-com.mr.outblaze.com. for domain mail.com failed
10/10/03 13:15:08 127.0.0.2 0000001240 Debug: Connection (MX Record) to mail-com-bk.mr.outblaze.com. for domain mail.com failed
10/10/03 13:15:08 127.0.0.2 0000001240 Debug: None of the mail exchanges for domain mail.com would accept connection. Will retry
10/10/03 13:15:10 127.0.0.2 0000001240 Debug: SMTP Delivery to mail.com : HELO GW001
10/10/03 13:15:10 127.0.0.2 0000001240 Debug: SMTP Delivery to mail.com : 250 bigpond.net.au
10/10/03 13:15:10 127.0.0.2 0000001240 Debug: SMTP Delivery to mail.com : MAIL FROM:
10/10/03 13:15:10 127.0.0.2 0000001240 Debug: SMTP Delivery to mail.com : 250 ok
10/10/03 13:15:10 127.0.0.2 0000001240 Debug: SMTP Delivery to mail.com : RCPT TO:
10/10/03 13:15:10 127.0.0.2 0000001240 Debug: SMTP Delivery to mail.com : 250 ok
10/10/03 13:15:10 127.0.0.2 0000001240 Debug: SMTP Delivery to mail.com : DATA
10/10/03 13:15:10 127.0.0.2 0000001240 Debug: SMTP Delivery to mail.com : 354 start mail input; end with .
10/10/03 13:15:11 127.0.0.2 0000001240 Debug: SMTP Delivery to mail.com : 250 ok
10/10/03 13:15:11 127.0.0.2 0000001240
***************************************************************
Requested: SMTP Delivery to mail.com : Mail from xxx@bigpond.net.au to xxxx@mail.com sent
***************************************************************
10/10/03 13:15:13 127.0.0.2 0000001240 Debug: SMTP Delivery to mail.com : QUIT
10/10/03 13:15:13 127.0.0.2 0000001240 Debug: SMTP Delivery to mail.com : 221 bigpond.net.au goodbye
With AOL the same problem exists but the response logged is different:
Requested: SMTP In: mail from xxxx@student.mq.edu.au to xxxx@aol.com (3kb)
10/10/03 14:07:39 127.0.0.2 0000001317 Debug: Connection (MX Record) to mailin-04.mx.aol.com. for domain aol.com failed - bad response code 554
10/10/03 14:07:39 192.168.0.4 Guest 0000001316 Debug: C=>: QUIT
10/10/03 14:07:39 192.168.0.4 Guest 0000001316 Debug: <=S: 221 SMTP Server Service closing transmission channel
10/10/03 14:07:39 192.168.0.4 Guest 0000001316 Traffic 282 2535 0 0 4s
10/10/03 14:07:40 127.0.0.2 0000001317 Debug: Connection (MX Record) to mailin-01.mx.aol.com. for domain aol.com failed - bad response code 554
10/10/03 14:07:41 127.0.0.2 0000001317 Debug: Connection (MX Record) to mailin-02.mx.aol.com. for domain aol.com failed - bad response code 554
10/10/03 14:07:41 127.0.0.2 0000001317 Debug: Connection (MX Record) to mailin-03.mx.aol.com. for domain aol.com failed - bad response code 554
10/10/03 14:07:41 127.0.0.2 0000001317 Debug: None of the mail exchanges for domain aol.com would accept connection. Will retry
10/10/03 14:07:41 127.0.0.2 0000001317
**************************************************************
Requested: Forwarded undeliverable mail for aol.com to gateway
**************************************************************
10/10/03 14:07:41 127.0.0.2 0000001317 Traffic 0 0 0 0 3s
10/10/03 14:07:42 127.0.0.2 0000001318 Debug: SMTP Delivery to mail-hub.bigpond.net.au : HELO GW001
10/10/03 14:07:42 127.0.0.2 0000001318 Debug: SMTP Delivery to mail-hub.bigpond.net.au : 250 bigpond.net.au
10/10/03 14:07:42 127.0.0.2 0000001318 Debug: SMTP Delivery to mail-hub.bigpond.net.au : MAIL FROM:
10/10/03 14:07:42 127.0.0.2 0000001318 Debug: SMTP Delivery to mail-hub.bigpond.net.au : 250 ok
10/10/03 14:07:42 127.0.0.2 0000001318 Debug: SMTP Delivery to mail-hub.bigpond.net.au : RCPT TO:
10/10/03 14:07:42 127.0.0.2 0000001318 Debug: SMTP Delivery to mail-hub.bigpond.net.au : 250 ok
10/10/03 14:07:42 127.0.0.2 0000001318 Debug: SMTP Delivery to mail-hub.bigpond.net.au : DATA
10/10/03 14:07:42 127.0.0.2 0000001318 Debug: SMTP Delivery to mail-hub.bigpond.net.au : 354 start mail input; end with .
10/10/03 14:07:42 127.0.0.2 0000001318 Debug: SMTP Delivery to mail-hub.bigpond.net.au : 250 ok
10/10/03 14:07:42 127.0.0.2 0000001318 Requested: SMTP Delivery to mail-hub.bigpond.net.au : Mail from xxxxxx@student.mq.edu.au to xxxxxx@aol.com sent
10/10/03 14:07:44 127.0.0.2 0000001318 Debug: SMTP Delivery to mail-hub.bigpond.net.au : QUIT
10/10/03 14:07:44 127.0.0.2 0000001318 Debug: SMTP Delivery to mail-hub.bigpond.net.au : 221 bigpond.net.au goodbye
Regards,
Mark