Yes, correctly, so works. 
But earlier the first process was launched from root, and others from a
mail.


[root@root mail]# ps -Af | grep dbmail-pop
root     17586     1  0 Jan26 ?        00:00:02 /usr/sbin/dbmail-pop3d
mail     18173 17586  0 Jan26 ?        00:03:01 /usr/sbin/dbmail-pop3d
mail     29122 18173  0 11:57 ?        00:00:02 /usr/sbin/dbmail-pop3d
mail     29645 18173  0 Jan27 ?        00:00:17 /usr/sbin/dbmail-pop3d
mail     29684 18173  0 Jan27 ?        00:00:15 /usr/sbin/dbmail-pop3d
mail     29686 18173  0 Jan27 ?        00:00:14 /usr/sbin/dbmail-pop3d
mail     29689 18173  0 Jan27 ?        00:00:13 /usr/sbin/dbmail-pop3d
mail     31294 18173  0 14:55 ?        00:00:00 /usr/sbin/dbmail-pop3d
root     32368 18563  0 16:17 pts/1    00:00:00 grep dbmail-pop


Paul J Stevens wrote:
> 
> On 01/31/2012 11:01 AM, Maxim Z. wrote:
> 
> Privileges are dropped as soon as possibe: right after binding the socket.
> 
> The pid file and log-files need to be writable by the effective user.
> That is why for debian I use a /var/run/dbmail/ and /var/log/dbmail/
> directory respectively which are owned by the effective user.
> 
> 
> logfile               = /var/log/dbmail/dbmail.log
> errorlog              = /var/log/dbmail/dbmail.err
> pid_directory         = /var/run/dbmail
> 
> So the startup script you deploy needs to make sure at least the pid
> directory exists, and is writable by the effective user.
> 
> 
> -- 
> ________________________________________________________________
> Paul J Stevens        pjstevns @ gmail, twitter, skype, linkedin
> 
>   * Premium Hosting Services and Web Application Consultancy *
> 
>            www.nfg.nl/[email protected]/+31.85.877.99.97
> ________________________________________________________________
> _______________________________________________
> DBmail mailing list
> [email protected]
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
> 
> 

-- 
View this message in context: 
http://old.nabble.com/dbmail-daemons-not-run-from-under-root-tp33234665p33235686.html
Sent from the dbmail users mailing list archive at Nabble.com.

_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to