John Von Essen on 21 Oct 2005 18:00:14 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Thunderbird and Spamassassin


This might be off-topic, but I have had wonderfull success with MIMEDefang
Milter in Sendmail to call SpamAssassin (and other) utility. No need for
procmail because it is site-wide, anything going through MTA gets
filtered. Customization is easy because main config for MIMEDefang is
Perl.

Performance is very good too. I have one box that processes 1-2 emails per
second continously all day - and its barely breaking a sweat. MIMEDefang
doesn't use spamc, rather, it loads the SpamAssassin perl module directly
into slave perl threads that sit around waiting for work.

www.mimedefang.org

-john

On Fri, 21 Oct 2005, Michael C. Toren wrote:

> On Fri, Oct 21, 2005 at 12:11:53PM -0400, Ron Mansolino wrote:
> > I tried using fetchmail, but it would download mail faster than spamd could
> > deal with and I couldn't figure out how to tweak it.
> >
> > Any suggestions? <g>
>
> Back when my primary MX was a much slower system that it is today, I
> wrote my procmail recipe such that it first had to acquire a lockfile
> before filtering messages through spamassassin.  This guaranteed that
> only one spamassassin process (per-user) would be running at a time:
>
> 	:0 fw:spamassassin.lock
> 	* !^From: MAILER-DAEMON
> 	* !^TOpostmaster@netisland.net
> 	* < 2000000
> 	| nice -20 spamassassin -L
>
> This ofcourse will only work for you if you're using procmail as your
> mail delivery agent with fetchmail.
>
> -mct
>
> --
> perl -e'$u="\4\5\6";sub H{8*($_[1]%79)+($_[0]%8)}sub G{vec$u,H(@_),1}sub S{vec
> ($n,H(@_),1)=$_[2]}$_=q^{P`clear`;for$iX){PG($iY)?"O":" "forX8);P"\n"}for$iX){
> forX8){$c=scalar grep{G@$_}[$i-1Y-1Z-1YZ-1Y+1ZY-1ZY+1Z+1Y-1Z+1YZ+1Y+1];S$iY,G(
> $iY)?$c=~/[23]/?1:0:$c==3?1:0}}$u=$n;select$M,$C,$T,.2;redo}^;s/Z/],[\$i/g;s/Y
> /,\$_/xg;s/X/(0..7/g;s/P/print+/g;eval' #     Michael C. Toren <mct@toren.net>
>
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
>
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug