>>>>> "MP" == Max Paperno <[EMAIL PROTECTED]> writes:

MP> Comments welcome.  Disclaimer: I'm no Perl expert so if there is
MP> something glaringly wrong, please let me know.  I do know that
MP> it's been working very well here for over a month scanning up to
MP> several K messages per day.

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.

If you fix that problem (involves redoing the
Net::SMTP::Server::Client interface a bit), you should be pretty safe,
and the script looks otherwise good to me.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: [EMAIL PROTECTED]       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

_______________________________________________________________

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