Filter Settings

General Settings

Max servers - max_servers
The number of pre-forked children created by Amavis. Raising this will speed up how fast Amavis processes emails at the cost of using more memory. A setting of 1-2 is recommended for low volume servers, 3-5 for medium volume servers, and 6-8 for high volume servers. Note that each child process will typically use 250-300MB of memory.
Default: 3

Max requests - max_requests
The number of requests for an amavis child process before it is retired.
Default: 20

My hostname - myhostname
The hostname of the server. This must be a fully qualified domain name.
Default: host.example.com

My domain - mydomain
The domain name of the server. This should be set to the domain name only (not the hostname). This is used by Amavis in various places like in the X-Virus-Scanned header.
Default: example.com

My networks - mynetworks
An IP access list which determines if the original SMTP client IP address belongs to our internal networks, i.e. mail is coming from inside. It is much like the Postfix parameter "mynetworks" in semantics and similar in syntax, and its value should normally match the Postfix counterpart.
Default: 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16

Log Settings

Log level - log_level
The Amavis debugging log level.
Default: 0

Log template - log_templ
The log template used by amavis. Use simple for busy servers or verbose if you want to log more information including matched rule scores.
Default: $log_short_templ

Use syslog - DO_SYSLOG
Enable logging to syslog and the mail log instead of logging to a separate amavisd log file. Extremely busy servers might want to uncheck this so that amavis will log to a seperate log file.
Default: 1

Log file - LOGFILE
The log file to log to when use syslog is disabled.
Default: /var/log/amavisd.log

SpamAssassin debug - sa_debug
A comma seperated list of SpamAssassin plugins to debug. Use "all" to debug all plugins.
Default: info

MTA Interface

Localhost name - localhost_name
The EHLO name used to identify the domain name of the sending host to SMTP.
Default: your hostname

Inet ACL - inet_acl
Allow SMTP access only from these networks.
Default: 127.0.0.1 [::1]

Mail Forwarding

Final spam destiny - final_spam_destiny
The action should be taken when an spam message is found.
Default: D_REJECT when the amavisd-milter is installed and D_DISCARD when amavisd-milter is not installed.

Final virus destiny - final_virus_destiny
The action should be taken when an virus message is found.
Default: D_REJECT when the amavisd-milter is installed and D_DISCARD when amavisd-milter is not installed.

Final banned file destiny - final_banned_destiny
The action should be taken when a message with a banned attachment is found.
Default: D_REJECT

Final bad header destiny - final_bad_header_destiny
The action should be taken when a message with bad mail header is found.
Default: D_REJECT

Final unchecked destiny - final_unchecked_destiny
The final action that should be taken when a message cannot be scanned by the anti-virus scanner.
Default: D_REJECT