Thanks for your comments Vivek.

>Looking at the code, it seems to use Net::SMTP::Server::Client to read
>the message, then process it.  You can lose your mail this way if your
>program or postfix dies between the time postfix hands it to your
>program and your program hands it back to postfix.  The only safe way
>to do this filtering is to hold the inbound connection open until
>postfix has acknowledged the re-injection, then close the first
>connection.

Yea, this is actually listed as a bug in the docs, and on the todo 
list.  Not sure if the best approach will be to hack 
Net::SMTP::Server::Client or just replicate the functionality in the spampd 
script itself.

Cheers,
-Max


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to