3.2 Amavis Configuration

Amavis is generally in its default configuration. The following exceptions are noted:

$max_servers = 1;  # number of pre-forked children (2-15 is common)

@local_domains_maps = ();
#@local_domains_maps = ( [".$mydomain", "vismor.com"] );

$log_level = 2;               # verbosity 0..5
$sa_dsn_cutoff_level = 6.31;  # spam level beyond which a DSN is not sent.
$virus_admin = "root\@redbud.$mydomain";    # notifications recip.
$final_banned_destiny = D_REJECT;

['ClamAV-clamd',
  &ask_daemon, ["CONTSCAN {}\n", "/var/run/clamd.amavis/clamd.sock"],
  qr/\bOK$/, qr/\bFOUND$/,
  qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],