Michel S?bastien: > >> Hi all. > >> I use LMTP transport to deliver mails into Cyrus and when asking > >> DSN success I got an action "relayed". > > > Besides final delivery, LMTP is also used to deliver mail into > > content filters. The advantage of LMTP is that the protocol reports > > one end-of-message status for each recipient. > I didn't kown this usage > > > > - If the LMTP server announces DSN support then we know for sure > > that it is not doing final delivery. > > > - If the LMTP server does not announce DSN support, then either it > > does final delivery, or it is poorly-implemented content filter. > > > In terms of code, this would look like: > thanks, I tested successfully this approach, see below the resulting patch :
Thanks. The code looks clean. Wietse