Hi SA-devs and user,

I guess I figured out why Bayes do not work here on my system
(Debian Unstable) with Exim 3-36 and SA 2.55. If I feed spamasssassin
directly from the shell of my user account it uses Bayes but not in the
chain fetchmail->exim->SA->exim->/var/spool/mail. Where ist he problem?

TIA.

Here is the config:

# less /etc/exim/exim.conf ############################
#in transport section

# Spam Assassin
spamcheck:
        driver = pipe
        command = /usr/sbin/exim -oMr spam-scanned -bS
        transport_filter = /usr/bin/spamc
        bsmtp = all
        home_directory = "/tmp"
        current_directory = "/tmp"
        # must use a privileged user to set $received_protocol on the
way back in!        user = mail
        group = mail
        return_path_add = false
        log_output = true
        return_fail_output = true
        prefix =
        suffix =


# less /etc/default/spamd.conf #########################
ENABLED=1
OPTIONS="--max-children 2 -u mail --local --user-config"


# less /etc/spamassassin/local.cf #####################
use_bayes 1
auto_learn 0
required_hits 5
rewrite_subject 0
fold_headers 1
report_safe 0
always_add_report 1
use_terse_report 1

# ls -l ~/.spamassassin/ ################################
insgesamt 3948
    494 2003-08-30 12:43 bayes_journal
  44674 2003-08-30 12:43 bayes_msgcount    
 671744 2003-08-29 18:44 bayes_seen      
5111808 2003-08-29 18:44 bayes_toks         
   1269 2003-08-20 19:39 user_prefs

# less .spamassassin/user_prefs ########################
use_bayes 1
required_hits 5

# spamassassin -tD < You_should_try_it
[...]
debug: using "/usr/share/spamassassin" for default rules dir
debug: using "/etc/spamassassin" for site rules dir
debug: using "/home/ich/.spamassassin" for user state dir
debug: using "/home/ich/.spamassassin/user_prefs" for user prefs file
debug: using "/home/ich/.spamassassin" for user state dir
debug: bayes: 3758 tie-ing to DB file R/O
/home/ich/.spamassassin/bayes_toks debug: bayes: 3758 tie-ing to DB file
R/O /home/ich/.spamassassin/bayes_seen
[...]
debug: bayes corpus size: nspam = 423, nham = 7234
[...]
X-Spam-Report:   ---- Start der SpamAssassin Auswertung
  4.80 Punkte, 5 benoetigt;
  *  3.0 -- BODY: Bayesian classifier says spam probability is 90 to 99%
  [score: 0.9741]
[...]

-- 
  www.bretschneidernet.de   OpenPGP_0x4EA52583      [EMAIL PROTECTED]
         _o)(o_                     Albert Einstein:
       -./\\//\.-           Few are those who see with their
        _\_VV_/_        own eyes and feel with their own hearts.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to