E
elproducto
Guest
I did a killal spamd and the restastarted using service spamassassin restart. that seem to fix the database connection problem but I still have 2 issues detected. I tried to cpan install Net::Ident and IO::Socket::INET6 and I informed I have to do a force install, I am unsur on how exactly to do that with cpan, but any suggestion would be greatly appreciated. I am posting some of my spamassassin -D --lint output as follows:
[3806] dbg: diag: module not installed: Net::Ident ('require' failed)
[3806] dbg: diag: module not installed: IO::Socket::INET6 ('require' failed)
[3806] dbg: diag: module not installed: IO::Socket::SSL ('require' failed)
[3806] dbg: diag: module installed: Time::HiRes, version 1.55
[3806] dbg: ignore: using a test message to lint rules
[3806] dbg: config: using "/etc/mail/spamassassin" for site rules pre files
[3806] dbg: config: read file /etc/mail/spamassassin/init.pre
[3806] dbg: config: read file /etc/mail/spamassassin/v310.pre
[3806] dbg: config: using "/usr/share/spamassassin" for sys rules pre files
[3806] dbg: config: using "/usr/share/spamassassin" for default rules dir
[3806] dbg: config: read file /etc/mail/spamassassin/local.cf
[3806] dbg: config: using "/root/.spamassassin" for user state dir
[3806] dbg: config: using "/root/.spamassassin/user_prefs" for user prefs file
[3806] dbg: config: read file /root/.spamassassin/user_prefs
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::URIDNSBL from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::URIDNSBL=HASH(0x92240c8)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::Hashcash from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::Hashcash=HASH(0x92054fc)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::SPF from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin:yzor from @INC
[3806] dbg: pyzor: network tests on, attempting Pyzor
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin:yzor=HASH(0x927b184)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::SpamCop from @INC
[3806] dbg: reporter: network tests on, attempting SpamCop
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::SpamCop=HASH(0x924601c)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::AWL from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::AWL=HASH(0x92493a0)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::AutoLearnThreshold from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::AutoLearnThreshold=HASH(0x92b7300)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::WhiteListSubject from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::WhiteListSubject=HASH(0x92d4b0c)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::MIMEHeader from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::MIMEHeader=HASH(0x92df12c)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::ReplaceTags from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::ReplaceTags=HASH(0x92ecc84)
[3806] dbg: config: adding redirector regex: /^http:\/\/chkpt\.zdnet\.com\/chkpt\/\w+\/(.*)$/i
[3806] dbg: config: adding redirector regex: /^http:\/\/www(?:\d+)?\.nate\.com\/r\/\w+\/(.*)$/i
[3806] dbg: config: adding redirector regex: /^http:\/\/.+\.gov\/(?:.*\/)?externalLink\.jhtml\?.*url=(.*?)(?:&.*)?$/i
[3806] dbg: config: adding redirector regex: /^http:\/\/redir\.internet\.com\/.+?\/.+?\/(.*)$/i
[3806] dbg: config: adding redirector regex: /^http:\/\/(?:.*?\.)?adtech\.de\/.*(?:;|\|)link=(.*?)(?:;|$)/i
[3806] dbg: config: adding redirector regex: m'^http.*?/redirect\.php\?.*(?<=[?&])goto=(.*?)(?:$|[&\#])'i
[3806] dbg: config: adding redirector regex: m'^https?:/*(?:[^/]+\.)?emf\d\.com/r\.cfm.*?&r=(.*)'i
[3806] warn: config: failed to parse line, skipping: rewrite_subject 0
[3806] warn: config: failed to parse line, skipping: use_terse_report 1
[3806] dbg: plugin: Mail::SpamAssassin:lugin::ReplaceTags=HASH(0x92ecc84) implements 'finish_parsing_end'
[3806] dbg: replacetags: replacing tags
[3806] dbg: replacetags: done replacing tags
[3806] dbg: bayes: using username: spamkiller
[3806] dbg: bayes: database connection established
[3806] dbg: bayes: found bayes db version 3
[3806] dbg: bayes: Using userid: 2
[3806] dbg: bayes: not available for scanning, only 5 spam(s) in bayes DB < 200
[3806] dbg: config: score set 1 chosen.
[3806] dbg: message: ---- MIME PARSER START ----
[3806] dbg: message: main message type: text/plain
[3806] dbg: message: parsing normal part
[3806] dbg: message: added part, type: text/plain
[3806] dbg: message: ---- MIME PARSER END ----
[3806] dbg: bayes: database connection established
[3806] dbg: bayes: found bayes db version 3
[3806] dbg: bayes: Using userid: 2
[3806] dbg: bayes: not available for scanning, only 5 spam(s) in bayes DB < 200
[3806] dbg: dns: dns_available set to yes in config file, skipping test
[3806] dbg: metadata: X-Spam-Relays-Trusted:
[3806] dbg: metadata: X-Spam-Relays-Untrusted:
[3806] dbg: message: no encoding detected
[3806] dbg: plugin: Mail::SpamAssassin:lugin::URIDNSBL=HASH(0x92240c8) implements 'parsed_metadata'
[3806] dbg: uridnsbl: domains to query:
[3806] dbg: check: running tests for priority: 0
[3806] dbg: rules: running header regexp tests; score so far=0
[3806] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
[3806] dbg: rules: ran header rule __SANE_MSGID ======> got hit: "<1128191670@lint_rules>
[3806] dbg: rules: "
[3806] dbg: rules: ran header rule NO_REAL_NAME ======> got hit: "[email protected]
[3806] dbg: rules: "
[3806] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit: "@lint_rules>"
[3806] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit: "1128191670"
[3806] dbg: plugin: registering glue method for check_hashcash_double_spend (Mail::SpamAssassin:lugin::Hashcash=HASH(0x92054fc))
[3806] dbg: plugin: registering glue method for check_for_spf_helo_pass (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: spf: message was delivered entirely via trusted relays, not required
[3806] dbg: eval: all '*From' addrs: [email protected]
[3806] dbg: plugin: registering glue method for check_subject_in_blacklist (Mail::SpamAssassin:lugin::WhiteListSubject=HASH(0x92d4b0c))
[3806] dbg: plugin: registering glue method for check_hashcash_value (Mail::SpamAssassin:lugin::Hashcash=HASH(0x92054fc))
[3806] dbg: eval: all '*To' addrs:
[3806] dbg: plugin: registering glue method for check_for_spf_neutral (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: spf: message was delivered entirely via trusted relays, not required
[3806] dbg: plugin: registering glue method for check_for_spf_softfail (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: rules: ran eval rule NO_RELAYS ======> got hit
[3806] dbg: plugin: registering glue method for check_for_spf_pass (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: plugin: registering glue method for check_for_spf_helo_softfail (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: plugin: registering glue method for check_for_def_spf_whitelist_from (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: spf: cannot get Envelope-From, cannot use SPF
[3806] dbg: spf: def_spf_whitelist_from: could not find useable envelope sender
[3806] dbg: plugin: registering glue method for check_for_spf_fail (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit
[3806] dbg: plugin: registering glue method for check_subject_in_whitelist (Mail::SpamAssassin:lugin::WhiteListSubject=HASH(0x92d4b0c))
[3806] dbg: plugin: registering glue method for check_for_spf_whitelist_from (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: spf: spf_whitelist_from: could not find useable envelope sender
[3806] dbg: rules: ran eval rule MISSING_HEADERS ======> got hit
[3806] dbg: rules: running body-text per-line regexp tests; score so far=0.738
[3806] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I"
[3806] dbg: uri: running uri tests; score so far=0.738
[3806] dbg: bayes: database connection established
[3806] dbg: bayes: found bayes db version 3
[3806] dbg: bayes: Using userid: 2
[3806] dbg: bayes: not available for scanning, only 5 spam(s) in bayes DB < 200
[3806] dbg: bayes: not scoring message, returning undef
[3806] dbg: bayes: DB expiry: tokens in DB: 1652, Expiry max size: 150000, Oldest atime: 1128142750, Newest atime: 1128185650, Last expire: 0, Current time: 1128191671
[3806] dbg: plugin: registering glue method for check_uridnsbl (Mail::SpamAssassin:lugin::URIDNSBL=HASH(0x92240c8))
[3806] dbg: rules: running raw-body-text per-line regexp tests; score so far=0.738
[3806] dbg: rules: running full-text regexp tests; score so far=0.738
[3806] dbg: plugin: registering glue method for check_pyzor (Mail::SpamAssassin:lugin:yzor=HASH(0x927b184))
[3806] dbg: util: current PATH is: /usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
[3806] dbg: pyzor: pyzor is not available: no pyzor executable found
[3806] dbg: pyzor: no pyzor found, disabling Pyzor
[3806] warn: lint: 2 issues detected, please rerun with debug enabled for more information
[3806] dbg: diag: module not installed: Net::Ident ('require' failed)
[3806] dbg: diag: module not installed: IO::Socket::INET6 ('require' failed)
[3806] dbg: diag: module not installed: IO::Socket::SSL ('require' failed)
[3806] dbg: diag: module installed: Time::HiRes, version 1.55
[3806] dbg: ignore: using a test message to lint rules
[3806] dbg: config: using "/etc/mail/spamassassin" for site rules pre files
[3806] dbg: config: read file /etc/mail/spamassassin/init.pre
[3806] dbg: config: read file /etc/mail/spamassassin/v310.pre
[3806] dbg: config: using "/usr/share/spamassassin" for sys rules pre files
[3806] dbg: config: using "/usr/share/spamassassin" for default rules dir
[3806] dbg: config: read file /etc/mail/spamassassin/local.cf
[3806] dbg: config: using "/root/.spamassassin" for user state dir
[3806] dbg: config: using "/root/.spamassassin/user_prefs" for user prefs file
[3806] dbg: config: read file /root/.spamassassin/user_prefs
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::URIDNSBL from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::URIDNSBL=HASH(0x92240c8)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::Hashcash from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::Hashcash=HASH(0x92054fc)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::SPF from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin:yzor from @INC
[3806] dbg: pyzor: network tests on, attempting Pyzor
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin:yzor=HASH(0x927b184)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::SpamCop from @INC
[3806] dbg: reporter: network tests on, attempting SpamCop
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::SpamCop=HASH(0x924601c)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::AWL from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::AWL=HASH(0x92493a0)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::AutoLearnThreshold from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::AutoLearnThreshold=HASH(0x92b7300)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::WhiteListSubject from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::WhiteListSubject=HASH(0x92d4b0c)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::MIMEHeader from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::MIMEHeader=HASH(0x92df12c)
[3806] dbg: plugin: loading Mail::SpamAssassin:lugin::ReplaceTags from @INC
[3806] dbg: plugin: registered Mail::SpamAssassin:lugin::ReplaceTags=HASH(0x92ecc84)
[3806] dbg: config: adding redirector regex: /^http:\/\/chkpt\.zdnet\.com\/chkpt\/\w+\/(.*)$/i
[3806] dbg: config: adding redirector regex: /^http:\/\/www(?:\d+)?\.nate\.com\/r\/\w+\/(.*)$/i
[3806] dbg: config: adding redirector regex: /^http:\/\/.+\.gov\/(?:.*\/)?externalLink\.jhtml\?.*url=(.*?)(?:&.*)?$/i
[3806] dbg: config: adding redirector regex: /^http:\/\/redir\.internet\.com\/.+?\/.+?\/(.*)$/i
[3806] dbg: config: adding redirector regex: /^http:\/\/(?:.*?\.)?adtech\.de\/.*(?:;|\|)link=(.*?)(?:;|$)/i
[3806] dbg: config: adding redirector regex: m'^http.*?/redirect\.php\?.*(?<=[?&])goto=(.*?)(?:$|[&\#])'i
[3806] dbg: config: adding redirector regex: m'^https?:/*(?:[^/]+\.)?emf\d\.com/r\.cfm.*?&r=(.*)'i
[3806] warn: config: failed to parse line, skipping: rewrite_subject 0
[3806] warn: config: failed to parse line, skipping: use_terse_report 1
[3806] dbg: plugin: Mail::SpamAssassin:lugin::ReplaceTags=HASH(0x92ecc84) implements 'finish_parsing_end'
[3806] dbg: replacetags: replacing tags
[3806] dbg: replacetags: done replacing tags
[3806] dbg: bayes: using username: spamkiller
[3806] dbg: bayes: database connection established
[3806] dbg: bayes: found bayes db version 3
[3806] dbg: bayes: Using userid: 2
[3806] dbg: bayes: not available for scanning, only 5 spam(s) in bayes DB < 200
[3806] dbg: config: score set 1 chosen.
[3806] dbg: message: ---- MIME PARSER START ----
[3806] dbg: message: main message type: text/plain
[3806] dbg: message: parsing normal part
[3806] dbg: message: added part, type: text/plain
[3806] dbg: message: ---- MIME PARSER END ----
[3806] dbg: bayes: database connection established
[3806] dbg: bayes: found bayes db version 3
[3806] dbg: bayes: Using userid: 2
[3806] dbg: bayes: not available for scanning, only 5 spam(s) in bayes DB < 200
[3806] dbg: dns: dns_available set to yes in config file, skipping test
[3806] dbg: metadata: X-Spam-Relays-Trusted:
[3806] dbg: metadata: X-Spam-Relays-Untrusted:
[3806] dbg: message: no encoding detected
[3806] dbg: plugin: Mail::SpamAssassin:lugin::URIDNSBL=HASH(0x92240c8) implements 'parsed_metadata'
[3806] dbg: uridnsbl: domains to query:
[3806] dbg: check: running tests for priority: 0
[3806] dbg: rules: running header regexp tests; score so far=0
[3806] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
[3806] dbg: rules: ran header rule __SANE_MSGID ======> got hit: "<1128191670@lint_rules>
[3806] dbg: rules: "
[3806] dbg: rules: ran header rule NO_REAL_NAME ======> got hit: "[email protected]
[3806] dbg: rules: "
[3806] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit: "@lint_rules>"
[3806] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit: "1128191670"
[3806] dbg: plugin: registering glue method for check_hashcash_double_spend (Mail::SpamAssassin:lugin::Hashcash=HASH(0x92054fc))
[3806] dbg: plugin: registering glue method for check_for_spf_helo_pass (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: spf: message was delivered entirely via trusted relays, not required
[3806] dbg: eval: all '*From' addrs: [email protected]
[3806] dbg: plugin: registering glue method for check_subject_in_blacklist (Mail::SpamAssassin:lugin::WhiteListSubject=HASH(0x92d4b0c))
[3806] dbg: plugin: registering glue method for check_hashcash_value (Mail::SpamAssassin:lugin::Hashcash=HASH(0x92054fc))
[3806] dbg: eval: all '*To' addrs:
[3806] dbg: plugin: registering glue method for check_for_spf_neutral (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: spf: message was delivered entirely via trusted relays, not required
[3806] dbg: plugin: registering glue method for check_for_spf_softfail (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: rules: ran eval rule NO_RELAYS ======> got hit
[3806] dbg: plugin: registering glue method for check_for_spf_pass (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: plugin: registering glue method for check_for_spf_helo_softfail (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: plugin: registering glue method for check_for_def_spf_whitelist_from (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: spf: cannot get Envelope-From, cannot use SPF
[3806] dbg: spf: def_spf_whitelist_from: could not find useable envelope sender
[3806] dbg: plugin: registering glue method for check_for_spf_fail (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit
[3806] dbg: plugin: registering glue method for check_subject_in_whitelist (Mail::SpamAssassin:lugin::WhiteListSubject=HASH(0x92d4b0c))
[3806] dbg: plugin: registering glue method for check_for_spf_whitelist_from (Mail::SpamAssassin:lugin::SPF=HASH(0x92649a0))
[3806] dbg: spf: spf_whitelist_from: could not find useable envelope sender
[3806] dbg: rules: ran eval rule MISSING_HEADERS ======> got hit
[3806] dbg: rules: running body-text per-line regexp tests; score so far=0.738
[3806] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I"
[3806] dbg: uri: running uri tests; score so far=0.738
[3806] dbg: bayes: database connection established
[3806] dbg: bayes: found bayes db version 3
[3806] dbg: bayes: Using userid: 2
[3806] dbg: bayes: not available for scanning, only 5 spam(s) in bayes DB < 200
[3806] dbg: bayes: not scoring message, returning undef
[3806] dbg: bayes: DB expiry: tokens in DB: 1652, Expiry max size: 150000, Oldest atime: 1128142750, Newest atime: 1128185650, Last expire: 0, Current time: 1128191671
[3806] dbg: plugin: registering glue method for check_uridnsbl (Mail::SpamAssassin:lugin::URIDNSBL=HASH(0x92240c8))
[3806] dbg: rules: running raw-body-text per-line regexp tests; score so far=0.738
[3806] dbg: rules: running full-text regexp tests; score so far=0.738
[3806] dbg: plugin: registering glue method for check_pyzor (Mail::SpamAssassin:lugin:yzor=HASH(0x927b184))
[3806] dbg: util: current PATH is: /usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
[3806] dbg: pyzor: pyzor is not available: no pyzor executable found
[3806] dbg: pyzor: no pyzor found, disabling Pyzor
[3806] warn: lint: 2 issues detected, please rerun with debug enabled for more information