Happy New Year to all.

 

I’ve searched the list archive, and found some references to my problem, but no solutions, so here goes again (sorry for the long post, but I want to provide as much info. as necessary):

 

I recently upgraded to spamassassin 3.0.2 running on CentOS 3.3.  I’m also running sendmail-8.12.11-4.RHEL3.1 and mailscanner-4.37.7-1.  I’ve been using RulesDuJour since before the latest versions of the above software, and it worked fine.  However, after upgrading to spamassassin 3.0.2, RulesDuJour now fails.  Here’s some of the more salient output from running the script:

 

***WARNING***: spamassassin --lint failed.

Rolling configuration files back, not restarting SpamAssassin.

Rollback command is:  mv -f /usr/share/spamassassin/tripwire.cf /usr/share/spamassassin/RulesDuJour/99_FVGT_Tripwire.cf.2; rm -f /usr/share/spamassassin/tripwire.cf; mv -f /usr/share/spamassassin/evilnumbers.cf /usr/share/spamassassin/RulesDuJour/evilnumbers.cf.2; rm -f /usr/share/spamassassin/evilnumbers.cf; mv -f /usr/share/spamassassin/70_sare_random.cf /usr/share/spamassassin/RulesDuJour/70_sare_random.cf.2; rm -f /usr/share/spamassassin/70_sare_random.cf; mv -f /usr/share/spamassassin/antidrug.cf /usr/share/spamassassin/RulesDuJour/antidrug.cf.2; rm -f /usr/share/spamassassin/antidrug.cf; mv -f /usr/share/spamassassin/bigevil.cf /usr/share/spamassassin/RulesDuJour/bigevil.cf.2; rm -f /usr/share/spamassassin/bigevil.cf; mv -f /usr/share/spamassassin/blacklist.cf /usr/share/spamassassin/RulesDuJour/sa-blacklist.current.2; rm -f /usr/share/spamassassin/blacklist.cf; mv -f /usr/share/spamassassin/bogus-virus-warnings.cf /usr/share/spamassassin/RulesDuJour/bogus-virus-warnings.cf.2; rm -f /usr/share/spamassassin/bogus-virus-warnings.cf; mv -f /usr/share/spamassassin/70_sare_ratware.cf /usr/share/spamassassin/RulesDuJour/70_sare_ratware.cf.2; rm -f /usr/share/spamassassin/70_sare_ratware.cf; mv -f /usr/share/spamassassin/70_sare_spoof.cf /usr/share/spamassassin/RulesDuJour/70_sare_spoof.cf.2; rm -f /usr/share/spamassassin/70_sare_spoof.cf; mv -f /usr/share/spamassassin/70_sare_bayes_poison_nxm.cf /usr/share/spamassassin/RulesDuJour/70_sare_bayes_poison_nxm.cf.2; rm -f /usr/share/spamassassin/70_sare_bayes_poison_nxm.cf; mv -f /usr/share/spamassassin/70_sare_specific.cf /usr/share/spamassassin/RulesDuJour/70_sare_specific.cf.2; rm -f /usr/share/spamassassin/70_sare_specific.cf; mv -f /usr/share/spamassassin/70_sare_adult.cf /usr/share/spamassassin/RulesDuJour/70_sare_adult.cf.2; rm -f /usr/share/spamassassin/70_sare_adult.cf;

 

Lint output: config: SpamAssassin failed to parse line, skipping: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

config: SpamAssassin failed to parse line, skipping: <HTML><HEAD>

config: SpamAssassin failed to parse line, skipping: <TITLE> Rate limiting in effect</TITLE>

config: SpamAssassin failed to parse line, skipping: </HEAD><BODY>

config: SpamAssassin failed to parse line, skipping: <H1>Rate limiting in effect</H1>

config: SpamAssassin failed to parse line, skipping: Your request could not be processed because you have exceeded the maximum request rate for the requested document.  This is a temporary condition; you will be permitted to submit another request in a few hours.

config: SpamAssassin failed to parse line, skipping: <BR><BR>To avoid triggering the rate limiter in future, please make less frequent requests for this document.  You should not request the same document more than once every 24 hours.  Please also note that continuing to re-request the document while rate limiting is in effect will further increase the amount of time before the file becomes available to you again.

config: SpamAssassin failed to parse line, skipping: <P>

config: SpamAssassin failed to parse line, skipping: <HR>

config: SpamAssassin failed to parse line, skipping: </BODY></HTML>

config: SpamAssassin failed to parse line, skipping: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

config: SpamAssassin failed to parse line, skipping: <HTML><HEAD>

config: SpamAssassin failed to parse line, skipping: <TITLE> Rate limiting in effect</TITLE>

config: SpamAssassin failed to parse line, skipping: </HEAD><BODY>

config: SpamAssassin failed to parse line, skipping: <H1>Rate limiting in effect</H1>

config: SpamAssassin failed to parse line, skipping: Your request could not be processed because you have exceeded the maximum request rate for the requested document.  This is a temporary condition; you will be permitted to submit another request in a few hours.

config: SpamAssassin failed to parse line, skipping: <BR><BR>To avoid triggering the rate limiter in future, please make less frequent requests for this document.  You should not request the same document more than once every 24 hours.  Please also note that continuing to re-request the document while rate limiting is in effect will further increase the amount of time before the file becomes available to you again.

config: SpamAssassin failed to parse line, skipping: <P>

config: SpamAssassin failed to parse line, skipping: <HR>

config: SpamAssassin failed to parse line, skipping: </BODY></HTML>

config: SpamAssassin failed to parse line, skipping: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

config: SpamAssassin failed to parse line, skipping: <HTML><HEAD>

config: SpamAssassin failed to parse line, skipping: <TITLE> Rate limiting in effect</TITLE>

config: SpamAssassin failed to parse line, skipping: </HEAD><BODY>

config: SpamAssassin failed to parse line, skipping: <H1>Rate limiting in effect</H1>

config: SpamAssassin failed to parse line, skipping: Your request could not be processed because you have exceeded the maximum request rate for the requested document.  This is a temporary condition; you will be permitted to submit another request in a few hours.

config: SpamAssassin failed to parse line, skipping: <BR><BR>To avoid triggering the rate limiter in future, please make less frequent requests for this document.  You should not request the same document more than once every 24 hours.  Please also note that continuing to re-request the document while rate limiting is in effect will further increase the amount of time before the file becomes available to you again.

 

etc.

 

Here’s outpur from spamassassin –D –lint:

 

debug: SpamAssassin version 3.0.2

debug: Score set 0 chosen.

debug: running in taint mode? yes

debug: Running in taint mode, removing unsafe env vars, and resetting PATH

debug: PATH included '/usr/kerberos/sbin', keeping.

debug: PATH included '/usr/kerberos/bin', keeping.

debug: PATH included '/usr/local/sbin', keeping.

debug: PATH included '/usr/local/bin', keeping.

debug: PATH included '/sbin', keeping.

debug: PATH included '/bin', keeping.

debug: PATH included '/usr/sbin', keeping.

debug: PATH included '/usr/bin', keeping.

debug: PATH included '/usr/X11R6/bin', keeping.

debug: PATH included '/root/bin', which doesn't exist, dropping.

debug: Final PATH set to: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin

debug: diag: module installed: DBI, version 1.32

debug: diag: module installed: DB_File, version 1.806

debug: diag: module installed: Digest::SHA1, version 2.01

debug: diag: module installed: IO::Socket::UNIX, version 1.2

debug: diag: module installed: MIME::Base64, version 3.03

debug: diag: module installed: Net::DNS, version 0.48

debug: diag: module not installed: Net::LDAP ('require' failed)

debug: diag: module not installed: Razor2::Client::Agent ('require' failed)

debug: diag: module installed: Storable, version 2.06

debug: diag: module installed: URI, version 1.21

debug: ignore: using a test message to lint rules

debug: using "/etc/mail/spamassassin/init.pre" for site rules init.pre

debug: config: read file /etc/mail/spamassassin/init.pre

debug: using "/usr/share/spamassassin" for default rules dir

debug: config: read file /usr/share/spamassassin/10_misc.cf

debug: config: read file /usr/share/spamassassin/20_anti_ratware.cf

debug: config: read file /usr/share/spamassassin/20_body_tests.cf

debug: config: read file /usr/share/spamassassin/20_compensate.cf

debug: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf

debug: config: read file /usr/share/spamassassin/20_drugs.cf

debug: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf

debug: config: read file /usr/share/spamassassin/20_head_tests.cf

debug: config: read file /usr/share/spamassassin/20_html_tests.cf

debug: config: read file /usr/share/spamassassin/20_meta_tests.cf

debug: config: read file /usr/share/spamassassin/20_phrases.cf

debug: config: read file /usr/share/spamassassin/20_porn.cf

debug: config: read file /usr/share/spamassassin/20_ratware.cf

debug: config: read file /usr/share/spamassassin/20_uri_tests.cf

debug: config: read file /usr/share/spamassassin/23_bayes.cf

debug: config: read file /usr/share/spamassassin/25_body_tests_es.cf

debug: config: read file /usr/share/spamassassin/25_hashcash.cf

debug: config: read file /usr/share/spamassassin/25_spf.cf

debug: config: read file /usr/share/spamassassin/25_uribl.cf

debug: config: read file /usr/share/spamassassin/30_text_de.cf

debug: config: read file /usr/share/spamassassin/30_text_fr.cf

debug: config: read file /usr/share/spamassassin/30_text_nl.cf

debug: config: read file /usr/share/spamassassin/30_text_pl.cf

debug: config: read file /usr/share/spamassassin/50_scores.cf

debug: config: read file /usr/share/spamassassin/60_whitelist.cf

debug: using "/etc/mail/spamassassin" for site rules dir

debug: config: read file /etc/mail/spamassassin/local.cf

debug: using "/root/.spamassassin" for user state dir

debug: using "/root/.spamassassin/user_prefs" for user prefs file

debug: config: read file /root/.spamassassin/user_prefs

debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC

debug: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa457390)

debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC

debug: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0xabe97a8)

debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC

debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0xabc6d90)

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa457390) implements 'parse_config'

debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0xabe97a8) implements 'parse_config'

config: SpamAssassin failed to parse line, skipping: rewrite_subject 1

config: SpamAssassin failed to parse line, skipping: subject_tag [SPAM]

debug: using "/root/.spamassassin" for user state dir

debug: bayes: 20112 tie-ing to DB file R/O /root/.spamassassin/bayes_toks

Cannot open bayes databases /root/.spamassassin/bayes_* R/O: tie failed:

debug: bayes: 20112 untie-ing DB file toks

debug: Score set 1 chosen.

debug: ---- MIME PARSER START ----

debug: main message type: text/plain

debug: parsing normal part

debug: added part, type: text/plain

debug: ---- MIME PARSER END ----

debug: bayes: 20112 tie-ing to DB file R/O /root/.spamassassin/bayes_toks

Cannot open bayes databases /root/.spamassassin/bayes_* R/O: tie failed:

debug: bayes: 20112 untie-ing DB file toks

debug: metadata: X-Spam-Relays-Trusted:

debug: metadata: X-Spam-Relays-Untrusted:

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa457390) implements 'parsed_metadata'

debug: is Net::DNS::Resolver available? yes

debug: Net::DNS version: 0.48

debug: trying (3) cingular.com...

debug: looking up NS for 'cingular.com'

debug: NS lookup of cingular.com succeeded => Dns available (set dns_available to hardcode)

debug: is DNS available? 1

debug: decoding: no encoding detected

debug: URIDNSBL: domains to query:

debug: all '*From' addrs: [EMAIL PROTECTED]

debug: Running tests for priority: 0

debug: running header regexp tests; score so far=0

debug: registering glue method for check_hashcash_double_spend (Mail::SpamAssassin::Plugin::Hashcash=HASH(0xabe97a8))

debug: registering glue method for check_for_spf_helo_pass (Mail::SpamAssassin::Plugin::SPF=HASH(0xabc6d90))

debug: SPF: message was delivered entirely via trusted relays, not required

debug: registering glue method for check_hashcash_value (Mail::SpamAssassin::Plugin::Hashcash=HASH(0xabe97a8))

debug: all '*To' addrs:

debug: registering glue method for check_for_spf_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0xabc6d90))

debug: SPF: message was delivered entirely via trusted relays, not required

debug: registering glue method for check_for_spf_pass (Mail::SpamAssassin::Plugin::SPF=HASH(0xabc6d90))

debug: registering glue method for check_for_spf_helo_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0xabc6d90))

debug: registering glue method for check_for_spf_helo_fail (Mail::SpamAssassin::Plugin::SPF=HASH(0xabc6d90))

debug: running body-text per-line regexp tests; score so far=-2.623

debug: running uri tests; score so far=-2.623

debug: registering glue method for check_uridnsbl (Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa457390))

debug: Razor2 is not available

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa457390) implements 'check_tick'

debug: running raw-body-text per-line regexp tests; score so far=-2.623

debug: running full-text regexp tests; score so far=-2.623

debug: Razor2 is not available

debug: Current PATH is: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin

debug: Pyzor is not available: pyzor not found

debug: DCCifd is not available: no r/w dccifd socket found.

debug: DCC is not available: no executable dccproc found.

debug: Running tests for priority: 500

debug: RBL: success for 1 of 1 queries

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa457390) implements 'check_post_dnsbl'

debug: running meta tests; score so far=-2.623

debug: running header regexp tests; score so far=-1.053

debug: running body-text per-line regexp tests; score so far=-1.053

debug: running uri tests; score so far=-1.053

debug: running raw-body-text per-line regexp tests; score so far=-1.053

debug: running full-text regexp tests; score so far=-1.053

debug: Running tests for priority: 1000

debug: running meta tests; score so far=-1.053

debug: running header regexp tests; score so far=-1.053

debug: using "/root/.spamassassin" for user state dir

debug: lock: 20112 created /root/.spamassassin/auto-whitelist.lock.plymouth.headquarters.firstbhph.com.20112

debug: lock: 20112 trying to get lock on /root/.spamassassin/auto-whitelist with 0 retries

debug: lock: 20112 link to /root/.spamassassin/auto-whitelist.lock: link ok

debug: Tie-ing to DB file R/W in /root/.spamassassin/auto-whitelist

debug: unlock: 20112 unlink /root/.spamassassin/auto-whitelist.lock

debug: open of AWL file failed: Cannot open auto_whitelist_path /root/.spamassassin/auto-whitelist: Inappropriate ioctl for device

 

debug: Post AWL score: -1.053

debug: running body-text per-line regexp tests; score so far=-1.053

debug: running uri tests; score so far=-1.053

debug: running raw-body-text per-line regexp tests; score so far=-1.053

debug: running full-text regexp tests; score so far=-1.053

debug: is spam? score=-1.053 required=5

debug: tests=ALL_TRUSTED,MISSING_DATE,MISSING_SUBJECT,NO_REAL_NAME

debug: subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__SANE_MSGID,__UNUSABLE_MSGID

lint: 2 issues detected.  please rerun with debug enabled for more information.

 

I’d really like to get RuulesDuJour working again.  Can anybody help?

 

Thanks.

 

Dimitri

 

Reply via email to