Re: Re: Upgrade... + other (perl?) problems [solved]
[EMAIL PROTECTED] writes: Am 16.03.2005 um 08:55 Uhr haben Sie geschrieben: Am 16.03.2005 um 00:31 Uhr haben Sie geschrieben: On Wed, Mar 16, 2005 at 12:27:28AM +0100, [EMAIL PROTECTED] wrote: Are there problems with mail header identification? Am I in the wrong list with this question? Mar 13 01:16:18 ns spamd[28893]: processing message [EMAIL PROTECTED] for web321p1:104. Mar 13 01:16:20 ns spamd[28893]: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/NoMailAudit.pm line 184. I'm guessing you upgraded to 3.x but are using the 2.x spamassassin/spamd. NoMailAudit doesn't exist in 3.x. /var/log/mail tells me spamd[960]: server started on port 783/tcp (running version 3.0.2) :~# spamc -V SpamAssassin Client version 3.0.2 I did my upgrade via CPAN. What did go wrong? Are old modules the reason my spam does not get marked as spam ? I would say so -- I'm surprised anything is working if NoMailAudit is being used. I did a ~:$ cp /usr/bin/spamd /us/sbin/spamd an now everything works fine :-) Lars Dierich
Re: Re: Re: Upgrade... + other (perl?) problems
Am 16.03.2005 um 00:31 Uhr haben Sie geschrieben: On Wed, Mar 16, 2005 at 12:27:28AM +0100, [EMAIL PROTECTED] wrote: Are there problems with mail header identification? Am I in the wrong list with this question? Mar 13 01:16:18 ns spamd[28893]: processing message [EMAIL PROTECTED] for web321p1:104. Mar 13 01:16:20 ns spamd[28893]: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/NoMailAudit.pm line 184. I'm guessing you upgraded to 3.x but are using the 2.x spamassassin/spamd. NoMailAudit doesn't exist in 3.x. /var/log/mail tells me spamd[960]: server started on port 783/tcp (running version 3.0.2) :~# spamc -V SpamAssassin Client version 3.0.2 I did my upgrade via CPAN. What did go wrong?
Re: Re: Re: Re: Upgrade... + other (perl?) problems
Am 16.03.2005 um 08:55 Uhr haben Sie geschrieben: Am 16.03.2005 um 00:31 Uhr haben Sie geschrieben: On Wed, Mar 16, 2005 at 12:27:28AM +0100, [EMAIL PROTECTED] wrote: Are there problems with mail header identification? Am I in the wrong list with this question? Mar 13 01:16:18 ns spamd[28893]: processing message [EMAIL PROTECTED] for web321p1:104. Mar 13 01:16:20 ns spamd[28893]: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/NoMailAudit.pm line 184. I'm guessing you upgraded to 3.x but are using the 2.x spamassassin/spamd. NoMailAudit doesn't exist in 3.x. /var/log/mail tells me spamd[960]: server started on port 783/tcp (running version 3.0.2) :~# spamc -V SpamAssassin Client version 3.0.2 I did my upgrade via CPAN. What did go wrong? Are old modules the reason my spam does not get marked as spam ? Lars Dierich
Re: Upgrade... + other (perl?) problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] writes: Am 16.03.2005 um 08:55 Uhr haben Sie geschrieben: Am 16.03.2005 um 00:31 Uhr haben Sie geschrieben: On Wed, Mar 16, 2005 at 12:27:28AM +0100, [EMAIL PROTECTED] wrote: Are there problems with mail header identification? Am I in the wrong list with this question? Mar 13 01:16:18 ns spamd[28893]: processing message [EMAIL PROTECTED] for web321p1:104. Mar 13 01:16:20 ns spamd[28893]: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/NoMailAudit.pm line 184. I'm guessing you upgraded to 3.x but are using the 2.x spamassassin/spamd. NoMailAudit doesn't exist in 3.x. /var/log/mail tells me spamd[960]: server started on port 783/tcp (running version 3.0.2) :~# spamc -V SpamAssassin Client version 3.0.2 I did my upgrade via CPAN. What did go wrong? Are old modules the reason my spam does not get marked as spam ? I would say so -- I'm surprised anything is working if NoMailAudit is being used. - --j. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Exmh CVS iD8DBQFCOIHeMJF5cimLx9ARAjCyAJ0VPUlAhiT0OY/aCfarRL0TRtkIdQCfeU7f fat6LlqYi53mJDGbZztdgpo= =T2CQ -END PGP SIGNATURE-
Re: Re: Upgrade... + other (perl?) problems
Are there problems with mail header identification? Am I in the wrong list with this question? Thanks Lars Dierich Mar 13 01:16:18 ns spamd[28893]: processing message [EMAIL PROTECTED] for web321p1:104. Mar 13 01:16:20 ns spamd[28893]: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/NoMailAudit.pm line 184. This is line 184 of NoMailAudit.pm (one line) my(@ret) = $self-{headers_pristine} =~ /^(?:$hdr:[ ]+(.*\n(?:\s+\S.*\n)*))/mig; Mar 13 01:16:20 ns spamd[28893]: Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/PerMsgStatus.pm line 875. this is line 875 of PerMsgStatus.pm my(@pristine_headers) = grep(!/^X-Spam-(?!Prev-)/i, $self-{msg}-get_pristine_header() =~ /^([^:]+:[ \t]*(?:.*\n(?:\s+\S.*\n)*))/mig);
Re: Upgrade... + other (perl?) problems
I upgraded from 2.64 to 3.0.2 via CPAN with no problems. Yes, I read http://spamassassin.apache.org/full/3.0.x/dist/UPGRADE und did change my local.cf. 1) Now Mail don't get tagged as spam == /va/log/mail Mar 14 12:34:33 ns spamd[27959]: connection from localhost.localdomain [127.0.0.1] at port 43500 Mar 14 12:34:33 ns spamd[26710]: processing message [EMAIL PROTECTED] for web321p1:104. Mar 14 12:34:35 ns spamd[26710]: identified spam (11.2/5.0) for web321p1:104 in 2.0 seconds, 2403 bytes. But procmail cant't filter anything because there are no X-SPAM-Headers in the mail. var/log/procmail: From [EMAIL PROTECTED] Mon Mar 14 12:34:33 2005 Subject: Approved mortage rate Folder: /var/spool/mail/web321p1 2) wired logfile entries Mar 13 01:16:18 ns spamd[28893]: processing message [EMAIL PROTECTED] for web321p1:104. Mar 13 01:16:20 ns spamd[28893]: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/NoMailAudit.pm line 184. Mar 13 01:16:20 ns spamd[28893]: Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/PerMsgStatus.pm line 875. Mar 13 01:16:20 ns spamd[28893]: clean message (4.6/5.0) for web321p1:104 in 1.7 seconds, 4293 bytes. This does not happen with every message. Any suggestions? Am 14.03.2005 um 05:12 Uhr haben Sie geschrieben: I upgraded to 3.02 and everything is working fine except for one thing... I always put spam from all users into the /var/mail directory with the following lines in procmailrc :0: * ^X-Spam-Level: \*\*\*\*\*\*\*\*\* /var/mail/spam After reading the new doc, I also added this line to the top of procmailrc... DROPPRIVS=yes