[Qmail-scanner-general]Fwd: Re: [SAtalk] SA+SQL called by Qmail-Scanner problems..
AV/content filter for Qmail
Brought to you by:
jhaar
From: Steve F. <sf...@es...> - 2003-08-29 19:54:09
|
I'm forwarding this private mail to the list, Jonas pointed me to a bug in rc2 which is easily fixed. -- Steve >From: Jonas Pasche <spa...@jo...> >To: Steve Fulton <sf...@es...> >Date: Thu, 28 Aug 2003 23:08:06 +0200 > >Hi Steve, > > > Thanks for the info. I upgraded to 1.20rc2 and the problem still > > occurs. I've looked at the code involved, but I'm not fluent enough in > > regular expressions to make a go of playing with it. I may downgrade > to 1.16. > >Aaah, I forgot. It's a simple bug in the newly introduced code. Look >into sub-spamassassin.pl; you'll find this code block: > > #Cleanup $one_recip so it's usable from the commandline... > #any char that isn't supported to changed into an '_' > ($cmdline_recip=$one_recip)=~s/[^0-9a-z\.\_\-\=\+\@]/_/gi; > $cmdline_recip=~/^([^0-9a-z\.\_\-\=\+\@]+)$/; > $cmdline_recip=tolower($1); > >Change the fourth line (remove the second circumflex) to: > > $cmdline_recip=~/^([0-9a-z\.\_\-\=\+\@]+)$/; > >Then re-configure qmail-scanner and check if it works. > >If you still have trouble, enable the debug log, and if it doesn't tell >you anything helpful, ask on the qmail-scanner list. This is no >SpamAssassin problem. > >Jonas |