amavisd depends on spamassassin to perform bayesian and other scoring of incoming email for spam detection. However, with spamassassin 2.60+ and above, the bayesian component of the scoring appears to no longer work...0 is returned for all emails. Downgrading to spamassassin 2.55 fixes the problem. Reproducible: Always Steps to Reproduce: 1.emerge amavisd-new 2.emerge spamassassin 3.emerge and configure postfix to receive email through amavisd 4. Start amavisd, postfix - receiving incoming email 5. Notice that bayesian filtering is no longer working (grep hits /var/log/mail/current returns 0 on 90% of lines, the others are positive for other scoring techniques). 6. downgrade spamassassin to 2.55 7. restart amavisd and postfix 8. Note that good scores are now being received
bayesian scoring is working for me (at least in learning mode right now). Have you enabled it and provided the correct path in /etc/mail/spamassassin/local.cf? Here are my settings that work: max@ike ~ $ cat /etc/mail/spamassassin/local.cf bayes_path /var/lib/spamassassin/bayes Obviously, this directory needs to be created and the proper permissions be granted to the amavis user. Also, by default, spamassissin won't take bayes scores into account until it has learned from 100 each ham and spam messages. This shows that it is at least learning, so bayes is working: ike root # sa-learn --dump magic 0.000 0 2 0 non-token data: bayes db version 0.000 0 16 0 non-token data: nspam 0.000 0 7 0 non-token data: nham 0.000 0 3093 0 non-token data: ntokens 0.000 0 1065712811 0 non-token data: oldest atime 0.000 0 1067453636 0 non-token data: newest atime 0.000 0 0 0 non-token data: last journal sync atime 0.000 0 0 0 non-token data: last expiry atime 0.000 0 0 0 non-token data: last expire atime delta 0.000 0 0 0 non-token data: last expire reduction count
under spamassassin 2.55 and amavisd-new-20030616_p6: amavis@balrog amavis $ sa-learn --dump magic Unknown option: dump please specify target type with --dir, --file, or --mbox: magic SpamAssassin version 2.55 Unknown option! amavis@balrog amavis $ ls -al /var/amavis/.spamassassin/ total 8860 drwx------ 2 amavis amavis 4096 Dec 1 10:58 . drwxr-x--- 6 amavis amavis 4096 Dec 1 10:59 .. -rw------- 1 amavis amavis 12288 Dec 1 09:47 auto-whitelist -rw------- 1 amavis amavis 68934 Dec 1 10:58 bayes_journal -rw------- 1 amavis amavis 3354 Dec 1 10:58 bayes_msgcount -rw------- 1 amavis amavis 2600960 Dec 1 10:58 bayes_seen -rw------- 1 amavis amavis 9961472 Dec 1 10:58 bayes_toks -rw-r--r-- 1 amavis amavis 331 Dec 1 05:43 user_prefs amavis@balrog amavis $ amavisd debug-sa Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: starting. amavisd at balrog.private.deploylinux.net amavisd-new-20030616-p6, Unicode aware Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Perl version 5.008 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module Amavis::Conf 1.15 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module Archive::Tar 1.03 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module Archive::Zip 1.05 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module Compress::Zlib 1.22 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module Convert::TNEF 0.17 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module Convert::UUlib 0.31 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module MIME::Entity 5.404 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module MIME::Parser 5.406 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module MIME::Tools 5.411 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module Mail::Header 1.58 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module Mail::Internet 1.58 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module Mail::SpamAssassin 2.55 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module Net::Cmd 2.24 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module Net::DNS 0.40 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module Net::SMTP 2.26 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module Net::Server 0.85 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module Time::HiRes 1.5 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Module Unix::Syslog 0.99 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Found myself: /usr/sbin/amavisd -c /etc/amavisd.conf Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Lookup::SQL code NOT loaded Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Lookup::LDAP code NOT loaded Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: AMCL-in protocol code loaded Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: SMTP-in protocol code loaded Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: ANTI-VIRUS code NOT loaded Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: ANTI-SPAM code loaded Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Net::Server: 2003/12/01-11:02:12 Amavis (type Net::Server::PreForkSimple) starting! pid(15122) Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Net::Server: Binding to UNIX socket file /var/amavis/amavisd.sock using SOCK_STREAM Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Found $file at /usr/bin/file Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Found $arc at /usr/bin/arc Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Found $gzip at /bin/gzip Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Found $bzip2 at /bin/bzip2 Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: No $lzop, not using it Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Found $lha at /usr/bin/lha Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Found $unarj at /usr/bin/unarj Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Found $uncompress at /usr/bin/uncompress Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: No $unfreeze, not using it Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Found $unrar at /usr/bin/unrar Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Found $zoo at /usr/bin/zoo Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: Found $cpio at /usr/bin/cpio Dec 1 11:02:12 balrog.private.deploylinux.net amavisd[15122]: SpamControl: initializing Mail::SpamAssassin debug: Score set 0 chosen. debug: running in taint mode? no debug: ignore: test message to precompile patterns and load modules debug: using "/usr/share/spamassassin" for default rules dir debug: using "/etc/mail/spamassassin" for site rules dir debug: using "/var/amavis/.spamassassin/user_prefs" for user prefs file debug: bayes: 15122 tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_toks debug: bayes: 15122 tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_seen debug: Score set 3 chosen. debug: Initialising learner debug: running header regexp tests; score so far=0 debug: running body-text per-line regexp tests; score so far=1.5 debug: Razor2 is available debug: entering helper-app run mode Razor-Log: Computed razorhome from env: /var/amavis/.razor Razor-Log: Found razorhome: /var/amavis/.razor Razor-Log: read_file: 16 items read from /var/amavis/.razor/razor-agent.conf Dec 01 11:02:13.024244 check[15122]: [ 1] [bootup] Logging initiated LogDebugLevel=9 to stdout Dec 01 11:02:13.024548 check[15122]: [ 5] computed razorhome=/var/amavis/.razor, conf=/var/amavis/.razor/razor-agent.conf, ident=/var/amavis/.razor/identity Dec 01 11:02:13.024732 check[15122]: [ 8] Client supported_engines: 1 2 3 4 Dec 01 11:02:13.025068 check[15122]: [ 8] prep_mail done: mail 1 headers=101, mime0=1376 Dec 01 11:02:13.025329 check[15122]: [ 5] read_file: 1 items read from /var/amavis/.razor/servers.discovery.lst Dec 01 11:02:13.025574 check[15122]: [ 5] read_file: 2 items read from /var/amavis/.razor/servers.nomination.lst Dec 01 11:02:13.025849 check[15122]: [ 5] read_file: 3 items read from /var/amavis/.razor/servers.catalogue.lst Dec 01 11:02:13.026146 check[15122]: [ 9] Assigning defaults to folly.cloudmark.com Dec 01 11:02:13.026298 check[15122]: [ 9] Assigning defaults to joy.cloudmark.com Dec 01 11:02:13.026456 check[15122]: [ 9] Assigning defaults to rancor.cloudmark.com Dec 01 11:02:13.026610 check[15122]: [ 9] Assigning defaults to truth.cloudmark.com Dec 01 11:02:13.026760 check[15122]: [ 9] Assigning defaults to stress.cloudmark.com Dec 01 11:02:13.027285 check[15122]: [ 5] read_file: 12 items read from /var/amavis/.razor/server.folly.cloudmark.com.conf Dec 01 11:02:13.027665 check[15122]: [ 5] read_file: 12 items read from /var/amavis/.razor/server.folly.cloudmark.com.conf Dec 01 11:02:13.028049 check[15122]: [ 5] read_file: 13 items read from /var/amavis/.razor/server.joy.cloudmark.com.conf Dec 01 11:02:13.028426 check[15122]: [ 5] read_file: 13 items read from /var/amavis/.razor/server.joy.cloudmark.com.conf Dec 01 11:02:13.028811 check[15122]: [ 5] read_file: 13 items read from /var/amavis/.razor/server.stress.cloudmark.com.conf Dec 01 11:02:13.029178 check[15122]: [ 5] read_file: 13 items read from /var/amavis/.razor/server.stress.cloudmark.com.conf Dec 01 11:02:13.029547 check[15122]: [ 5] read_file: 13 items read from /var/amavis/.razor/server.rancor.cloudmark.com.conf Dec 01 11:02:13.029915 check[15122]: [ 5] read_file: 13 items read from /var/amavis/.razor/server.rancor.cloudmark.com.conf Dec 01 11:02:13.030297 check[15122]: [ 5] read_file: 13 items read from /var/amavis/.razor/server.truth.cloudmark.com.conf Dec 01 11:02:13.030678 check[15122]: [ 5] read_file: 13 items read from /var/amavis/.razor/server.truth.cloudmark.com.conf Dec 01 11:02:13.030842 check[15122]: [ 5] 142529 seconds before closest server discovery Dec 01 11:02:13.031009 check[15122]: [ 6] rancor.cloudmark.com is a Catalogue Server srl 140; computed min_cf=6, Server se: 58 Dec 01 11:02:13.031182 check[15122]: [ 8] Computed supported_engines: 4 Dec 01 11:02:13.031291 check[15122]: [ 8] Using next closest server rancor.cloudmark.com:2703, cached info srl 140 Dec 01 11:02:13.031385 check[15122]: [ 8] mail 1 has no subject Dec 01 11:02:13.032311 check[15122]: [ 6] preproc: mail 1.0 went from 1376 bytes to 1339 Dec 01 11:02:13.032430 check[15122]: [ 6] computing sigs for mail 1.0, len 1339 Dec 01 11:02:13.033309 check[15122]: [ 6] skipping whitelist file (empty?): /var/amavis/.razor/razor-whitelist Dec 01 11:02:13.033427 check[15122]: [ 5] Connecting to rancor.cloudmark.com ... Dec 01 11:02:13.080011 check[15122]: [ 8] Connection established Dec 01 11:02:13.080160 check[15122]: [ 4] rancor.cloudmark.com >> 30 server greeting: sn=C&srl=140&ep4=7542-10&a=l Dec 01 11:02:13.080502 check[15122]: [ 6] rancor.cloudmark.com is a Catalogue Server srl 140; computed min_cf=6, Server se: 58 Dec 01 11:02:13.080707 check[15122]: [ 8] Computed supported_engines: 4 Dec 01 11:02:13.080843 check[15122]: [ 8] mail 1.0 e4 sig: xFaZIZUVHk90OQfARnenjx5BZTMA Dec 01 11:02:13.080987 check[15122]: [ 8] preparing 1 queries Dec 01 11:02:13.081153 check[15122]: [ 8] sending 1 batches Dec 01 11:02:13.081315 check[15122]: [ 4] rancor.cloudmark.com << 52 Dec 01 11:02:13.081379 check[15122]: [ 6] a=c&e=4&ep4=7542-10&s=xFaZIZUVHk90OQfARnenjx5BZTMA Dec 01 11:02:13.885152 check[15122]: [ 4] rancor.cloudmark.com >> 5 Dec 01 11:02:13.885553 check[15122]: [ 6] response to sent.1 p=0 Dec 01 11:02:13.886376 check[15122]: [ 6] mail 1.0 e=4 sig=xFaZIZUVHk90OQfARnenjx5BZTMA: sig not found. Dec 01 11:02:13.886895 check[15122]: [ 7] method 4: mail 1.0: no-contention part, spam=0 Dec 01 11:02:13.887304 check[15122]: [ 7] method 4: mail 1: all non-contention parts not spam, mail not spam Dec 01 11:02:13.887664 check[15122]: [ 3] mail 1 is not known spam. Dec 01 11:02:13.888017 check[15122]: [ 5] disconnecting from server rancor.cloudmark.com Dec 01 11:02:13.888521 check[15122]: [ 4] rancor.cloudmark.com << 5 Dec 01 11:02:13.888905 check[15122]: [ 6] a=q debug: Using results from Razor v2.36 debug: Found Razor2 part: part=0 engine=4 ct=0 cf=0 debug: leaving helper-app run mode debug: Razor2 results: spam? 0 highest cf score: 0 debug: bayes corpus size: nspam = 1189, nham = 543 debug: tokenize: header tokens for *F = "ignore@compiling.spamassassin.taint.org" debug: tokenize: header tokens for *m = " 1070305332 67531 spamassassin_spamd_init " debug: bayes token 'N:H*m:NNNNN' => 0.0030003090041601 debug: bayes token 'N:H*m:NNNNNNNNNN' => 0.00339654981660132 debug: bayes token 'message' => 0.00414687126968215 debug: bayes token 'somewhat' => 0.00775009733828585 debug: bayes token 'body' => 0.0300423235452426 debug: bayes: score = 0.00968833631720728 debug: bayes: 15122 untie-ing debug: bayes: 15122 untie-ing db_toks debug: bayes: 15122 untie-ing db_seen debug: running raw-body-text per-line regexp tests; score so far=1.5 debug: running uri tests; score so far=1.5 debug: uri tests: Done uriRE debug: running full-text regexp tests; score so far=1.5 debug: Current PATH is: /usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin debug: DCC is not available: dccproc not found debug: Razor2 is available debug: Pyzor is not available: pyzor not found debug: all '*From' addrs: ignore@compiling.spamassassin.taint.org debug: all '*To' addrs: debug: running meta tests; score so far=1.5 debug: is spam? score=-3.7 required=5 tests=BAYES_00,DATE_MISSING,NO_REAL_NAME debug: bayes: 15122 untie-ing Dec 1 11:02:13 balrog.private.deploylinux.net amavisd[15122]: SpamControl: done now, we perform the upgrade to spamassassin 2.60 via a standard emerge. There are no errors during the upgrade. And, we rerun the same tests: amavis@balrog amavis $ sa-learn --dump magic 0.000 0 2 0 non-token data: bayes db version 0.000 0 692 0 non-token data: nspam 0.000 0 20400 0 non-token data: nham 0.000 0 116339 0 non-token data: ntokens 0.000 0 1068796719 0 non-token data: oldest atime 0.000 0 1070280732 0 non-token data: newest atime 0.000 0 0 0 non-token data: last journal sync atime 0.000 0 1070282496 0 non-token data: last expiry atime 0.000 0 1382400 0 non-token data: last expire atime delta 0.000 0 107205 0 non-token data: last expire reduction count amavis@balrog amavis $ amavisd debug-sa Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: starting. amavisd at balrog.private.deploylinux.net amavisd-new-20030616-p6, Unicode aware Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Perl version 5.008 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module Amavis::Conf 1.15 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module Archive::Tar 1.03 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module Archive::Zip 1.05 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module Compress::Zlib 1.22 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module Convert::TNEF 0.17 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module Convert::UUlib 0.31 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module MIME::Entity 5.404 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module MIME::Parser 5.406 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module MIME::Tools 5.411 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module Mail::Header 1.58 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module Mail::Internet 1.58 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module Mail::SpamAssassin 2.55 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module Net::Cmd 2.24 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module Net::DNS 0.40 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module Net::SMTP 2.26 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module Net::Server 0.85 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module Time::HiRes 1.5 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Module Unix::Syslog 0.99 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Found myself: /usr/sbin/amavisd -c /etc/amavisd.conf Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Lookup::SQL code NOT loaded Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Lookup::LDAP code NOT loaded Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: AMCL-in protocol code loaded Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: SMTP-in protocol code loaded Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: ANTI-VIRUS code NOT loaded Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: ANTI-SPAM code loaded Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Net::Server: 2003/12/01-11:06:13 Amavis (type Net::Server::PreForkSimple) starting! pid(18174) Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Net::Server: Binding to UNIX socket file /var/amavis/amavisd.sock using SOCK_STREAM Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Found $file at /usr/bin/file Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Found $arc at /usr/bin/arc Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Found $gzip at /bin/gzip Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Found $bzip2 at /bin/bzip2 Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: No $lzop, not using it Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Found $lha at /usr/bin/lha Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Found $unarj at /usr/bin/unarj Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Found $uncompress at /usr/bin/uncompress Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: No $unfreeze, not using it Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Found $unrar at /usr/bin/unrar Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Found $zoo at /usr/bin/zoo Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: Found $cpio at /usr/bin/cpio Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: SpamControl: initializing Mail::SpamAssassin debug: Score set 0 chosen. debug: running in taint mode? no debug: ignore: test message to precompile patterns and load modules debug: using "/usr/share/spamassassin" for default rules dir debug: using "/etc/mail/spamassassin" for site rules dir debug: using "/var/amavis/.spamassassin/user_prefs" for user prefs file debug: Failed to parse line in SpamAssassin configuration, skipping: report_contact root@localhost debug: Failed to parse line in SpamAssassin configuration, skipping: clear_headers debug: Failed to parse line in SpamAssassin configuration, skipping: add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on _HOSTNAME_ debug: Failed to parse line in SpamAssassin configuration, skipping: add_header spam Flag _YESNOCAPS_ debug: Failed to parse line in SpamAssassin configuration, skipping: add_header all Level _STARS(*)_ debug: Failed to parse line in SpamAssassin configuration, skipping: add_header all Status "_YESNO_, hits=_HITS_ required=_REQD_ tests=_TESTS_ autolearn=_AUTOLEARN_ version=_VERSION_" debug: Failed to parse line in SpamAssassin configuration, skipping: bayes_auto_learn_threshold_nonspam 0.1 debug: Failed to parse line in SpamAssassin configuration, skipping: bayes_auto_learn_threshold_spam 12.0 debug: Failed to parse line in SpamAssassin configuration, skipping: bayes_auto_learn 1 configuration file "/usr/share/spamassassin/20_body_tests.cf" requires version 2.60 of SpamAssassin, but this is code version 2.55. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm line 299. configuration file "/usr/share/spamassassin/20_compensate.cf" requires version 2.60 of SpamAssassin, but this is code version 2.55. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm line 299. configuration file "/usr/share/spamassassin/20_dnsbl_tests.cf" requires version 2.60 of SpamAssassin, but this is code version 2.55. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm line 299. configuration file "/usr/share/spamassassin/20_fake_helo_tests.cf" requires version 2.60 of SpamAssassin, but this is code version 2.55. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm line 299. configuration file "/usr/share/spamassassin/20_head_tests.cf" requires version 2.60 of SpamAssassin, but this is code version 2.55. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm line 299. configuration file "/usr/share/spamassassin/20_html_tests.cf" requires version 2.60 of SpamAssassin, but this is code version 2.55. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm line 299. configuration file "/usr/share/spamassassin/20_meta_tests.cf" requires version 2.60 of SpamAssassin, but this is code version 2.55. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm line 299. configuration file "/usr/share/spamassassin/20_phrases.cf" requires version 2.60 of SpamAssassin, but this is code version 2.55. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm line 299. configuration file "/usr/share/spamassassin/20_porn.cf" requires version 2.60 of SpamAssassin, but this is code version 2.55. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm line 299. configuration file "/usr/share/spamassassin/20_uri_tests.cf" requires version 2.60 of SpamAssassin, but this is code version 2.55. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm line 299. configuration file "/usr/share/spamassassin/23_bayes.cf" requires version 2.60 of SpamAssassin, but this is code version 2.55. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm line 299. debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd billing@networksolutions.com networksolutions.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd outbound-response@networksolutions.com networksolutions.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd hostmaster@internic.net internic.net debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd support@register.com register.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd nytdirect@nytimes.com nytimes.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd petitions@petitiononline.com petitiononline.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@amazon.com amazon.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@*.amazon.com amazon.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@amazon.co.uk amazon.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@*.amazon.co.uk amazon.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@ora.com oreilly.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@*.ora.com oreilly.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@walmart.com walmart.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@bn.com bn.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@online.telstra.com.au telstra.com.au debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@yahoo-inc.com yahoo-inc.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@mypoints.com mypoints.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@*.mypoints.com mypoints.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@orbitz.com wm.orbitz.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@paypal.com paypal.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@securityfocus.com securityfocus.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@LISTSERV.NTBUGTRAQ.COM lsoft.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd freshmeat-news-admin@lists.freshmeat.net freshmeat.net debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@mailer.whitehat.com whitehat.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@mediaunspun.imakenews.net imakenews.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@spamex.com spamex.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *enotify@usenix.org voyager.usenix.org debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@bdcimail.com mailcontrol.bellevuedata.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd listsupport@internet.com lyris.net debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@silicon.com lists.nmtv.net debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@newsbyemail.ft.com lodo.exactis.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@newsletter.online.com cnet.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@friendsreunited.co.uk friendsreunited.co.uk debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd rfc-editor@rfc-editor.org isi.edu debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@*.nsi-direct.com e-dialog.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@warehouse.com warehouse.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@enews.buy.com enews.buy.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@palm.m0.net palm.m0.net debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@handspring.4at1.com handspring.4at1.com debug: Failed to parse line in SpamAssassin configuration, skipping: def_whitelist_from_rcvd *@*.efax.com efax.com debug: bayes: 18174 tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_toks debug: bayes: 18174 tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_seen debug: Score set 3 chosen. debug: Initialising learner debug: running header regexp tests; score so far=0 debug: running body-text per-line regexp tests; score so far=0 Failed to run __MIME_HTML SpamAssassin test, skipping: (Can't locate object method "check_for_mime_html" via package "Mail::SpamAssassin::PerMsgStatus" at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line 2086. ) debug: running raw-body-text per-line regexp tests; score so far=0 debug: running uri tests; score so far=0 debug: uri tests: Done uriRE debug: running full-text regexp tests; score so far=0 debug: running meta tests; score so far=0 debug: is spam? score=0 required=5 tests= debug: bayes: 18174 untie-ing debug: bayes: 18174 untie-ing db_toks debug: bayes: 18174 untie-ing db_seen Dec 1 11:06:13 balrog.private.deploylinux.net amavisd[18174]: SpamControl: done Note that there appears to be various error messeges, especially with regard to parsing configuration files and tests in /usr/share/spamassassin. Bayesian filtering also doesn't seem to work and most emails get a score of 0 if you run postfix for a period of time. Downgrading to spamassassin 2.55 results in everything working again.
hmm, reviewing this further...the problem is probably that the 2.60 upgrade didn't clean out all the 2.55 files. I just did an unmerge, and manually cleaned all spamassassin related files from the /usr/lib/perl directories/etc and things appear to be better.