AVMAILGATE.CONF(5)

NAME
avmailgate.conf - format and options for AvMailGate

DESCRIPTION
AvMailGate is an AntiVirus mailer proxy that wraps around your existing mail transfer agent (MTA). It consists of two programs: avgated (the receiving agent) and avgatefwd (the forwarding agent).

This man page describes the format of the central configuration file /etc/avmailgate.conf.

FILE FORMAT
The file /etc/avmailgate.conf consists of several lines. Lines beginning with # and empty lines are ignored.
Options are given as keywords followed by some whitespace followed by the value.
The keyword is not case sensitive, so "User" and "uSER" are identical.
If the value contains whitespace you have to quote it using "".

  Options used by both avgated and avgatefwd

User  user name  or numerical user id

Group group name or numerical group id
    Avgated and avgatefwd will switch to this user and group as soon as possible. Avgated will do this after opening the SMTP port and avgatefwd will do it immediatelly.
    Defaults:
    User uucp
    Group uucp

SpoolDir directory name where mail will be stored
    The spooldir must be owned by User:Group (as specified above) and must be accessible by only this user (mode = 0700). Both programs will yell and refuse to run if something is wrong.
    Defaults:
    SpoolDir /var/spool/avmailgate

Postmaster username or mail alias
    This user or mail alias will receive virus reports and error messages.
    Defaults:
    Postmaster postmaster

  Options used by avgated only

PidFile_avgated name of pid file
    The pid file of the SMTP daemon avgated.
    Defaults:
    PidFile_avgated /var/run/avmailgate_d.pid

ListenAddress ip number
    Select the interface, on which the smtp daemon will listen on. The default address 0.0.0.0 means that avgated listenes on all available interfaces.
    Defaults:
    ListenAddress 0.0.0.0

ListenPort service name or numerical port number
    Defaults:
    ListenPort smtp

SmtpTimeout seconds to wait
    Number of seconds until a timeout occures in SMTP conversation.
    Defaults:
    SmtpTimeout 300

MaxIncomingConnections number of simultanous connections
    Limit the number of simultanous connections from remote sites. A limit of 0 disables this feature.
    Defaults:
    MaxIncomingConnections 0

MaxMessageSize message size in bytes
    Set this value to the same number used by your MTA. A limit of 0 disables this feature.
    Defaults:
    MaxMessageSize 0

MaxRecipientsPerMessage number of recipients
    Leave this limit at 100 as recommended in the RFC 821. A limit of 0 disables this feature.
    Defaults:
    MaxRecipientsPerMessage 100

MinFreeBlocks number of free blocks on file system
    If the number of free blocks reaches this limit, no more incoming connections will be acceptet. A limit of 0 disables this feature.
    Defaults:
    MinFreeBlocks 0

  Options used by avgatefwd only

PidFile_avgatefwd name of pid file
    Defaults:
    PidFile_avgatefwd /var/run/avmailgate_fwd.pid

MaxForwarders number of forward processes
    To speed up the mail delivery a number of parallel running forward processes can be startet simultanously. The best value depends on your system.
    Defaults:
    MaxForwarders 3

ExposeAlerts expose virus alerts to the outside
    If one of your local users sends an email containing a virus to the outside of your domain an alert will be sent out, exposing that your company may have virus problems. If this is not what you want, just set this option to "FALSE".
    Defaults:
    ExposeAlerts TRUE

ForwardTo select how mail is to be forwarded
    Mail can be forwarded in two different ways, either by piping it to another process or by sending it to a daemon using SMTP as the transport protocol.

    To send mail via PIPING just write the program name and it's parameters after ForwardTo.
    Example:
    ForwardTo /usr/sbin/sendmail -oi -oem

    To send mail via SMTP use the line
    ForwardTo SMTP: hostname port port
    Where hostname may be localhost or any other host which is running a SMTP server daemon.
    The value of port may be given as a number or as the name of a service that is listet in /etc/services.
    Examples:
    ForwardTo SMTP: localhost port 825
    ForwardTo SMTP: localhost port smtp-backdoor

    Defaults:
    ForwardTo /usr/lib/sendmail -oem -oi

COPYRIGHT
AvMailGate is Copyright by H+BEDV Datentechnik GmbH.
WWW: http://www.antivir.de
EMail: <linux_support@antivir.de>

SEE ALSO
avmailgate(8), sendmail(8), smail(8), qmail(7), fetchmail(1).

If you have installed AvMailGate you should hopefully have read the documents that came with the packet e.g. README, FAQ.

Also see http://www.antivir.de/ for more information regarding AntiVir and AvMailGate.