[SLE] Question about SpamAssassin permissions

From: Drew J. Como (hvisuals_at_yahoo.com)
Date: 03/24/05

  • Next message: Ken Schneider: "Re: [SLE] Setting up DNS server -- Yast complains about bind"
    Date: Thu, 24 Mar 2005 14:02:14 -0800 (PST)
    To: suse-linux-e@suse.com
    
    

    All,

    I reviewing my SpamAssassin settings, I have found the
    SA was still running as root. I have since changed
    this to run as 'spamd', however I am getting the
    following errors within my /var/log/mail log:

    Mar 24 16:48:21 mailserver spamd[17090]: Creating
    default_prefs [/root/.spamassassin/user_prefs]
    Mar 24 16:48:21 mailserver spamd[17090]: Cannot write
    to /root/.spamassassin/user_prefs: Permission denied
    Mar 24 16:48:21 mailserver spamd[17090]: Couldn't
    create readable default_prefs for
    [/root/.spamassassin/user_prefs]

    Why is SA still trying to use root's home folder for
    storage since I have changed the following:

    (added to local.cf)
    # Additional bayes configurations
    bayes_path /home/spamd/.spamassassin
    bayes_file_mode 0666

    (added to /etc/procmailrc)

    #:0fw
    #| /usr/bin/spamc -u spamd

    Can anyone offer any assistance on this?

    Thanks in advance!

                    
    __________________________________
    Do you Yahoo!?
    Yahoo! Small Business - Try our new resources site!
    http://smallbusiness.yahoo.com/resources/

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Ken Schneider: "Re: [SLE] Setting up DNS server -- Yast complains about bind"

    Relevant Pages

    • 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: How do I teach Spam Assassin?
      ... 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 ... and the bayes files are being updated in ...
      (Fedora)
    • 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: 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: [SLE] Question about SpamAssassin permissions
      ... > SA was still running as root. ... How exactly are you calling SA? ... spamd will try to use the home directory of the ... Check the headers for your unsubscription address ...
      (SuSE)