For those interested, I modified the start section in /etc/init.d/amavisd to the following:

Pasting a patch is more readable.

Also, contribute to Amavisd project directly to fix this issue in init script would be great.

]]>http://www.iredmail.org/forum/user2.html2011-08-20T03:10:48Zhttp://www.iredmail.org/forum/post11136.html#p11136Thanks Zhang. I am going to edit the init and see how it goes. Since I already rebooted to fix the issue for now, time will tell. Also, I believe you meant /var/amavis/amavisd.lock and /var/amavis/amavisd.pid above.

----I know I could of just easily checked for the pid from /var/amavis/amavisd.pid, but I wanted to confirm that no process was running outside of a service.

]]>http://www.iredmail.org/forum/user4546.html2011-08-20T02:15:53Zhttp://www.iredmail.org/forum/post11135.html#p11135Make sure Amavisd is not running, then remove /var/amavis/amavis.lock and /var/amavis/amavis.pid, restarting Amavisd again. It should work now.

It's considered as a bug in Amavisd startup script /etc/init.d/amavisd.