Sandeep Agarwal wrote: > On 3/2/07, Sietse van Zanen <[EMAIL PROTECTED]> wrote: >> >> >> >> oops, forgot to mention, you need to feed a sample message to >> spamassassin >> -D --lint or it will not do network and RBL checks, only local checks. >> >> -Sietse > > below is the result for spamassassin -D < message on machine A :
<snip> > [10811] dbg: dns: launching DNS TXT query for > 51.63.123.19.bl.spamcop.net. in background > [10811] dbg: dns: launching DNS TXT query for > 142.156.165.15.bl.spamcop.net. in background > [10811] dbg: dns: launching DNS TXT query for > 81.117.109.61.bl.spamcop.net. in background > [10811] dbg: dns: launching DNS TXT query for > 81.154.75.81.bl.spamcop.net. in background > [10811] dbg: dns: launching DNS TXT query for > 110.2.4.122.bl.spamcop.net. in background <many more launches> > [10811] dbg: check: running tests for priority: 500 > [10811] dbg: dns: success for 29 of 43 queries > [10811] dbg: dns: timeout for zen after 8 seconds > [10811] dbg: dns: timeout for psbl after 8 seconds > [10811] dbg: dns: timeout for zen after 8 seconds > [10811] dbg: dns: timeout for psbl after 8 seconds Ok, so that one's nice and normal, although you're timing out on some which suggests your DNS server isn't keeping up.. > [10811] dbg: check: > tests=AWL,BAYES_99,FORGED_RCVD_HELO,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_NJABL_DUL,RCVD_IN_PBL,RCVD_IN_XBL,RCVD_NUMERIC_HELO > > and here is the dump for spamassassin -D < message, the mail message > is the same as the above <snip> > [2022] dbg: dns: launching DNS TXT query for > 51.63.123.19.bl.spamcop.net. in background > [2022] dbg: dns: launching DNS TXT query for > 142.156.165.15.bl.spamcop.net. in background > [2022] dbg: dns: launching DNS TXT query for > 81.117.109.61.bl.spamcop.net. in background > [2022] dbg: dns: launching DNS TXT query for > 81.154.75.81.bl.spamcop.net. in background > [2022] dbg: dns: launching DNS TXT query for > 110.2.4.122.bl.spamcop.net. in background <snip - many more launches as before> > > [2022] dbg: check: running tests for priority: 500 > [2022] dbg: dns: success for 53 of 53 queries Ok, this one looks to be working better. > > tests=BAYES_99,FORGED_RCVD_HELO,RCVD_NUMERIC_HELO,SARE_OBFU_PART_IES And yet no RBLS. > [2022] dbg: check: > subtests=__ANY_OUTLOOK_MUA,__CT,__CTE,__CTYPE_CHARSET_QUOTED,__CT_TEXT_PLAIN,__ENV_AND_HDR_FROM_MATCH,__FORGED_RCVD_TRAIL,__HAS_MIMEOLE,__HAS_MSGID,__HAS_MSMAIL_PRI,__HAS_OUTLOOK_IN_MAILER,__HAS_OUTLOOK_IN_MAILER_NEW,__HAS_RCVD,__HAS_SUBJECT,__HAS_X_MAILER,__MIMEOLE_MS,__MIME_VERSION,__MSGID_DOLLARS_MAYBE,__MSGID_DOLLARS_OK,__MSGID_OK_HEX,__MSGID_OK_HOST,__MSGID_RANDY,__NONEMPTY_BODY,__OE_MSGID_2,__OE_MUA,__REPTO_OVERQUOTE,__REPTO_QUOTE,__SANE_MSGID,__SARE_BODY_BLANKS_5_100,__SARE_BODY_BLNK_5_100,__SARE_HEAD_MIME_VALID,__SARE_PHONE_NUM,__SARE_SPEC_PROLEO1,__SARE_SPEC_SUBJ_LEO,__SARE_WHITELIST_FLAG,__TOCC_EXISTS,__UNUSABLE_MSGID > > > > its clear from the logs that the DNS query was successful but it > didn't added to the score, for the same message machine A added approx > 7 points to the message but machine B didn't added a single point, i > cant figure out why this is happening, hopefully a second pair of eyes > will help I'd start looking around for something that set the score of the various RBL tests to 0. grep RCVD_IN_BL_SPAMCOP_NET /etc/mail/spamassassin/* grep RCVD_IN_BL_SPAMCOP_NET /root/.spamassassin/user_prefs The only other significant difference is your results for machine A seem to have been run as "spamd" while box B was run as "root".. that shouldn't matter much, but it does change what prefs file you have to look at.