Configuration File

The configuration for AntiVir MailGate is '/etc/avmailgate.conf'. It's used by all the programs of AntiVir MailGate (avgated, avgatefwd).

Comments can be written anywhere in the configuration file (but in a quoted string), starting with a '#' character, up to the end of the line.

Spaces or tabulations can be placed anywhere.

Parameter names and parameter values may be quoted (') or double-quoted ("), and must be quoted when they contain spaces or tabulations or a double-quote or a quote. The quotes don't affect the values, or the type (numeric or alphanumeric) of the value.

        ParamExampleNumber      1234
        ParamExampleNumber      "1234"
        ParamExampleSimple      a-name
        ParamExampleSpace       "One Space"
        ParamExampleQuote       "6'"
        ParamExampleDblQuote    '3"1/2'
        'QuotedParamExample'    quoted
        "DblQuotedParamExample" dbl-quoted
        

Usually parameters are merely given with the parameter name and the parameter value on the same line. However some parameters have a more complex syntax, but all stand on a single line starting with the parameter name.

The parameter names and and the parameter values that are keywords, are not case sensitive:

       BoolParamExample         Yes   # Could be written as TRUE too.
       BoolParamExample         YEs
       BoolParamExample         yEs
       BOOLPARAMEXAMPLE         yes
       boolparamexample         YES   # Well, you get the point...
        
are all the same.

Boolean parameters values can be written as YES or NO, or as TRUE or FALSE.

First are presented general parameters that apply to all the programs composing AntiVir MailGate, then those specific to avgated, and lastly those specific to avgatefwd.