SpamAssassin Questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, All!

I posted this question on another forum, but haven't received any replies, so I thought that I would try here.  Any help will be appreciated.
I've been seeing a lot of messages like this in my /var/log/maillog:
[code]May 26 08:28:12 presario.localdomain spamd[17857]: spamd: connection from presario.localdomain [127.0.0.1] at port 49144
May 26 08:28:12 presario.localdomain spamd[17857]: spamd: setuid to root succeeded
May 26 08:28:12 presario.localdomain spamd[17857]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody at /usr/bin/spamd line 1147, <GEN9> line 4.
May 26 08:28:12 presario.localdomain spamd[17857]: spamd: processing message <200705260828.11397.root@xxxxxxxxxxxxxxxxxxxx> for root:99
May 26 08:28:17 presario.localdomain spamd[17857]: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.presario.localdomain.17857 for /root/.spamassassin/auto-whitelist.lock: Permission denied
May 26 08:28:17 presario.localdomain spamd[17857]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.presario.localdomain.17857 for /root/.spamassassin/auto-whitelist.lock: Permission denied
May 26 08:28:17 presario.localdomain spamd[17857]: bayes: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/bayes.lock.presario.localdomain.17857 for /root/.spamassassin/bayes.lock: Permission denied[/code]After a lot of searching, I gather that it is not permitted to run spamd as root, and the only suggestion I found was to create/setup a "dummy" user to run spamd. Rather than create another user, I just changed the config files /etc/mail/spamassassin/spamassassin-helper.sh and /etc/sysconfig/spamassassin so that they contained the option "-u mail" to run with user=mail.
BTW, this is just a desktop box, no servers (yet), only me and my son as normal users, and it was only my internal system mail for "root" that was getting the maillog errors.
So, my question is: Is this couth? It seems to be working so far - I tested it and the maillog errors seem to have stopped - and directories /var/spool/mail/.spamassassin and /var/spool/mail/.razor were automagically created (I guess since /var/spool/mail is user "mail's" home directory), but I see no files "auto-whitelist", "bayes-seen" or "bayes-tok" so far. Anybody foresee any problems, or anything I missed here?
Thanx,
Vince


-- 
This is an email sent via the webforum on https://fcp.surfsite.org
https://fcp.surfsite.org/modules/newbb/viewtopic.php?post_id=171138&topic_id=37755&forum=30#forumpost171138
If you think, this is spam, please report this to webmaster@xxxxxxxxxxxxxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux