On Thu, Nov 12, 2009 at 05:58:01PM +0100, St?phane MERLE wrote: > Victor Duchovni a ?crit : >> On Thu, Nov 12, 2009 at 11:30:51AM +0100, St?phane MERLE wrote: >> >> >>> But then, what status get and email retried without success until the end >>> ? >> >> 2009-11-12T10:59:32-0500 amnesiac postfix/qmgr[1706]: A323688C523: >> from=<jlu...@example.com>, size=385848, nrcpt=50 (queue active) >> >> 2009-11-12T10:59:33-0500 amnesiac postfix/smtp[24820]: A323688C523: >> to=<undelivera...@example.net>, relay=none, delay=435330, >> delays=435328/0/1.4/0, dsn=4.4.3, status=deferred >> (Host or domain name not found. Name service error for >> name=example.net >> type=MX: Host not found, try again) >> >> 2009-11-12T10:59:33-0500 amnesiac postfix/qmgr[1706]: A323688C523: >> from=<jlu...@example.com>, status=expired, returned to sender > > I have no line in my logs with the "expired" status ... that would have > solved my problem ....
Note, this is logged by qmgr(8) not the smtp(8) delivery agent, perhaps you are looking in the wrong log entries. If the message is (still) in the deferred queue, it has not "expired" yet. >> 2009-11-12T10:59:33-0500 amnesiac postfix/cleanup[31947]: 71FDF88C221: >> message-id=<20091112155933.71fdf88c...@amnesiac.example.com> >> >> 2009-11-12T10:59:33-0500 amnesiac postfix/qmgr[1706]: 71FDF88C221: >> from=<>, size=4063, nrcpt=1 (queue active) >> >> 2009-11-12T10:59:33-0500 amnesiac postfix/bounce[32403]: A323688C523: >> sender non-delivery notification: 71FDF88C221 The bounce(8) daemon (in reasonably recent Postfix releases) logs the connection between the original queue-id and the bounce queue-id. >> 2009-11-12T10:59:33-0500 amnesiac postfix/qmgr[1706]: A323688C523: >> removed >> >> 2009-11-12T10:59:33-0500 amnesiac postfix/smtp[29704]: 71FDF88C221: >> to=<jlu...@example.com>, relay=mail.example.com[192.168.0.1]:25, >> delay=0.15, delays=0.01/0/0.03/0.12, dsn=2.6.0, status=sent >> (250 2.6.0 <20091112155933.71fdf88c...@amnesiac.example.com> >> Queued mail for delivery) > > I don't get what this previous log is ... the mail is now sent but the > lines before it, it was expired .... (and it doesnt look like the > notification mail, as it got the same "to"). This logs the delivery of a bounce message that is "returned to the sender". >> 2009-11-12T10:59:33-0500 amnesiac postfix/qmgr[1706]: 71FDF88C221: >> removed The original message can be removed, once the bounce message is queued (and in some cases already delivered). -- 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:majord...@postfix.org?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.