There was some networking work performed that broke my outbound email flow due 
to an unexpected IP address change.  Email queued up during the equipment 
install as expected with dsn=4.7.5 or dsn=4.0.0 codes.  Two days later one of 
our external vendors returned a dsn=5.7.1 which caused Postfix to remove the 
email from the queue since this is not a temporary error.  From my reading of 
the documentation everything is working as designed.  Am I overlooking a 
setting or options to modify this behavior so email will stay queued even when 
we receive a permanent error so that we do not lose mail again if something 
similar happens?

Config:
# postconf maximal_queue_lifetime
maximal_queue_lifetime = 5d

Select Log Entries/Comments
Sep 18 12:22 Email arrives from internal server and queued on internet facing 
server that routes through gateway which is not available due to network 
shenigans.
Sep 18 12:22:38 mta postfix/error[1641421]: 63AD7200269B: 
to=<xxx-redacted-...@xxx-redacted-xxx.com>, relay=none, delay=0.06, 
delays=0.05/0/0/0, dsn=4.7.5, status=deferred (delivery temporarily suspended: 
Cannot start TLS: handshake failure)
Sep 18 Same message repeats all day
Sep 19 Same message repeats all day
Sep 19 Same message repeats until 10AM
Sep 20 10:00:01 mta postfix/error[1861496]: 63AD7200269B: 
to=<xxx-redac...@xxx-redacted-xxx.com>, relay=none, delay=164243, 
delays=164243/0.05/0/0.02, dsn=4.0.0, status=deferred (delivery temporarily 
suspended: host xxx-redacted-xxx.com[111.222.333.444] refused to talk to me: 
421 xxx-redacted-xxx.com closing connection)
Sep 20 Same message repeats until 11:10AM
Sep 20 11:10:04 mta postfix/smtp[1867039]: 63AD7200269B: 
to=<xxx-redac...@xxx-redacted.com>, relay=xxx-redacted[111.222.333.444]:25, 
delay=168446, delays=168444/2/0.65/0.05, dsn=5.7.1, status=bounced (host 
xxx-redacted.com[111.222.333.444] said: 550 5.7.1 Relaying denied (in reply to 
RCPT TO command))
Sep 20 11:10:05 mta postfix/qmgr[1811745]: 63AD7200269B: removed

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to