> >> Upon further investigation, I found that this still happens here, as > >> well: However, for me, the odd things is this only happens when "amavisd > >> reload or amavisd stop/start" is executed from within my home directory. > >> If executed anywhere outside of my home directory, no errors are seen. > >> The only other thing I noticed when executing from within my home > >> directory, but again not if executed outside of my home directory, is > >> the following entry in my maillog:
It looks like a problem reported to me by Tuomo Soini on Apr 29 2008: Some notes: pid file creation was changes from 2.5.4 to 2.6.0 so that 2.6.0 can't open pid file in /var/run any more, pid file must be in dir owned by amavis user. I could work around this by moving amavisd pid to /var/run/amavis/amavisd.pid I noticed that problem with perl module loading was caused by selinux denying access to some paths on filesystm and my_require errorously catching this as permission problem while module was really loading. This patch did fix it on my system: --- amavisd.bak 2008-04-29 21:46:51.000000000 +0300 +++ amavisd 2008-04-29 22:18:26.000000000 +0300 @@ -189,7 +189,7 @@ local($_) = $m; $_ .= /^auto::/ ? '.al' : '.pm' if !m{^/} && !m{\.(pm|pl|al|ix)\z}; s{::}{/}g; - eval { my_require $_ } + eval { require $_ } or do { my($eval_stat) = $@ ne '' ? $@ : "errno=$!"; chomp $eval_stat; push(@missing,$m); With these two changes I got 2.6.0 running on my selinux secured rhel5 based mail server. -- Tuomo Soini <[EMAIL PROTECTED]> Foobar Linux services +358 40 5240030 Foobar Oy <http://foobar.fi/> ------------------------------------------------------------------------- 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 AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/