Hi, I've been upgrading several stable servers running 3.1.8 for months without any issues to 3.1.20, and got a problem in one of them. When trying to restart spamd, I get this:
Beyond the s/3.1.20/v3.2.0/ issue that some people cannot get past. I have the same issue. I had to juggle my cf/pre files entries for quite some time to get past the check_scan problem you describe for spamd to run peachy. I, like you I suspect, loaded up one single file with all my config entries. The v3.2 suite seems to want these in a number of files. Where v3.1.x was forgiving I guess. So in v3.2 if you remove all your .pre files and just have local.cf with all your rules you cannot sa-update, it will bomb. You need to spread the files around. I found a load order as well, but that might be voodoo while pulling out my hair. But this is a good example of the sa-update issue. # cd /etc/mail/spamassassin/ # ls channels.txt init.pre sa-update-keys # mv init.pre local.cf # sa-update config: no configuration text or files found! please check your setup check: no loaded plugin implements 'check_main': cannot scan! at /usr/local/share/perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 164. # mv local.cf init.pre # sa-update config: warning: score set for non-existent rule PART_CID_STOCK ... previous line repeated 123 times for all the lines in 50_scores.cf .. that I don't have plugins loaded for and are not ifplugin/endif wrapped channel: lint check of update failed, channel failed if you run with -D/--debug you will have an ending like this, note that the version is v3.2 and the directory it wants is 3.002000, seems odd. [8263] dbg: channel: update directory /var/lib/spamassassin/3.002000/updates_spamassassin_org [8263] dbg: channel: channel cf file /var/lib/spamassassin/3.002000/updates_spamassassin_org.cf [8263] dbg: channel: channel pre file /var/lib/spamassassin/3.002000/updates_spamassassin_org.pre [8263] dbg: dns: 0.2.3.updates.spamassassin.org => 535131, parsed as 535131 [8263] dbg: channel: preparing temp directory for new channel [8263] dbg: generic: update tmp directory /tmp/.spamassassin8263KG8Pl9tmp [8263] dbg: generic: lint checking site pre files once before attempting channel updates [8263] dbg: generic: SpamAssassin version 3.2.0 [8263] dbg: config: score set 0 chosen. [8263] dbg: dns: no ipv6 [8263] dbg: dns: is Net::DNS::Resolver available? yes [8263] dbg: dns: Net::DNS version: 0.59 [8263] dbg: ignore: using a test message to lint rules [8263] dbg: config: using "/etc/mail/spamassassin" for site rules pre files [8263] dbg: config: using "/tmp/.spamassassin8263KG8Pl9tmp/doesnotexist" for sys rules pre files [8263] dbg: config: using "/tmp/.spamassassin8263KG8Pl9tmp/doesnotexist" for default rules dir [8263] dbg: config: using "/tmp/.spamassassin8263KG8Pl9tmp/doesnotexist/doesnotexist" for user prefs file config: no configuration text or files found! please check your setup [8263] dbg: conf: finish parsing [8263] dbg: config: score set 0 chosen. [8263] dbg: message: main message type: text/plain [8263] dbg: message: ---- MIME PARSER START ---- [8263] dbg: message: parsing normal part [8263] dbg: message: ---- MIME PARSER END ---- check: no loaded plugin implements 'check_main': cannot scan! at /usr/local/share/perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 164