2 msghash table not matching subdomains
18 msgNon-delivery problem
3 msgtracing mail
5 msgdifferent SMTP ip sender in one instance of pos...
18 msgThree Postfix Errors
10 msgConditional relay to a barracuda spam filter
2 msgPostfix as honeypot
3 msgpostqueue -p

Patch to pas all the recipients of a mail to th...
\ Thomas Mangin (16 Nov 2007)
. \ Noel Jones (16 Nov 2007)
. . \ Thomas Mangin (16 Nov 2007)
. \ (Wietse Venema) (16 Nov 2007)
. . \ Thomas Mangin (16 Nov 2007)
. . . \ (Wietse Venema) (16 Nov 2007)
. . . . \ Thomas Mangin (16 Nov 2007)
. . . . . \ (Wietse Venema) (17 Nov 2007)
. . . . . . \ Thomas Mangin (17 Nov 2007)
. . . . . . . \ (Wietse Venema) (17 Nov 2007)
. . \ Michael Tokarev (19 Nov 2007)
. . . \ Victor Duchovni (19 Nov 2007)
. . . \ (Wietse Venema) (19 Nov 2007)
. . . \ Thomas Mangin (21 Nov 2007)
. . . . \ Thomas Mangin (22 Nov 2007)
. . . . . \ (Wietse Venema) (22 Nov 2007)
. . . . . . \ Thomas Mangin (26 Nov 2007)

5 msgPostfix DBD Help
4 msgSend and receive mail on different ports?
3 msgpostfix behind a router
1 msgpostfix to access mail from external host.
4 msgThree installation/configuration issues
9 msgReject SMTP connection if two RBL match
3 msgHolding Large Emails
9 msgMonitor Relaying
7 msgSender address rejected when sending messages t...
1 msgProblem using Postfix with LDAP using STARTTLS
7 msgresources for 'only virtual domains'
Subject:Patch to pas all the recipients of a mail to the access policy deamon
Group:Postfix-users
From:Thomas Mangin
Date:16 Nov 2007


 
Hello,

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