jacksonbenete wrote:
Sun Mar 24 21:39:58 2013 -> ERROR: daemonize() failed: Cannot allocate memory
It's now clear that ClamAV cannot start due to lack of memory. You can either add more memory or disable virus scanning on this server by following below steps:
1. Disable virus scanning in Amavisd. Find below line in /etc/amavis/conf.d/*.
# @bypass_virus_checks_maps = (1); # controls running of anti-virus code
Note: There may be duplicate lines in several lines, make sure you have only one enabled.
2. Remove the first '# ', then restart Amavisd service.
# /etc/init.d/amavis restart
3. Disable ClamAV services.
# update-rc.d remove clamav-daemon
# update-rc.d remove clamav-freshclam
4. Now flush the queue and try to send a testing email with Roundcube webmail.
# postqueue -f