Helmut,
> > 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.:
> > # amavisd -R /var/amavis
The following patch should fix the problem:
--- amavisd.orig 2008-04-23 20:50:05.000000000 +0200
+++ amavisd 2008-05-28 14:52:51.000000000 +0200
@@ -12550,6 +12550,5 @@
if ($> != 0 && $< != 0) {} # dropping of privs is not needed
-elsif (defined $daemon_chroot_dir_override &&
- $daemon_chroot_dir_override ne '') {
+elsif (defined $daemon_chroot_dir && $daemon_chroot_dir ne '') {
# dropping of privs now would prevent later chroot and is to be skipped
} else { # drop privileges, unless needed for chrooting
Mark
-------------------------------------------------------------------------
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/