Spamassain

Vernon Webb vernon at COMP-WIZ.COM
Sat Sep 6 23:01:24 IST 2003


> The commands  are... 
> 
> spamassassin -D --lint

I got no errors here.

> spamassassin -D --lint 
> --config-file=/etc/MailScanner/spam.assassin.prefs.conf

This one ran REAL fast and here's what got:

debug: Score set 0 chosen.
debug: running in taint mode? no
debug: ignore: using a test message to lint rules
debug: using "/etc/MailScanner/spam.assassin.prefs.conf" for default rules dir
debug: using "/etc/mail/spamassassin" for site rules dir
debug: using "/root/.spamassassin" for user state dir
debug: using "/root/.spamassassin/user_prefs" for user prefs file
debug: using "/root/.spamassassin" for user state dir
debug: bayes: 13662 tie-ing to DB file R/O /root/.spamassassin/bayes_toks
debug: bayes: 13662 tie-ing to DB file R/O /root/.spamassassin/bayes_seen
debug: bayes: found bayes db version 0
debug: bayes: Not available for scanning, only 1 spam(s) in Bayes DB < 200
debug: bayes: 13662 untie-ing
debug: bayes: 13662 untie-ing db_toks
debug: bayes: 13662 untie-ing db_seen
debug: Score set 1 chosen.
debug: Initialising learner
debug: using "/root/.spamassassin" for user state dir
debug: bayes: 13662 tie-ing to DB file R/O /root/.spamassassin/bayes_toks
debug: bayes: 13662 tie-ing to DB file R/O /root/.spamassassin/bayes_seen
debug: bayes: found bayes db version 0
debug: bayes: Not available for scanning, only 1 spam(s) in Bayes DB < 200
debug: bayes: 13662 untie-ing
debug: bayes: 13662 untie-ing db_toks
debug: bayes: 13662 untie-ing db_seen
debug: running header regexp tests; score so far=0
debug: running body-text per-line regexp tests; score so far=0
debug: running raw-body-text per-line regexp tests; score so far=0
debug: running uri tests; score so far=0
debug: uri tests: Done uriRE
debug: running full-text regexp tests; score so far=0
debug: running meta tests; score so far=0
debug: is spam? score=0 required=5 tests=

> Possibly, the whole line would have been nice!

  Here's the whole line:

Sep  6 17:30:45 home sm-msp-queue[11614]: h85D9arc008082: to=postmaster, delay=1+08:20:30, xdelay=00:00:00, mailer=relay, pri=15064715, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

> Presumably this is being 
> logged by a sendmail process?  possibly a sign that sendmail isn't 
> listening on the loopback interface.  You can find out by doing... 
> IIRC RedHat's sendmail by default listens only on 127.0.0.1, maybe 
> someone has changed this to an IP of an external interface?

But you are right and this confuses me. If I set up sendmail options with:

  Port=smtp,Addr=127.0.0.1, Name=MTA

then I don't get any incoming mail. However if I set it up with the public IP it works fine. Is that how it's supposed to work?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20030906/f64a2a56/attachment.html


More information about the MailScanner mailing list