On Mon, Jul 21, 2003 at 11:41:38AM -0500, Dallas L. Engelken wrote:
> ...
> if ($length < $MAXBYTES) { # call spamc }
> else { # skip spamc }
> 
> i pass -s $length and not -s $MAXBYTES to my spamc call so my STDIN
> buffer size changes depending on msg size, this saves a little bit of
> additional overhead.
> 

replacing spamc with some perl module acting as a SPAMD client is 
another option. I guess if will take less than 50 lines of code :
see for instance the code proposed to add spamd in MIMEDefang :
http://lists.roaringpenguin.com/pipermail/mimedefang/2003-June/006273.html
(spamd_check sub)

Regards, 

SL/
---
Stephane Lentz 
Alcanet International, Internet Services


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to