I'd like to be able to feed email messages to the spamc/spamd 
pair (or just spamd, if that will work).  Right now, I'm just spawning
an instance of  'spamassassin -P'  for each email.  

I'm doing this because I have to process the messages AFTER they hit
the POP mailbox, not during transit to the mailbox.  But, spawning SA 
on each item I find in the mailbox is very CPU-intensive.  And I may 
have multiple spawns running at the same time.

Has anyone implemented a version of SA by feeding messages to
spamc/spamd via a Perl script, and returning just the return code to
the script, instead of outputing the email message (with SA headers)?

I don't care why a message is flagged as spam, I just need to know
IF it was flagged as such.

Much thanks in advance!

JK






-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to