Re: How do I teach Spam Assassin?

From: Ben Stringer (ben_at_burbong.com)
Date: 03/14/04

  • Next message: Timothy Murphy: "Re: Why FC-2?"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Sun, 14 Mar 2004 23:22:22 +1100
    
    

    On Sun, 2004-03-14 at 21:17, John Lagrue wrote:
    > Charles Howse wrote:
    >
    > That won't work. Runnng sa-learn on indivual mailboxes creates (as far
    > as I understand it) a set of bayesian rules in the .spamassassin
    > directory for that user. But as spamd is running before each user's mail
    > is delivered then those rules will never be applied.
    >
    > I am trying to find out how to create system-wide learned rules for SA.

    Since reading this thread, I've started using sa-learn regularly. I run
    spamd (as root), so I have made sure I run all my sa-learn invocations
    as root, and the bayes files are being updated in
    ~root/.spamassassin/bayes_*

    It's not clear to me from the spamd manpage if spamd it will use these
    files or not. If it does, then my procedure should be fine. Can anyone
    confirm if spamd run as root does use the .spamassassin file's in roots
    homedir when it starts up?

    Thanks, Ben

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Timothy Murphy: "Re: Why FC-2?"

    Relevant Pages

    • Re: How do I teach Spam Assassin?
      ... > Since reading this thread, ... > run spamd (as root), so I have made sure I run all my sa-learn ... and the bayes files are being updated in ... > It's not clear to me from the spamd manpage if spamd it will use ...
      (Fedora)
    • Re: How do I teach Spam Assassin?
      ... On Sun, 2004-03-14 at 20:22, Ben Stringer wrote: ... But as spamd is running before each user's mail ... I've started using sa-learn regularly. ... > spamd (as root), so I have made sure I run all my sa-learn invocations ...
      (Fedora)
    • Re: spamassassin running as nobody causes problems
      ... As I understand it, and frmo a little google, spamd changes its uid to ... 'nobody' when it get a message to scan. ... directory for its AWL files and bayes_* files. ... the child processes as 'nobody' when SA is called by root. ...
      (Debian-User)
    • Re: spamassassin a possible security risk?
      ... > Looks like you are ignoring two important security recommendations: ... never work as root ... Spamd, itself, is not what's at issue in that message...it's actually ... client connecting to spamd as 'root'. ...
      (Fedora)
    • Re: Verify that spamc is using Bayesian?
      ... > spamd is running as the same user that sa-learn is run as. ... but you might also want to try restarting spamd. ... You can get my public key from any of the ...
      (Debian-User)