Thank you Mr. Venema. I will "study" the bounce man page for customizing the message. Last question: is it possibile to send bounce messages derived from maxlife-in-queue-expiration to something like /dev/null :-) and not treating them as normal bounces? -Francesco
-----Messaggio originale----- Da: [email protected] [mailto:[email protected]] Per conto di Wietse Venema Inviato: mercoledì 5 ottobre 2016 01:44 A: Postfix users <[email protected]> Oggetto: Re: Identifing bounce messages whene queue lifetime is expired [email protected]: > Hi all. > I usually receive DSN messages from my postfix in the format as below. > They are sent to a script for regex analysis. > My question: is there a way to customize these "undelivered mail" > messages when thay come from emails not delivered because max lifetime > in the queue is expired? > It seems like a lifetime-expired-bounce message has the same > format/text/codes as a normal bounce for "user or domain not found". > Or is there any way to identify former messages (= lifetime-expired > ones) looking for some error codes, strings, etc. ? > Thank you very much for your help. > -Francesco The text at the beginning of a bounce message is configurable; see "man 5 bounce". The remainder of the message is formatted according to RFCs, and is therefore not configurable. Wietse --- Questa e-mail è stata controllata per individuare virus con Avast antivirus. https://www.avast.com/antivirus
