Several changes need to be made to the file
/etc/amavisd.conf. This file will be parsed as Perl source and syntax is important. Each line should end in a semicolon, and the casing is important. The following variable declaration lines should be changed:
$MYHOME = '/home/amavis'; $mydomain = 'domain.com'; $daemon_user = 'amavis'; $daemon_group = 'amavis'; $max_servers = 5; # number of pre-forked children (default 2) $max_requests = 10; # retire a child after that many accepts (default 10) $child_timeout=60;# abort child if it does not complete each task in n sec
Ensure that the correct domain is specified for
$mydomain. The number
5 specified for
$max_servers is the number of daemons that will be run.