
Configuration
Avira GmbH
Avira AntiVir MailGate
48
X
Set which hosts and networks may send emails. For example:
relay: 127.0.0.1/8 192.168.0.0/16
IP addresses
You can specify IP addresses in various ways:
192.168.0.0/16 or 192.168
Both have the same meaning. /16 means 16 bit and signifies the first two numbers
of the IP address. Therefore, all IP addresses starting with 192.168 are allowed.
Example for
/etc/avmailgate.acl
:
# Access lists for AVIRA MailGate
# These hosts and/or domains are local.
local: localhost 127.0.0.1
local: avira.com
# These hosts and networks are allowed to relay.
relay: 127.0.0.1/8 192.168.0.0/16
5.6 Warnings Configuration in avmailgate.warn
Optionally, you can use another file to set the warning messages:
/etc/avmailgate.warn
. Beside
avmailgate.conf,
this file controls the alert emails sent
to the recipient, sender and postmaster.
A command for this file contains two entries:
•
first, the name of the detected virus/unwanted program and it may contain
wildcards;
•
the second is one or more of the following letters:
- S: for sender
- R: for recipient
- P: for postmaster
Example
The command
/klez/ RP
instructs AntiVir MailGate to send an alert email to the recipient and postmaster
if the virus named
Klez
is detected.
The settings in
avmailgate.warn
will overrule those made in
avmailgate.conf
in the event
of specific virus/unwanted program detection.
5.7
Report Templates Configuration
You can set some report texts as email notifications in the event of virus/unwanted
program or suspicious file detection.