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: 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 as root
> >
> > if you like to change the problem, i will say apache does the same
> > problem on port 80, is there any secureity problem with that ?, well
> > apache start as root yes, but it drops priveledges for port 80 when
> > started, if spamd does the same its perfectly ok
> >
> spamd starts as root anyway, then it changes to the given user. I think
> it goes this way.
> 
Yep. Its manual says that if its started as root, for each message it
receives it will switch to the user set by the spamc -u option or
(default) the user spamc is run under.


Martin



Reply via email to