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, falling back to nobody"
> 
> I am not sure where to specify an appropriate user (and possibly how and
> what). Help, please?
> 
> In /etc/default/spamassassin I have...

AFAIK, /etc/default/spamassassin is no longer used. The config
file in Debian is now "/etc/default/spamd". This is what I have
on my new bookworm machine.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


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 am not sure where to specify an appropriate user (and possibly how 
and what). Help, please?



In /etc/default/spamassassin I have...

OPTIONS="--nouser-config -4 -i 127.0.0.1 --max-children=5 
--helper-home-dir=/var/lib/spamassassin -u debian-spamd"


PIDFILE="/run/spamd.pid"

CRON=1


since SA 4, spamd uses /etc/default/spamd

I don't use -u option, so spamd setuids to user spamc provides, this allows 
spamd use per-user configuration files.


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"They say when you play that M$ CD backward you can hear satanic messages."
"That's nothing. If you play it forward it will install Windows."


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 with -u, not found, 
or set to root, falling back to nobody"


I am not sure where to specify an appropriate user (and possibly how 
and what). Help, please?


If you do not understand very specifically WHY you NEED spamd to run as 
some specific other user, DO NOT DO IT. If your only reason for asking 
this is the log entry, just forget about it.


'man spamd' provides more info.


--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire


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 user (and possibly how and 
what). Help, please?


In /etc/default/spamassassin I have...

OPTIONS="--nouser-config -4 -i 127.0.0.1 --max-children=5 
--helper-home-dir=/var/lib/spamassassin -u debian-spamd"


PIDFILE="/run/spamd.pid"

CRON=1