You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Thomas Richter <ri...@thomas-richter.de> on 2004/09/23 14:21:43 UTC

SA 3.0 bugs ?

hi,
I got only clean messages with -1.1
and in /var/log/messages from spamd:
  Use of uninitialized value in concatenation (.) or string at 
    /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/NoMailAudit.pm line 184. 
  Use of uninitialized value in pattern match (m//) at 
    /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/PerMsgStatus.pm line 875. 

wkr Thomas Richter

-- 
dss1://49.431.801306      Wot're we going to do tonight, Brain ?
gsm://49.179.5192431   The same thing we do every night, Pinky .
icq://124849926                     Try to TAKE OVER THE WORLD !
mailto:richter@thomas-richter.de    http://www.thomas-richter.de

Re: SA 3.0 bugs ? no header rewriting (SOLUTION)

Posted by Thomas Richter <ri...@thomas-richter.de>.
Hi Thomas Richter <ri...@thomas-richter.de>,
you wrote on Friday, 2004-09-24 08:49:31 +0200:
> Hi Theo Van Dinter <fe...@kluge.net>,
> you wrote on Thursday, 2004-09-23 17:00:08 -0400:
> > NoMailAudit doesn't exist in 3.0.  It looks like you're using old modules
> > and/or old scripts.
> > 
> > Nuke anything spamassassin related, then install 3.0.0.
>  
> I renamed ~/.spamassassin/user_prefs and /etc/mail/spamassassin/local.cf
> but is doen't work. 

See other posting and do:

whereis spamd
rm /usr/sbin/spamd
ln -s /usr/bin/spamd /usr/sbin/spamd

For SuSE:
correct in /usr/sbin/rcspamd: SPAMD_BIN
edit /etc/sysconfig/spamd: remove --auto-whitelist

wkr Thomas Richter

-- 
dss1://49.431.801306      Wot're we going to do tonight, Brain ?
gsm://49.179.5192431   The same thing we do every night, Pinky .
icq://124849926                     Try to TAKE OVER THE WORLD !
mailto:richter@thomas-richter.de    http://www.thomas-richter.de

Re: SA 3.0 bugs ? no header rewriting

Posted by Thomas Richter <ri...@thomas-richter.de>.
Hi Theo Van Dinter <fe...@kluge.net>,
you wrote on Thursday, 2004-09-23 17:00:08 -0400:
> NoMailAudit doesn't exist in 3.0.  It looks like you're using old modules
> and/or old scripts.
> 
> Nuke anything spamassassin related, then install 3.0.0.
 
I renamed ~/.spamassassin/user_prefs and /etc/mail/spamassassin/local.cf
but is doen't work. 

wkr Thomas Richter

-- 
dss1://49.431.801306      Wot're we going to do tonight, Brain ?
gsm://49.179.5192431   The same thing we do every night, Pinky .
icq://124849926                     Try to TAKE OVER THE WORLD !
mailto:richter@thomas-richter.de    http://www.thomas-richter.de

Re: SA 3.0 bugs ?

Posted by Theo Van Dinter <fe...@kluge.net>.
On Thu, Sep 23, 2004 at 02:21:43PM +0200, Thomas Richter wrote:
> I got only clean messages with -1.1
> and in /var/log/messages from spamd:
>   Use of uninitialized value in concatenation (.) or string at 
>     /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/NoMailAudit.pm line 184. 
>   Use of uninitialized value in pattern match (m//) at 
>     /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/PerMsgStatus.pm line 875. 

NoMailAudit doesn't exist in 3.0.  It looks like you're using old modules
and/or old scripts.

Nuke anything spamassassin related, then install 3.0.0.

-- 
Randomly Generated Tagline:
"These commercials are all shot in Sweden... because American actors
 would not participate in such crap."
         - Craig Ferguson, I Love the 90's, "1996"
           talking about "Mentos" commercials

Re: SA 3.0 bugs ?

Posted by Anthony Edwards <an...@uk.easynet.net>.
On Thu, Sep 23, 2004 at 01:51:54PM +0100, Anthony Edwards wrote:

> I have also been unable to persuade spamd to add spamassassin headers,
> as per my posting of last night to the list.  Running spamassassin, in
> contrast, seems to work properly (which seems to rule out it being a
> local configuration issue?).

I have just stopped spamd, removed ~/.spamassasin completely, and
removed all instances of local* in /etc/mail/spamassassin so that no
old configuration files from the previous version (2.64) could be
affecting things.

Next, I restarted spamd, and fetched some mail with spamc being called
by .mailfilter (maildrop configuration file) as normal.  An example
of the result (from /var/log/mail.info):

Sep 23 13:58:29 ultra spamd[8586]: processing message
<LR...@msn.com> for anthony:500. 
Sep 23 13:58:30 ultra spamd[8574]: identified spam (12.4/5.0) for
anthony:500 in 3.9 seconds, 15975 bytes. 
Sep 23 13:58:30 ultra postfix/local[8331]: 7BB7033DD6:
to=<an...@localhost.manch.office.easynet.net>,
orig_to=<an...@localhost>, relay=local, delay=44, status=sent
("|/usr/local/bin/maildrop")

spamd apparently identified the mail as spam, with a score of 12.4.
However, no spamassasin headers were added, and as a result my
.mailfilter line:

if (/^X-Spam-Flag: YES/)
       to Mail/junk

Had no effect (of course), and the mail was delivered by maildrop to the
default mailbox.

-- 
Anthony Edwards
anthony.edwards@uk.easynet.net

Re: SA 3.0 bugs ?

Posted by Anthony Edwards <an...@uk.easynet.net>.
On Thu, Sep 23, 2004 at 02:21:43PM +0200, Thomas Richter wrote:
> hi,
> I got only clean messages with -1.1
> and in /var/log/messages from spamd:
>   Use of uninitialized value in concatenation (.) or string at 
>     /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/NoMailAudit.pm line 184. 
>   Use of uninitialized value in pattern match (m//) at 
>     /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/PerMsgStatus.pm line 875. 
I am getting similar results in testing:

anthony@ultra:~/software/Mail-SpamAssassin-3.0.0> spamc < sample-nonspam.txt 
> nonspam.out
anthony@ultra:~/software/Mail-SpamAssassin-3.0.0> spamc < sample-spam.txt 
> spam.out

ultra:/var/log # tail -n 200 mail.info
[...]
Sep 23 12:07:28 ultra spamd[7939]: processing message
<v0421010eb70653b14e06@[208.192.102.193]> for anthony:500. 
Sep 23 12:07:29 ultra spamd[7939]: Use of uninitialized value in
concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/NoMailAudit.pm line
184. 
Sep 23 12:07:29 ultra spamd[7939]: Use of uninitialized value in pattern
match (m//) at
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line
875. 
Sep 23 12:07:29 ultra spamd[7939]: clean message (-2.6/5.0) for
anthony:500 in 1.0 seconds, 6494 bytes. 
Sep 23 12:07:45 ultra spamd[7935]: connection from localhost [127.0.0.1]
at port 1485 
Sep 23 12:07:45 ultra spamd[7943]: info: setuid to anthony succeeded 
Sep 23 12:07:45 ultra spamd[7943]: processing message
<GT...@example.net> for anthony:500. 
Sep 23 12:07:45 ultra spamd[7943]: Use of uninitialized value in
concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/NoMailAudit.pm line
184. 
Sep 23 12:07:45 ultra spamd[7943]: Use of uninitialized value in pattern
match (m//) at
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line
875. 
Sep 23 12:07:45 ultra spamd[7943]: clean message (-4.5/5.0) for
anthony:500 in 0.4 seconds, 799 bytes. 

I have also been unable to persuade spamd to add spamassassin headers,
as per my posting of last night to the list.  Running spamassassin, in
contrast, seems to work properly (which seems to rule out it being a
local configuration issue?).

-- 
Anthony Edwards
anthony.edwards@uk.easynet.net