Add this to the end of the file, and be sure to mirror Amavisd.conf both inside and outside the chroot jail.
Add this to the end of the file.
Now you must ask yourself a question: How is Amavisd-new going to access the Sophie UNIX socket? You can modify the file so that it is created in /var/lib/amavis/tmp, or you can just remove Amavisd-new from it's chroot jail.
Go back and add the following to your amavisd.conf file:
# Viral settings
$virus_admin = "virusalert\@$mydomain";
$viruses_that_fake_sender_re = new_RE(
qr'nimda|hybris|klez|bugbear|yaha|braid|sobig|fizzer|palyh|peido|holar'i,
qr'tanatos|lentin|bridex|mimail|trojan\.dropper'i,
);
# If you want quarantined viruses to go here
#$QUARANTINEDIR = '/var/virusmails';
Now you must ask yourself a question: How is Amavisd-new going to access the Sophie UNIX socket? You can modify the file so that it is created in /var/lib/amavis/tmp, or you can just remove Amavisd-new from it's chroot jail.