SARE Rules problem?

View: New views
3 Messages — Rating Filter:   Alert me  

SARE Rules problem?

by Arthur Dent-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all.

I have just upgraded from SA 3.2.4 to 3.2.5 and ran sa-update to get the
latest rulesets (which also happens every night via a cronjob).

I got the following errors:


[root@mydomain ~]# sa-update --channelfile /etc/mail/spamassassin/sare-sa-update-channels.txt --gpgkey 856AA88A --gpgkey 6C6191E3 && /sbin/service spamassassin restart
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2140.
Stopping spamd:                                            [  OK  ]
Starting spamd:                                            [  OK  ]

The error message doesn't make clear which rule file(s) are triggering the
error. Below I list the contents of my /var/lib/spamassassin/3.002005/

I have no evidence, but I suspect the SARE rules...

Any ideas as to what the problem is and how I can fix it?


Thanks in advance...



[root@mydomain ~]# ll /var/lib/spamassassin/3.002005/
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 70_sare_adult_cf_sare_sa-update_dostech_net
-rw-r--r-- 1 root root   98 2008-06-29 16:05 70_sare_adult_cf_sare_sa-update_dostech_net.cf
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 70_sare_bayes_poison_nxm_cf_sare_sa-update_dostech_net
-rw-r--r-- 1 root root  109 2008-06-29 16:05 70_sare_bayes_poison_nxm_cf_sare_sa-update_dostech_net.cf
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 70_sare_genlsubj0_cf_sare_sa-update_dostech_net
-rw-r--r-- 1 root root  102 2008-06-29 16:05 70_sare_genlsubj0_cf_sare_sa-update_dostech_net.cf
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 70_sare_header0_cf_sare_sa-update_dostech_net
-rw-r--r-- 1 root root  100 2008-06-29 16:05 70_sare_header0_cf_sare_sa-update_dostech_net.cf
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 70_sare_html0_cf_sare_sa-update_dostech_net
-rw-r--r-- 1 root root   98 2008-06-29 16:05 70_sare_html0_cf_sare_sa-update_dostech_net.cf
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 70_sare_obfu0_cf_sare_sa-update_dostech_net
-rw-r--r-- 1 root root   98 2008-06-29 16:05 70_sare_obfu0_cf_sare_sa-update_dostech_net.cf
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 70_sare_oem_cf_sare_sa-update_dostech_net
-rw-r--r-- 1 root root   96 2008-06-29 16:05 70_sare_oem_cf_sare_sa-update_dostech_net.cf
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 70_sare_random_cf_sare_sa-update_dostech_net
-rw-r--r-- 1 root root   99 2008-06-29 16:05 70_sare_random_cf_sare_sa-update_dostech_net.cf
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 70_sare_specific_cf_sare_sa-update_dostech_net
-rw-r--r-- 1 root root  101 2008-06-29 16:05 70_sare_specific_cf_sare_sa-update_dostech_net.cf
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 70_sare_spoof_cf_sare_sa-update_dostech_net
-rw-r--r-- 1 root root   98 2008-06-29 16:05 70_sare_spoof_cf_sare_sa-update_dostech_net.cf
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 70_sare_stocks_cf_sare_sa-update_dostech_net
-rw-r--r-- 1 root root   99 2008-06-29 16:05 70_sare_stocks_cf_sare_sa-update_dostech_net.cf
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 72_sare_bml_post25x_cf_sare_sa-update_dostech_net
-rw-r--r-- 1 root root  104 2008-06-29 16:05 72_sare_bml_post25x_cf_sare_sa-update_dostech_net.cf
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 72_sare_redirect_post3_0_0_cf_sare_sa-update_dostech_net
-rw-r--r-- 1 root root  111 2008-06-29 16:05 72_sare_redirect_post3_0_0_cf_sare_sa-update_dostech_net.cf
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 99_sare_fraud_post25x_cf_sare_sa-update_dostech_net
-rw-r--r-- 1 root root  106 2008-06-29 16:05 99_sare_fraud_post25x_cf_sare_sa-update_dostech_net.cf
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 sought_rules_yerp_org
-rw-r--r-- 1 root root   67 2008-06-29 16:05 sought_rules_yerp_org.cf
drwxr-xr-x 2 root root 4096 2008-06-29 16:05 updates_spamassassin_org
-rw-r--r-- 1 root root 2431 2008-06-29 16:05 updates_spamassassin_org.cf


attachment0 (196 bytes) Download Attachment

Re: SARE Rules problem?

by Duane Hill-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 30 Jun 2008, Arthur Dent wrote:

> Hello all.
>
> I have just upgraded from SA 3.2.4 to 3.2.5 and ran sa-update to get the
> latest rulesets (which also happens every night via a cronjob).
>
> I got the following errors:

[errors chopped]

> Stopping spamd:                                            [  OK  ]
> Starting spamd:                                            [  OK  ]
>
> The error message doesn't make clear which rule file(s) are triggering the
> error. Below I list the contents of my /var/lib/spamassassin/3.002005/
>
> I have no evidence, but I suspect the SARE rules...
>
> Any ideas as to what the problem is and how I can fix it?
>
>
> Thanks in advance...
>
[rules chopped]

Have you looked at the debug output of:

   spamassassin -D --lint

Re: SARE Rules problem?

by Arthur Dent-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jun 30, 2008 at 10:46:13AM +0000, Duane Hill wrote:

> On Mon, 30 Jun 2008, Arthur Dent wrote:
>
>> Hello all.
>>
>> I have just upgraded from SA 3.2.4 to 3.2.5 and ran sa-update to get the
>> latest rulesets (which also happens every night via a cronjob).
>>
>> I got the following errors:
>
> [errors chopped]
>
>> Stopping spamd:                                            [  OK  ]
>> Starting spamd:                                            [  OK  ]
>>
>> The error message doesn't make clear which rule file(s) are triggering the
>> error. Below I list the contents of my /var/lib/spamassassin/3.002005/
>>
>> I have no evidence, but I suspect the SARE rules...
>>
>> Any ideas as to what the problem is and how I can fix it?
>>
>>
>> Thanks in advance...
>>
> [rules chopped]
>
> Have you looked at the debug output of:
>
>   spamassassin -D --lint
Well yes I did. But I just took a closer look - I must have missed these the
first time round:

[20811] dbg: rules: running meta tests; score so far=-0.812
[20811] dbg: rules: meta test DIGEST_MULTIPLE has undefined dependency
'DCC_CHECK'
[20811] dbg: rules: meta test SARE_RD_SAFE has undefined dependency
'SARE_RD_SAFE_MKSHRT'
[20811] dbg: rules: meta test SARE_RD_SAFE has undefined dependency
'SARE_RD_SAFE_GT'
[20811] dbg: rules: meta test SARE_RD_SAFE has undefined dependency
'SARE_RD_SAFE_TINY'
[20811] dbg: rules: meta test SARE_HEAD_SUBJ_RAND has undefined dependency
'SARE_XMAIL_SUSP2'
[20811] dbg: rules: meta test SARE_HEAD_SUBJ_RAND has undefined dependency
'SARE_HEAD_XAUTH_WARN'
[20811] dbg: rules: meta test SARE_HEAD_SUBJ_RAND has undefined dependency
'X_AUTH_WARN_FAKED'
[20811] dbg: rules: compiled meta tests

Is this the source of the problem? What do I need to do to fix it?

I'm a little surprised as this is an out-of-the-box implementation and I
thought that after the upgrade, running sa-update would simple download the
relevant sare rulesets (which it did) and I would be up and running...

Thanks for your help so far.

Much appreciated...




attachment0 (196 bytes) Download Attachment
LightInTheBox - Buy quality products at wholesale price