Expiration log messages

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Expiration log messages

Jeff-266
What log message should I look for when a message has been deferred  
and Postfix has decided it is undeliverable? (I'm parsing the log and  
need to know how to distinguish this from an actual bounce.) Will the  
log contain a 5xx message for that mail?

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


Reply | Threaded
Open this post in threaded view
|

Re: Expiration log messages

Wietse Venema
[hidden email]:
> What log message should I look for when a message has been deferred  
> and Postfix has decided it is undeliverable? (I'm parsing the log and  
> need to know how to distinguish this from an actual bounce.) Will the  
> log contain a 5xx message for that mail?

Look at the "status=deferred" and "delay=" fields.

        Wietse
Reply | Threaded
Open this post in threaded view
|

Re: Expiration log messages

Victor Duchovni
In reply to this post by Jeff-266
On Sun, Jul 27, 2008 at 09:32:34PM -0400, [hidden email] wrote:

> What log message should I look for when a message has been deferred  
> and Postfix has decided it is undeliverable? (I'm parsing the log and  
> need to know how to distinguish this from an actual bounce.) Will the  
> log contain a 5xx message for that mail?
>

Postfix logs the actual response code from the SMTP server. If a message
is too old to be deferred (again), it logs:

    postfix/qmgr[10495]: 6ACBCD8C7A0: from=<[hidden email]>,
    status=expired, returned to sender

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[hidden email]?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.