Re: spamd: still running as root

2023-10-31 Thread Matus UHLAR - fantomas
spamd" I assume that's ok. Matus UHLAR - fantomas skrev den 2023-10-31 11:48: yes, although --create-prefs is useless when you use --nouser-config On 31.10.23 17:51, Benny Pedersen wrote: and --create-prefs needs root ? no. Even if you keep spamd running as root, it won'

Re: spamd: still running as root

2023-10-31 Thread Benny Pedersen
Matus UHLAR - fantomas skrev den 2023-10-31 11:48: On 31.10.23 09:10, Linkcheck via users wrote: Thanks, Matus. So nice when these little changes creep up on you. :) I have merged the new OPTIONS with my old one... OPTIONS="--create-prefs --nouser-config -4 -i 127.0.0.1 --max-children=5 --hel

Re: spamd: still running as root

2023-10-31 Thread Linkcheck via users
> yes, although --create-prefs is useless when you use --nouser-config Thanks. I'll look at the docs.

Re: spamd: still running as root

2023-10-31 Thread Matus UHLAR - fantomas
On 31.10.23 09:10, Linkcheck via users wrote: Thanks, Matus. So nice when these little changes creep up on you. :) I have merged the new OPTIONS with my old one... OPTIONS="--create-prefs --nouser-config -4 -i 127.0.0.1 --max-children=5 --helper-home-dir=/var/lib/spamassassin -u debian-spamd"

Re: spamd: still running as root

2023-10-31 Thread Linkcheck via users
Thanks, Vincent. I hadn't spotted that.

Re: spamd: still running as root

2023-10-31 Thread Linkcheck via users
Thanks, Matus. So nice when these little changes creep up on you. :) I have merged the new OPTIONS with my old one... OPTIONS="--create-prefs --nouser-config -4 -i 127.0.0.1 --max-children=5 --helper-home-dir=/var/lib/spamassassin -u debian-spamd" I assume that's ok.

Re: spamd: still running as root

2023-10-30 Thread Vincent Lefevre
On 2023-10-30 16:45:31 +, Linkcheck via users wrote: > I have just updated Debian to Bookworm in order to install SA 4. Very few > problems so far but the postfix log is giving: > > "spamd: still running as root: user not specified with -u, not found, or set > to root, fa

Re: spamd: still running as root

2023-10-30 Thread Matus UHLAR - fantomas
On 30.10.23 16:45, Linkcheck via users wrote: I have just updated Debian to Bookworm in order to install SA 4. Very few problems so far but the postfix log is giving: "spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody" I a

Re: spamd: still running as root

2023-10-30 Thread Bill Cole
On 2023-10-30 at 12:45:31 UTC-0400 (Mon, 30 Oct 2023 16:45:31 +) Linkcheck via users is rumored to have said: I have just updated Debian to Bookworm in order to install SA 4. Very few problems so far but the postfix log is giving: "spamd: still running as root: user not specified wi

spamd: still running as root

2023-10-30 Thread Linkcheck via users
I have just updated Debian to Bookworm in order to install SA 4. Very few problems so far but the postfix log is giving: "spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody" I am not sure where to specify an appropriate

Re: Running as root.

2013-07-15 Thread RW
On Mon, 15 Jul 2013 17:26:12 -0600 Amir 'CG' Caspi wrote: > At 12:05 AM +0100 07/16/2013, RW wrote: > >OTOH when I just tried this in 3.3.2, spamd didn't to pick-up a test > >rule I added to ~/.spamassassin/user_prefs (which worked with the > >spamassassin script). > > Do you have allow_user_rule

Re: Running as root.

2013-07-15 Thread Amir 'CG' Caspi
At 12:05 AM +0100 07/16/2013, RW wrote: OTOH when I just tried this in 3.3.2, spamd didn't to pick-up a test rule I added to ~/.spamassassin/user_prefs (which worked with the spamassassin script). Do you have allow_user_rules enabled in your local.cf? According to http://spamassassin.apache.o

Re: Running as root.

2013-07-15 Thread RW
ser running "spamc", if "spamd" is running as root. so presumably the children would need to start as root to setuid to the unix user running spamc. The mail would then be scanned as an unprivileged user whilst retaining access to the user's home directory, so it

Re: Running as root.

2013-07-15 Thread David B Funk
On Mon, 15 Jul 2013, Jari Fredriksson wrote: 15.07.2013 19:51, Benny Pedersen kirjoitti: Christian Dysthe skrev den 2013-07-15 15:16: Spamassassin runs fine but I have one remaining error message in the logs: spamd: still running as root: user not specified with -u spamd uses default port

Re: Running as root.

2013-07-15 Thread Martin Gregorie
On Mon, 2013-07-15 at 22:14 +0300, Jari Fredriksson wrote: > 15.07.2013 19:51, Benny Pedersen kirjoitti: > > Christian Dysthe skrev den 2013-07-15 15:16: > > > >> Spamassassin runs fine but I have one remaining error message in the > >> logs: > >> spamd:

Re: Running as root.

2013-07-15 Thread Jari Fredriksson
15.07.2013 19:51, Benny Pedersen kirjoitti: > Christian Dysthe skrev den 2013-07-15 15:16: > >> Spamassassin runs fine but I have one remaining error message in the >> logs: >> spamd: still running as root: user not specified with -u > > spamd uses default por

Re: Running as root.

2013-07-15 Thread Benny Pedersen
Axb skrev den 2013-07-15 15:35: spamd: still running as root: user not specified with -u as per ye ole SA docs on http://spamassassin.apache.org/doc.html http://spamassassin.apache.org/full/3.3.x/doc/spamd.html -u username, --username=username Run as username hopefully ubuntu maintainers

Re: Running as root.

2013-07-15 Thread Benny Pedersen
Christian Dysthe skrev den 2013-07-15 15:16: Spamassassin runs fine but I have one remaining error message in the logs: spamd: still running as root: user not specified with -u spamd uses default port 783, with is below 1024 imho :=) only ports over 1023 can run as daemons without started

Re: Running as root.

2013-07-15 Thread Christian Dysthe
On Mon, Jul 15, 2013 at 9:10 AM, Jari Fredriksson wrote: > 15.07.2013 16:16, Christian Dysthe kirjoitti: >> Hi, >> >> Spamassassin runs fine but I have one remaining error message in the logs: >> >> spamd: still running as root: user not specified with -u >

Re: Running as root.

2013-07-15 Thread Jari Fredriksson
15.07.2013 16:16, Christian Dysthe kirjoitti: > Hi, > > Spamassassin runs fine but I have one remaining error message in the logs: > > spamd: still running as root: user not specified with -u > > I have looked around trying to figure out what to do about this but no > lu

Re: Running as root.

2013-07-15 Thread Axb
On 07/15/2013 03:16 PM, Christian Dysthe wrote: Hi, Spamassassin runs fine but I have one remaining error message in the logs: spamd: still running as root: user not specified with -u I have looked around trying to figure out what to do about this but no luck so far. Maybe someone here

Running as root.

2013-07-15 Thread Christian Dysthe
Hi, Spamassassin runs fine but I have one remaining error message in the logs: spamd: still running as root: user not specified with -u I have looked around trying to figure out what to do about this but no luck so far. Maybe someone here could let me know how to fix this? I'm running U

Re: Spamd still running as root?

2009-03-14 Thread LuKreme
On 14-Mar-2009, at 13:31, Kai Schaetzl wrote: bddd1...@kreme.com> Reply-To: users@spamassassin.apache.org LuKreme wrote on Sat, 14 Mar 2009 10:20:49 -0600: Since I have both local and virtual users I don't see any choice but to run sa-learn as root. which means you want to run a "sitewide ba

Re: Spamd still running as root?

2009-03-14 Thread Kai Schaetzl
bddd1...@kreme.com> Reply-To: users@spamassassin.apache.org LuKreme wrote on Sat, 14 Mar 2009 10:20:49 -0600: > Since I have both local and virtual users I don't see any choice but > to run sa-learn as root. which means you want to run a "sitewide bayes". Oh, I'm repeating myself, sorry. Kai

Re: Spamd still running as root?

2009-03-14 Thread LuKreme
On 13-Mar-2009, at 11:31, RobertH wrote: i am guessing that he does not run SA as the vpopmail user, although i could be wrong. even so, UID and GID matters when running sa-learn, and if i cannot read the files it is processing because they do not have the required perms or UID/GID, then it

Re: Spamd still running as root?

2009-03-14 Thread LuKreme
On 13-Mar-2009, at 11:31, RobertH wrote: i am guessing that he does not run SA as the vpopmail user, although i could be wrong. even so, UID and GID matters when running sa-learn, and if i cannot read the files it is processing because they do not have the required perms or UID/GID, then it

RE: Spamd still running as root?

2009-03-13 Thread RobertH
> > I suggested to read up on "sitewide bayes". Did you? > > > ls -axl /usr/local/virtual/ash...@example.com/ > > This stuff is not of interest to SA at all. The bayes db and > the AWL is. > If you cannot change ownership of that directory or of the db > files, you have to move them elsewhe

Re: Spamd still running as root?

2009-03-11 Thread Kai Schaetzl
I suggested to read up on "sitewide bayes". Did you? > ls -axl /usr/local/virtual/ash...@example.com/ This stuff is not of interest to SA at all. The bayes db and the AWL is. If you cannot change ownership of that directory or of the db files, you have to move them elsewhere. Cut the connection

Re: Spamd still running as root?

2009-03-11 Thread LuKreme
On 11-Mar-2009, at 09:34, RobertH wrote: ls -axl on all those subdirectories, what do you see ? drwx--6 vpopmail postfix512 Feb 11 2005 as...@example.com $ ls -axl /usr/local/virtual/ash...@example.com/ total 16 drwx-- 6 vpopmail postfix 512 Feb 11 2005 . drwxr-xr-x 9

RE: Spamd still running as root?

2009-03-11 Thread RobertH
> From: LuKreme > Not *A* virtual mail account, *the* virtual mail account; > that is, the account that owns /usr/local/virtual and all the > files and directories in it. > LuKreme, it appeared to me that you were setup as vpopmail UID aka *user* in administration, as you well know, you als

Re: Spamd still running as root?

2009-03-11 Thread LuKreme
> LuKreme wrote on Tue, 10 Mar 2009 23:49:31 -0600: > >> er... not sure, I installed from ports ages ago. > > and which SA version is it then? > >> /usr/local/virtual/.spamassasin and the files therein are all owned by >> the virtual mail account. > > virtual mail account? How can a *virtual* mail

Re: Spamd still running as root?

2009-03-11 Thread Kai Schaetzl
LuKreme wrote on Tue, 10 Mar 2009 23:49:31 -0600: > er... not sure, I installed from ports ages ago. and which SA version is it then? > /usr/local/virtual/.spamassasin and the files therein are all owned by > the virtual mail account. virtual mail account? How can a *virtual* mail account be

Re: Spamd still running as root?

2009-03-11 Thread LuKreme
On 10-Mar-2009, at 17:24, LuKreme wrote: On 10-Mar-2009, at 17:11, LuKreme wrote: I moved aside the spamd.sh file in /usr/local/etc/rc.d/ and reinstalled SA again. No new spamd.sh was installed. Ah.. well, it installed a startup script named sa-spamd well, that's better at least. Well, the

Re: Spamd still running as root?

2009-03-10 Thread LuKreme
On 10-Mar-2009, at 17:11, LuKreme wrote: I moved aside the spamd.sh file in /usr/local/etc/rc.d/ and reinstalled SA again. No new spamd.sh was installed. Ah.. well, it installed a startup script named sa-spamd well, that's better at least. -- Mac OSX - Because making Unix user-friendly was

Re: Spamd still running as root?

2009-03-10 Thread LuKreme
On 10-Mar-2009, at 16:31, Kai Schaetzl wrote: LuKreme wrote on Tue, 10 Mar 2009 14:58:01 -0600: I've tried looking, but don't know what spamd should be running as. As the user that is specified in the init script. Create a new user named spamd. Use a correct init script and not what you go

Re: Spamd still running as root?

2009-03-10 Thread Kai Schaetzl
LuKreme wrote on Tue, 10 Mar 2009 14:58:01 -0600: > I've tried looking, but don't know what spamd should be running as. As the user that is specified in the init script. Create a new user named spamd. Use a correct init script and not what you got in /usr/local/etc/rc.d/spamd.sh Isn't there one

Spamd still running as root?

2009-03-10 Thread LuKreme
What should I do about "still running as root" messages? Mar 10 14:44:30 mail spamd[290]: spamd: connection from localhost [127.0.0.1] at port 62538 Mar 10 14:44:30 mail spamd[290]: spamd: setuid to root succeeded Mar 10 14:44:30 mail spamd[290]: spamd: still running as root:

Re: spamd: still running as root:

2008-01-08 Thread Duane Hill
On Mon, 07 Jan 2008 23:31:00 -0800 Noah <[EMAIL PROTECTED]> wrote: > > Hi there, > > how do I track down and correct the following error. I have > spamassassin install on a FreeBSD machine. > > Jan 7 23:29:26 typhoon spamd[62450]: spamd: still running as root: &

Re: spamd: still running as root:

2008-01-08 Thread Per Jessen
Noah wrote: > how do I track down and correct the following error. I have > spamassassin install on a FreeBSD machine. > > Jan 7 23:29:26 typhoon spamd[62450]: spamd: still running as root: > user not specified with -u, not found, or set to root, falling back to > nobody Fi

spamd: still running as root:

2008-01-07 Thread Noah
Hi there, how do I track down and correct the following error. I have spamassassin install on a FreeBSD machine. Jan 7 23:29:26 typhoon spamd[62450]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody # pkg_info | grep Spam p5

running as root!

2006-01-09 Thread Sean .
chives and couldn't find the answer. Lastly, I see the following in my logs; Jan 9 15:10:01 sphere spamd[3512]: spamd: setuid to root succeeded Jan 9 15:10:01 sphere spamd[3512]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody at

Re: spamd running as root

2005-05-17 Thread Matt Kettler
At 05:42 PM 5/16/2005, Saurabh Barve wrote: To fix this, I tried to run spamd as the user `mail'. However, when I try that, I get the error that 'spamd does not have permissions to write to /root'. How do I get spamd to know that mail's home directory is at /var/spool/mail. Set mail's homedir to

Re: spamd running as root

2005-05-17 Thread Saurabh Barve
Matt Kettler wrote: At 05:42 PM 5/16/2005, Saurabh Barve wrote: To fix this, I tried to run spamd as the user `mail'. However, when I try that, I get the error that 'spamd does not have permissions to write to /root'. How do I get spamd to know that mail's home directory is at /var/spool/mail.

spamd running as root

2005-05-17 Thread Saurabh Barve
Hi, OS - Fedora Core 2 SpamAssassin - version 3.0.3 I have the following options set for spamd in /etc/sysconfig/spamassassin: SPAMDOPTIONS="-d -c -m5 -H" But I keep getting this message in my logs: spamd[19758]: info: setuid to root succeeded spamd[19758]: Still running as root

Re: Still running as root?

2004-09-14 Thread Henry Kwan
Dan Mahoney, System Admin prime.gushi.org> writes: > > On Tue, 14 Sep 2004, John Fleming wrote: > > It's in the manual. Add the following line to your system wide procmail > file: > > DROPPRIVS=YES > > -Dan > That was it. Problem solved. Thanks for the tip. I looked on the wiki and in

Re: Still running as root?

2004-09-14 Thread Dan Mahoney, System Admin
eeded spamd[15901]: Still running as root: user not specified with -u, not found, or set to root. Fall back to nobody. I get this if I call spamc from /etc/procmailrc. However, if I call from individual users' .procmailrc files, it runs as that user, and stats (sa-stats.pl) generated from the ma

Re: Still running as root?

2004-09-14 Thread John Fleming
> > another machine. Everything installs fine (make tests=100%) and seem to > run > > but in /var/log/maillog, I get these entries: > > > > info: setuid to root succeeded > > spamd[15901]: Still running as root: user not specified with -u, not > found, > >

Re: Still running as root?

2004-09-14 Thread Loren Wilton
Which version of SA? This sounds like a problem in some of the earlier cuts at 3.0. Loren > another machine. Everything installs fine (make tests=100%) and seem to run > but in /var/log/maillog, I get these entries: > > info: setuid to root succeeded > spamd[15901]: S

Still running as root?

2004-09-13 Thread Henry Kwan
Hi. I've been running SA for awhile now and recently tried to install it on another machine. Everything installs fine (make tests=100%) and seem to run but in /var/log/maillog, I get these entries: info: setuid to root succeeded spamd[15901]: Still running as root: user not specified wi