View previous topic :: View next topic |
Author |
Message |
ChrisCol n00b
Joined: 15 Nov 2003 Posts: 49
|
Posted: Sat Jan 22, 2005 10:37 pm Post subject: amavisd - wrong spamassassin version |
|
|
Hi,
When amavisd is started, it does not filter any spam. Closer investigation using:
shows this:
Code: | Jan 22 22:20:18 gateway amavisd[16001]: No primary av scanner: Ikarus AntiVirus for Linux
Jan 22 22:20:18 gateway amavisd[16001]: No primary av scanner: BitDefender
Jan 22 22:20:18 gateway amavisd[16001]: Found secondary av scanner Clam Antivirus - clamscan at /usr/bin/clamscan
Jan 22 22:20:18 gateway amavisd[16001]: No secondary av scanner: FRISK F-Prot Antivirus
Jan 22 22:20:18 gateway amavisd[16001]: No secondary av scanner: Trend Micro FileScanner
Jan 22 22:20:18 gateway amavisd[16001]: No secondary av scanner: KasperskyLab kavscanner
Jan 22 22:20:18 gateway amavisd[16001]: SpamControl: initializing Mail::SpamAssassin
configuration file "/usr/share/spamassassin/20_body_tests.cf" requires version 2.64 of SpamAssassin, but this is code version 3.000001. Maybe you need to use the -Cmove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 329.
configuration file "/usr/share/spamassassin/20_compensate.cf" requires version 2.64 of SpamAssassin, but this is code version 3.000001. Maybe you need to use the -Cmove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 329.
configuration file "/usr/share/spamassassin/20_dnsbl_tests.cf" requires version 2.64 of SpamAssassin, but this is code version 3.000001. Maybe you need to use the -emove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 329.
configuration file "/usr/share/spamassassin/20_fake_helo_tests.cf" requires version 2.64 of SpamAssassin, but this is code version 3.000001. Maybe you need to use tor remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 329.
configuration file "/usr/share/spamassassin/20_head_tests.cf" requires version 2.64 of SpamAssassin, but this is code version 3.000001. Maybe you need to use the -Cmove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 329.
configuration file "/usr/share/spamassassin/20_html_tests.cf" requires version 2.64 of SpamAssassin, but this is code version 3.000001. Maybe you need to use the -Cmove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 329.
configuration file "/usr/share/spamassassin/20_meta_tests.cf" requires version 2.64 of SpamAssassin, but this is code version 3.000001. Maybe you need to use the -Cmove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 329.
configuration file "/usr/share/spamassassin/20_phrases.cf" requires version 2.64 of SpamAssassin, but this is code version 3.000001. Maybe you need to use the -C swe the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 329.
configuration file "/usr/share/spamassassin/20_porn.cf" requires version 2.64 of SpamAssassin, but this is code version 3.000001. Maybe you need to use the -C switche old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 329.
invalid regexp for rule __THEBAT_MUA_V1: X-Mailer =~ /^\QThe Bat! (v1.\E/
invalid regexp for rule __THEBAT_MUA_V2: X-Mailer =~ /^\QThe Bat! (v2.\E/
configuration file "/usr/share/spamassassin/20_uri_tests.cf" requires version 2.64 of SpamAssassin, but this is code version 3.000001. Maybe you need to use the -Cove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 329.
configuration file "/usr/share/spamassassin/23_bayes.cf" requires version 2.64 of SpamAssassin, but this is code version 3.000001. Maybe you need to use the -C switthe old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 329.
Jan 22 22:20:19 gateway amavisd[16001]: SpamControl: done
Jan 22 22:20:19 gateway amavisd[16001]: Net::Server: Beginning prefork (2 processes)
Jan 22 22:20:19 gateway amavisd[16001]: Net::Server: Starting "2" children
Jan 22 22:20:19 gateway amavisd[16005]: Net::Server: Child Preforked (16005)
Jan 22 22:20:19 gateway amavisd[16007]: Net::Server: Child Preforked (16007)
Jan 22 22:20:19 gateway amavisd[16001]: Net::Server: Parent ready for children.
|
So it appears that spamassassin is the wrong version, so I checked this with:
Code: | root@gateway root # spamassassin -V
SpamAssassin version 2.64 |
And it seems that it is the correct version after all. Googling around hasn't helped much, and have run out of ideas...
Any help would be much appreciated as this is the final step in making my mail server fully functional.
Cheers
Chris |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Sat Jan 22, 2005 10:55 pm Post subject: |
|
|
f you read more carefully it tells you that it is code version 3.00.
This refers to the Mail::Spamassassin perl module, not the spamassassin package... _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
ChrisCol n00b
Joined: 15 Nov 2003 Posts: 49
|
Posted: Sun Jan 23, 2005 9:27 am Post subject: |
|
|
Ok.
Apologies for being dumb... but how does that help me solve the problem?
Cheers
Chris |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Sun Jan 23, 2005 12:55 pm Post subject: |
|
|
Well... if you do a
Code: | emerge -pv Mail::SpamAssassin
emerge -pv spamassassin |
it should tell you which versions it wants to (re)install and which ones are now installed.
Then you can force the installation of the versions you want.
Read the Portage Manual for how. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
derheld42 Tux's lil' helper
Joined: 31 Mar 2003 Posts: 97 Location: Washington, US
|
Posted: Wed Jan 04, 2006 6:11 am Post subject: |
|
|
I still see this problem with spamassassin 3.1.0
Quote: | advocate qmail-scanner-1.25 # spamassassin < /tmp/spam
[22513] warn: config: configuration file "/etc/mail/spamassassin/20_body_tests.cf" requires version 2.64 of SpamAssassin, but this is code version 3.001000. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line 342.
[22513] warn: config: configuration file "/etc/mail/spamassassin/20_compensate.cf" requires version 2.64 of SpamAssassin, but this is code version 3.001000. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line 342.
[22513] warn: config: configuration file "/etc/mail/spamassassin/20_dnsbl_tests.cf" requires version 2.64 of SpamAssassin, but this is code version 3.001000. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line 342.
[22513] warn: config: configuration file "/etc/mail/spamassassin/20_fake_helo_tests.cf" requires version 2.64 of SpamAssassin, but this is code version 3.001000. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line 342.
[22513] warn: config: configuration file "/etc/mail/spamassassin/20_head_tests.cf" requires version 2.64 of SpamAssassin, but this is code version 3.001000. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line 342.
[22513] warn: config: configuration file "/etc/mail/spamassassin/20_html_tests.cf" requires version 2.64 of SpamAssassin, but this is code version 3.001000. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line 342.
[22513] warn: config: configuration file "/etc/mail/spamassassin/20_meta_tests.cf" requires version 2.64 of SpamAssassin, but this is code version 3.001000. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line 342.
[22513] warn: config: configuration file "/etc/mail/spamassassin/20_phrases.cf" requires version 2.64 of SpamAssassin, but this is code version 3.001000. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line 342.
[22513] warn: config: configuration file "/etc/mail/spamassassin/20_porn.cf" requires version 2.64 of SpamAssassin, but this is code version 3.001000. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line 342.
[22513] warn: Unrecognized escape \Q passed through in regex; marked by <-- HERE in m/\Q <-- HERE charset(89)\E/ at /usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line 909.
[22513] warn: Unrecognized escape \E passed through in regex; marked by <-- HERE in m/\Qcharset(89)\E <-- HERE / at /usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line 909.
[22513] warn: config: invalid regexp for rule __THEBAT_MUA_V1: /^\QThe Bat! (v1.\E/: Unmatched ( in regex; marked by <-- HERE in m/^\QThe Bat! ( <-- HERE v1.\E/
[22513] warn: config: invalid regexp for rule __THEBAT_MUA_V2: /^\QThe Bat! (v2.\E/: Unmatched ( in regex; marked by <-- HERE in m/^\QThe Bat! ( <-- HERE v2.\E/
[22513] warn: config: configuration file "/etc/mail/spamassassin/20_uri_tests.cf" requires version 2.64 of SpamAssassin, but this is code version 3.001000. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line 342.
[22513] warn: config: configuration file "/etc/mail/spamassassin/23_bayes.cf" requires version 2.64 of SpamAssassin, but this is code version 3.001000. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line 342.
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.1.0-gr0 (2005-09-13) on
advocate.derheld.net
X-Spam-Level: **************************************************
X-Spam-Status: Yes, hits=1000.0 required=5.0 tests=GTUBE,NO_RECEIVED,
NO_RELAYS autolearn=no version=3.1.0-gr0
X-Spam-Report:
* -0.0 NO_RELAYS Informational: message was not relayed via SMTP
* 1000 GTUBE BODY: Generic Test for Unsolicited Bulk Email
* -0.0 NO_RECEIVED Informational: message has no Received headers
Subject: [SPAM] Test spam mail (GTUBE)
Message-ID: <GTUBE1.1010101@example.net>
Date: Wed, 23 Jul 2003 23:30:00 +0200
From: Sender <sender@example.net>
To: Recipient <recipient@example.net>
Precedence: junk
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Prev-Subject: Test spam mail (GTUBE)
This is the GTUBE, the
Generic
Test for
Unsolicited
Bulk
Email
If your spam filter supports it, the GTUBE provides a test by which you
can verify that the filter is installed correctly and is detecting incoming
spam. You can send yourself a test mail containing the following string of
characters (in upper case and with no white spaces and line breaks):
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
You should send this test mail from an account outside of your network.
|
|
|
Back to top |
|
|
derheld42 Tux's lil' helper
Joined: 31 Mar 2003 Posts: 97 Location: Washington, US
|
Posted: Wed Jan 04, 2006 6:44 am Post subject: |
|
|
Hahah... apparently the /etc/mail/spamassassin directory needs to be cleaned out... the v2.64 spamassassin configuration files are still there and shouldn't be read when spamassassin runs.
I deleted that directory and reemerged spamassassin.. I don't get those warnings.... But my spamc is still messed up.. I'm looking into it. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|