On 2015.12.22 03:39, Sam Varshavchik wrote: > Ángel González writes: > >> Hello all >> >> I would sometimes like to know the recipient a message was originally >> addressed to, aka. the address provided in the RCPT TO: >> >> However, both the final email and the mail log provide the recipient >> after address rewriting and alias expansion. Which means the original >> recipient is not available anymore. >> >> Could this orcpt be stored "somewhere"? >> >> The Received line would be an unobstrusive place to put it (written in >> submit.C:getrcpts(), where it's available), at least for single- >> recipient mails. But just a line at mail.log would work, too. > > What do you propose to do with a message that has two, three, or a > hundred RCPT TO: recipients?
There is always single RCPT TO: address which triggered particular delivery (I'm not sure what happens when several RCPT TO: point to the save mailbox). This is what log_aliases pythonfilter module does. I think Ángel wants this. -- Aidas Kasparas IT administrator GM Consult Group, UAB +370 686 08473 http://www.gmc.lt ------------------------------------------------------------------------------ _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
