User manual
Configuration
Avira GmbH Avira AntiVir MailGate 29
MyHostName
Host name:
FQDN (Fully Qualified Domain Name) of the local host.
If not set, the default setting is given by gethostname(2). Otherwise, the 
default is:
MyHostName localhost
SpoolDir
Spool directory:
Emails are kept in the sub-directories incoming, rejected and outgoing while being 
processed.
The spool directory must belong to the user defined under User and the associated 
Group and must only be accessible to this user (mode=700).
SpoolDir /var/spool/avmailgate
AntiVirDir
AntiVir directory:
The library directory of AntiVir MailGate, including virus definition files 
antivir*.vdf and the license file. If you use AntiSpam, do not modify the default 
AntiVir directory:
AntiVirDir /usr/lib/AntiVir
Temporary Dir
Temporary directory:
This directory contains temporary files (such as attachments currently being 
scanned for viruses or unwanted programs). Sufficient space is required for 
unpacked attachments. If not set, the TMPDIR environment variable will be used. 
Default:
TemporaryDir /var/tmp
MatchMail
AddressFor
Local
Check domain name:
This option determines whether the domain names of RECIPIENT, SENDER or 
BOTH addresses should be matched with the entries in the local:section in 
avmailgate.acl, in order to accept the email.
For more information, see Hosts Configuration in avmailgate.acl – Page 47. 
Default is:
MatchMailAddressForLocal RECIPIENT
SMTPBanner
SMTP message:
Sets the headers sent by MailGate. You can edit the text, for example, if you do not 
want to reveal the type of security software. Default is:
SMTPBanner "AntiVir MailGate"
If you want to use a single tmp directory for all MailGate components, you can change the 
option TemporaryDir in /etc/avmailgate.conf, and ScanTemp in avmailgate-
scanner.conf
.










