On Thu, May 29, 2008 at 08:50:15AM +0300, Tuomo Soini wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Mark Martinec wrote:
> |
> | Indeed, thanks for a bug report, amavisd-new-2.6.0 drops privileges
> | too early. Until I have this fixed, please provide a chroot directory
> | through a command line using option -R, e.g.:
> |
> Another problem with 2.6.0 is that it drops privileges too early and
> can't open pid file in /var/run.

Why /var/run? By default it's $MYHOME/amavisd.pid. From securitys point of
view, there is no reason to write files as root. Or to even start amavisd as
root if you are not chrooting.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to