Re: Spamassasin running as root!
--On July 24, 2008 7:26:06 PM -0700 lyd mc <[EMAIL PROTECTED]> wrote: Hi guys, My maillog complain like this: Jul 25 09:40:06 MAIL spamd[67623]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody Jul 25 09:40:13 MAIL spamd[67623]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /nonexistent/.spamassassin/auto-whitelist.lock.MAIL.67623 for /nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory I google it and found out that i need to run spamd with '-u ' flag. From BSD guide website spamd has a flag of '-u qscand'. However, there is no detail on how the qscand user has been created. How to create a user for spamd correctly or securely? man (8) pw pw useradd qscand -s /sbin/nologin Paul Schmehl If it isn't already obvious, my opinions are my own and not those of my employer.
Re: Spamassasin running as root!
lyd mc wrote: Hi guys, My maillog complain like this: Jul 25 09:40:06 MAIL spamd[67623]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody Jul 25 09:40:13 MAIL spamd[67623]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /nonexistent/.spamassassin/auto-whitelist.lock.MAIL.67623 for /nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory I google it and found out that i need to run spamd with '-u ' flag. >From BSD guide website spamd has a flag of '-u qscand'. However, there is no detail on how the qscand user has been created. How to create a user for spamd correctly or securely? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" What do you have in /etc/rc.conf, I have spamd_enable="YES" spamd_flags="-u spamd -H /var/spool/spamd" In my case, the spamd user got created automagically. Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Spamassasin running as root!
On Jul 24, 2008, at 7:26 PM, lyd mc wrote: How to create a user for spamd correctly or securely? You should have had a spamd user & group created automatically from / usr/ports/mail/p5-Mail-SpamAssassin/pkg-install. If you aren't using ports, well, you should start doing so. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Spamassasin running as root!
Thnx chuck. I use ports to install p5-Mail-SpamAssassin, and I have also spamd user. I will try Brian config. Regards, alydmc >From [EMAIL PROTECTED]: What do you have in /etc/rc.conf, I have spamd_enable="YES" spamd_flags="-u spamd -H /var/spool/spamd" In my case, the spamd user got created automagically. --- On Fri, 7/25/08, Chuck Swiger <[EMAIL PROTECTED]> wrote: From: Chuck Swiger <[EMAIL PROTECTED]> Subject: Re: Spamassasin running as root! To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Friday, July 25, 2008, 10:37 AM On Jul 24, 2008, at 7:26 PM, lyd mc wrote: > How to create a user for spamd correctly or securely? You should have had a spamd user & group created automatically from / usr/ports/mail/p5-Mail-SpamAssassin/pkg-install. If you aren't using ports, well, you should start doing so. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Spamassasin running as root!
Thanks guy! Regards, alydmc From: [EMAIL PROTECTED] man (8) pw pw useradd qscand -s /sbin/nologin From: [EMAIL PROTECTED] What do you have in /etc/rc.conf, I have spamd_enable="YES" spamd_flags="-u spamd -H /var/spool/spamd" In my case, the spamd user got created automagically. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Spamassasin running as root!
Hi guys, My maillog complain like this: Jul 25 09:40:06 MAIL spamd[67623]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody Jul 25 09:40:13 MAIL spamd[67623]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /nonexistent/.spamassassin/auto-whitelist.lock.MAIL.67623 for /nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory I google it and found out that i need to run spamd with '-u ' flag. >From BSD guide website spamd has a flag of '-u qscand'. However, there is no >detail on how the qscand user has been created. How to create a user for spamd correctly or securely? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"