To begin with, you need to run the command like this:
# sudo -u vpopmail -H spamassassin -D --lint
Is spamassassin running?
# qmailctl stat
What does simcontrol contain?
# cat /var/qmail/control/simcontrol
What does your SA control file contain?
# cat /etc/mail/spamassassin/local.cf
Let's see, and go from there.
Hainarosie Razvan wrote:
> I am using Centos 4.4 and the latest stable package from qmailtoaster.
>
> After installing everything simscan does not show in headers
> spammassasin information, only clam is showed.
>
> I have a problem with spamassassin.
>
> When I run :
>
>
>
> *> spamassassin --lint -D*
>
> [5814] dbg: logger: adding facilities: all
>
> [5814] dbg: logger: logging level is DBG
>
> [5814] dbg: generic: SpamAssassin version 3.1.7
>
> [5814] dbg: config: score set 0 chosen.
>
> [5814] dbg: util: running in taint mode? yes
>
> [5814] dbg: util: taint mode: deleting unsafe environment variables,
> resetting PATH
>
> [5814] dbg: util: PATH included '/sbin', keeping
>
> [5814] dbg: util: PATH included '/usr/sbin', keeping
>
> [5814] dbg: util: PATH included '/bin', keeping
>
> [5814] dbg: util: PATH included '/usr/bin', keeping
>
> [5814] dbg: util: PATH included '/usr/X11R6/bin', keeping
>
> [5814] dbg: util: PATH included '/bin', keeping
>
> [5814] dbg: util: PATH included '/usr/bin', keeping
>
> [5814] dbg: util: PATH included '/sbin', keeping
>
> [5814] dbg: util: PATH included '/usr/sbin', keeping
>
> [5814] dbg: util: PATH included '/usr/local/bin', keeping
>
> [5814] dbg: util: final PATH set to:
> /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
>
> [5814] dbg: message: ---- MIME PARSER START ----
>
> [5814] dbg: message: main message type: text/plain
>
> [5814] dbg: message: parsing normal part
>
> [5814] dbg: message: added part, type: text/plain
>
> [5814] dbg: message: ---- MIME PARSER END ----
>
> [5814] dbg: dns: is Net::DNS::Resolver available? yes
>
> [5814] dbg: dns: Net::DNS version: 0.48
>
> [5814] dbg: diag: perl platform: 5.008005 linux
>
> [5814] dbg: diag: module installed: Digest::SHA1, version 2.07
>
> [5814] dbg: diag: module installed: Net::DNS, version 0.48
>
> [5814] dbg: diag: module installed: Net::SMTP, version 2.29
>
> [5814] dbg: diag: module installed: Mail::SPF::Query, version 1.999001
>
> [5814] dbg: diag: module installed: IP::Country::Fast, version 604.001
>
> [5814] dbg: diag: module not installed: Razor2::Client::Agent ('require'
> failed)
>
> [5814] dbg: diag: module not installed: Net::Ident ('require' failed)
>
> [5814] dbg: diag: module not installed: IO::Socket::INET6 ('require' failed)
>
> [5814] dbg: diag: module not installed: IO::Socket::SSL ('require' failed)
>
> [5814] dbg: diag: module installed: Time::HiRes, version 1.55
>
> [5814] dbg: diag: module installed: DBI, version 1.40
>
> [5814] dbg: diag: module installed: Getopt::Long, version 2.34
>
> [5814] dbg: diag: module installed: LWP::UserAgent, version 2.031
>
> [5814] dbg: diag: module installed: HTTP::Date, version 1.46
>
> [5814] dbg: diag: module installed: Archive::Tar, version 1.30
>
> [5814] dbg: diag: module installed: IO::Zlib, version 1.04
>
> [5814] dbg: diag: module installed: DB_File, version 1.814
>
> [5814] dbg: diag: module installed: HTML::Parser, version 3.35
>
> [5814] dbg: diag: module installed: MIME::Base64, version 3.07
>
> [5814] dbg: ignore: using a test message to lint rules
>
> [5814] dbg: config: using "/etc/mail/spamassassin" for site rules pre files
>
> [5814] dbg: config: read file /etc/mail/spamassassin/v310.pre
>
> [5814] dbg: config: read file /etc/mail/spamassassin/v312.pre
>
> [5814] dbg: config: using "/usr/share/spamassassin" for sys rules pre files
>
> [5814] dbg: config: using "/usr/share/spamassassin" for default rules dir
>
> [5814] dbg: config: read file /usr/share/spamassassin/10_misc.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/20_advance_fee.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/20_anti_ratware.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/20_body_tests.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/20_compensate.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/20_drugs.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/20_head_tests.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/20_html_tests.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/20_meta_tests.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/20_net_tests.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/20_phrases.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/20_porn.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/20_ratware.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/20_uri_tests.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/23_bayes.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/25_accessdb.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/25_antivirus.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/25_body_tests_es.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/25_body_tests_pl.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/25_dcc.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/25_dkim.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/25_domainkeys.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/25_hashcash.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/25_pyzor.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/25_razor2.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/25_replace.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/25_spf.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/25_textcat.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/25_uribl.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/30_text_de.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/30_text_fr.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/30_text_it.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/30_text_nl.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/30_text_pl.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/30_text_pt_br.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/50_scores.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/60_awl.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/60_whitelist.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/60_whitelist_dk.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/60_whitelist_dkim.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/60_whitelist_spf.cf
>
> [5814] dbg: config: read file /usr/share/spamassassin/60_whitelist_subject.cf
>
> [5814] dbg: config: using "/etc/mail/spamassassin" for site rules dir
>
> [5814] dbg: config: read file /etc/mail/spamassassin/local.cf
>
> [5814] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
>
> [5814] dbg: pyzor: local tests only, disabling Pyzor
>
> [5814] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::Pyzor=HASH(0xab95b1c)
>
> [5814] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
>
> [5814] dbg: plugin: registered Mail::SpamAssassin::Plugin::AWL=HASH(0xabc2440)
>
> [5814] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold
> from @INC
>
> [5814] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0xabcd328)
>
> [5814] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject from
> @INC
>
> [5814] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0xab84fc8)
>
> [5814] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC
>
> [5814] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0xab85cc4)
>
> [5814] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from @INC
>
> [5814] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0xabebf3c)
>
> [5814] dbg: config: adding redirector regex:
> /^http:\/\/chkpt\.zdnet\.com\/chkpt\/\w+\/(.*)$/i
>
> [5814] dbg: config: adding redirector regex:
> /^http:\/\/www(?:\d+)?\.nate\.com\/r\/\w+\/(.*)$/i
>
> [5814] dbg: config: adding redirector regex:
> /^http:\/\/.+\.gov\/(?:.*\/)?externalLink\.jhtml\?.*url=(.*?)(?:&.*)?$/i
>
> [5814] dbg: config: adding redirector regex:
> /^http:\/\/redir\.internet\.com\/.+?\/.+?\/(.*)$/i
>
> [5814] dbg: config: adding redirector regex:
> /^http:\/\/(?:.*?\.)?adtech\.de\/.*(?:;|\|)link=(.*?)(?:;|$)/i
>
> [5814] dbg: config: adding redirector regex:
> m'^http.*?/redirect\.php\?.*(?<=[?&])goto=(.*?)(?:$|[&#])'i
>
> [5814] dbg: config: adding redirector regex:
> m'^https?:/*(?:[^/]+\.)?emf\d\.com/r\.cfm.*?&r=(.*)'i
>
> [5814] dbg: config: adding redirector regex:
> m'/(?:index.php)?\?.*(?<=[?&])URL=(.*?)(?:$|[&#])'i
>
> [5814] dbg: config: adding redirector regex:
> m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/url\?.*?(?<=[?&])q=(.*?)(?:$|[&#])'i
>
> [5814] dbg: config: adding redirector regex:
> m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+\s])site:(.*?)(?:$|%20|[\s+&#])'i
>
> [5814] dbg: config: adding redirector regex:
> m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+\s])(?:"|%22)(.*?)(?:$|%22|["\s+&#])'i
>
> [5814] dbg: config: adding redirector regex:
> m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/translate\?.*?(?<=[?&])u=(.*?)(?:$|[&#])'i
>
> [5814] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0xabebf3c)
> implements 'finish_parsing_end'
>
> [5814] dbg: replacetags: replacing tags
>
> [5814] dbg: replacetags: done replacing tags
>
> [5814] dbg: bayes: no dbs present, cannot tie DB R/O:
> /root/.spamassassin/bayes_toks
>
> [5814] dbg: config: score set 0 chosen.
>
> [5814] dbg: message: ---- MIME PARSER START ----
>
> [5814] dbg: message: main message type: text/plain
>
> [5814] dbg: message: parsing normal part
>
> [5814] dbg: message: added part, type: text/plain
>
> [5814] dbg: message: ---- MIME PARSER END ----
>
> [5814] dbg: bayes: no dbs present, cannot tie DB R/O:
> /root/.spamassassin/bayes_toks
>
> [5814] dbg: dns: is DNS available? 0
>
> [5814] dbg: metadata: X-Spam-Relays-Trusted:
>
> [5814] dbg: metadata: X-Spam-Relays-Untrusted:
>
> [5814] dbg: metadata: X-Spam-Relays-Internal:
>
> [5814] dbg: metadata: X-Spam-Relays-External:
>
> [5814] dbg: message: no encoding detected
>
> [5814] dbg: rules: local tests only, ignoring RBL eval
>
> [5814] dbg: check: running tests for priority: 0
>
> [5814] dbg: rules: running header regexp tests; score so far=0
>
> [5814] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
>
> [5814] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit:
> "1163928579"
>
> [5814] dbg: rules: ran header rule __SANE_MSGID ======> got hit: "<[EMAIL
> PROTECTED]>
>
> [5814] dbg: rules: "
>
> [5814] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit:
> "@lint_rules>"
>
> [5814] dbg: eval: all '*From' addrs: [EMAIL PROTECTED]
>
> [5814] dbg: eval: all '*To' addrs:
>
> [5814] dbg: rules: ran eval rule NO_RELAYS ======> got hit
>
> [5814] dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit
>
> [5814] dbg: rules: running body-text per-line regexp tests; score so
> far=-0.001
>
> [5814] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I"
>
> [5814] dbg: uri: running uri tests; score so far=-0.001
>
> [5814] dbg: bayes: no dbs present, cannot tie DB R/O:
> /root/.spamassassin/bayes_toks
>
> [5814] dbg: bayes: not scoring message, returning undef
>
> [5814] dbg: bayes: opportunistic call attempt failed, DB not readable
>
> [5814] dbg: rules: running raw-body-text per-line regexp tests; score so
> far=-0.001
>
> [5814] dbg: rules: running full-text regexp tests; score so far=-0.001
>
> [5814] dbg: check: running tests for priority: 500
>
> [5814] dbg: rules: running meta tests; score so far=-0.001
>
> [5814] info: rules: meta test DIGEST_MULTIPLE has undefined dependency
> 'RAZOR2_CHECK'
>
> [5814] info: rules: meta test DIGEST_MULTIPLE has undefined dependency
> 'DCC_CHECK'
>
> [5814] dbg: rules: running header regexp tests; score so far=1.866
>
> [5814] dbg: rules: running body-text per-line regexp tests; score so far=1.866
>
> [5814] dbg: uri: running uri tests; score so far=1.866
>
> [5814] dbg: rules: running raw-body-text per-line regexp tests; score so
> far=1.866
>
> [5814] dbg: rules: running full-text regexp tests; score so far=1.866
>
> [5814] dbg: check: running tests for priority: 1000
>
> [5814] dbg: rules: running meta tests; score so far=1.866
>
> [5814] dbg: rules: running header regexp tests; score so far=1.866
>
> [5814] dbg: rules: running body-text per-line regexp tests; score so far=1.866
>
> [5814] dbg: uri: running uri tests; score so far=1.866
>
> [5814] dbg: rules: running raw-body-text per-line regexp tests; score so
> far=1.866
>
> [5814] dbg: rules: running full-text regexp tests; score so far=1.866
>
> [5814] dbg: check: is spam? score=1.866 required=5
>
> [5814] dbg: check: tests=MISSING_SUBJECT,NO_RECEIVED,NO_RELAYS,TO_CC_NONE
>
> [5814] dbg: check:
> subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__NONEMPTY_BODY,__SANE_MSGID,__UNUSABLE_MSGID
>
>
>
>
>
>
>
> 5814] dbg: bayes: no dbs present, cannot tie DB R/O:
> /root/.spamassassin/bayes_toks
>
>
>
> The folder /root/.spamassassin/ is empty.
>
> Please tell me what shall I do.
>
>
>
> Thanks,
>
> Razvan
>
>
>
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]