Configuration
Avira GmbH
Avira AntiVir MailGate
46
5.4
Scanner Configuration in avmailgate-scanner.conf
A new configuration file has been introduced, starting with MailGate v 3.0.0:
avmailgate-scanner.conf
. It contains configuration options specific to the new
scanner backend. Usually, you don't have to change the options in this file, but
there might be a few exceptions.
User,
Group
If you change one of these options, you have to make sure that the files
avmailgate-scanner.conf
and
avmailgate.conf
contain the same values for these
options.
You also have to adapt
avmailgate-scanner.conf
if you updated from a previous
MailGate version (< 3.0.0) and the current settings for
User/Group
differ from
the default settings. Defaults:
User uucp
Group antivir
There are some other changes needed when changing
User/Group
:
In /etc/avmailgate-scanner.conf:
•
Change the owner/group of the path given with
ListenAddress
(The
option consists of a path and a socket file. Don't forget to stop MailGate
before making any changes. If the socket file exists, delete it and only change
the owner/group of the directory.)
In /etc/avmailgate.conf:
•
Change the option
User/Group
•
Change the owner/group of the directory and its sub directories given with
SpoolDir
(default:
/var/spool/avmailgate
).
Socket
Permissions
The owner and permissions of the scanner backend's socket. The scanner backend
must run as the same user as MailGate runs.
SocketPermissions 0600
ListenAddress
ListenAddress (in
avmailgate-scanner.conf
) and ScannerListenAddress (in
avmailgate.conf
) specify how the scanner backend can be reached. Both options
must point to the same path (the string "unix:" must not be used with the option
ScannerListenAddress):
ListenAddress unix:/var/run/avmailgate/scanner
In /etc/avmailgate.conf:
ScannerListenAddress /var/run/avmailgate/scanner
UseSavapi
Proxy
To make scanning processes more efficient, you can use a given pool of scanners.
Please note that too many scanners would overload the computer, while too few
would cause unnecessary waiting for applications. Values: 0 or 1. Default:
When changing the user and/or group here, you must also change the options
User
and
Group
in MailGate's configuration file (
/etc/avmailgate.conf
).