| |||||||||||||||||||||||||||||||
|
Looking on the list I saw that I was not the only user missing the capacity to get the full list of recipients of a mail to the access policy daemon. I explain why I think it is a good idea, and why I need this feature, with a patch to Postfix 2.5-20070531-tls-nonprod at: http://thomas.mangin.com/#tag:link_postfix_all_recipients The code is really simple and should really not cause any issue, but better safe than sorry - it only received proof-of-concept testing. It add a a new entry to the struct SMTPD_STATE for the new string, append each email seen when the RCPT command is called and clear it on RSET. The protocol gets a new key "recipients" containing a colon separated list of all the recipients of the mail. The only issue I could think of would be if the structure should not be modified (I can not see any reason for it but can not say either way after a few hours coding). I would appreciate a peer review of the patch and if correct would appreciate it if someone would consider merging it upstream. Regards, Thomas -- Exa Networks Limited - UK - AS30740 - www.exa-networks.co.uk nic-handle : MANG-RIPE Website : thomas.mangin.com GPG key ID : 0xFB8B81A1 Office # : +44 (0) 845 145 1234
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com