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:Re: Patch to pas all the recipients of a mail to the access policy deamon
Group:Postfix-users
From:Thomas Mangin
Date:26 Nov 2007


 
Dear Wietse,

> This code leaks up to var_line_limit bytes for every recipient.
>
Thank you very much for the code review. I agree with your statement and
have updated the patch on my site.

mystrdup does indeed an allocation which is not freed and unnecessary as
the vstring is taking care of the allocation. The call was left as the
pointer was initially a char* - which can be summarised with : me bad,
no excuse !

I have not run any test on this new patch and only replaced my local
machine /usr/lib/postifx/smtpd and send mails to a few recipients with
the previous to check if there could be any other problems. I intend to
perform some testing of the border case as soon as humanly possible -
meaning most likely the first week of December due to my current work
commitments.

Thank you for your help.

Thomas


© 2004-2008 readlist.com