- $mydomain = 'yourdomain.org';
Configure this string to your default domain. You will find a reference to $mydomain quite often in the configuration file. So you know where you find it.
- @bypass_virus_checks_acl = qw( . );
If this line is commented out (has a '#' at the beginning of the line) then virus checks are enabled.
- @bypass_spam_checks_acl = qw( . );
If this line is commented out (has a '#' at the beginning of the line) then spam checks are enabled.
- @local_domains_acl = ( "$mydomain" );
This is a list of all domains that you are hosting. When an email passes your mail server this setting is used to determine if the mail is outgoing or incoming. Outgoing mail will not be scanned.
- $final_virus_destiny = D_REJECT;
The default is to just throw away infected mails. I tend to reject them.
- $final_banned_destiny = D_REJECT;
This defines how to handle emails with banned attachment types. Many MIME types like PIF, EXE, COM or DOC files are infected. You may choose later which types you do not like.
- $final_spam_destiny = D_PASS;
This defines what to do with emails that are classified as spam. You may wonder why I suggest you let these emails pass. My users would get upset if I just threw away emails that a machine has found to be spam. In any case a line "X-Spam-Status" is added to the mail header. So users can configure they email clients to handle mails differently depending on the spam status.
- $sa_tag_level_deflt = -1000;
AMaViS rates every mail with a "spam score". Usually spam has levels of 5-10. You will get "X-Spam-Status" header lines added to the email if the spam score is above this value. I set it to -1000 because I want all mail to get the header lines.
- $sa_tag2_level_deflt = 5.0;
If the spam score is higher than this value then the mail will be flagged as spam. This is done by adding a header line "X-Spam-Status: Yes".
- $sa_kill_level_deflt = 10;
If the spam score is higher than this value AMaViS start to take action on the mail. The action is defined by $final_spam_destiny.
- $sa_spam_subject_tag = '***SPAM*** ';
If you like to have the email subject altered to make spam mails more visible then you can have it rewritten. This string will be added if spam is detected.
- @av_scanners = ( ...
This is a section where you can configure one or more virus scanner. Many common scanners are already preconfigured and just need to have the comment sign ('#') removed from the lines. You are also free to add your own command-line virus scanner here. For the beginning I suggest you just enable ClamAV and comment out all other entries.