The parameters presented in this section are used by both avgated and avgatefwd.
This parameter allow the administrator to set the UNIX user under which AntiVir MailGate will run (the owner of AntiVir MailGate).
This should NOT be root.
The parameter must be a login name as found in the /etc/passwd file.
Syntax:
User "string"
Default value:
User uucp
This parameter allow the administrator to set the UNIX group under which AntiVir MailGate will run.
This should NOT be root.
The parameter must be a group name as found in the /etc/passwd file.
Syntax:
Group "string"
Default value:
Group uucp
This parameter specifies the email address of Postmaster. It's the address where notifications that an email contained a virus are sent (beside the sender and recipient of the veroled email).
Syntax:
Postmaster "string"
Default value:
Postmaster postmaster.
An example of value may be:
Postmaster virusmaster@admins.department.example.com
This parameter specifies the FQDN of the localhost.
Syntax:
MyHostName "string"
Default value:
If not set in configuration file, is that obtained by
gethostname(2), or if this fails, "localhost".
This parameter specifies the spool directory where AntiVir MailGate stores the messages it processes.
Syntax:
SpoolDir "string"
Default value:
SpoolDir /var/spool/avmailgate
This parameter specifies the library directory of AntiVir MailGate, where the key file, the virus definition file and other critical data for AntiVir MailGate are stored.
Syntax:
AntiVirDir "string"
Default value:
AntiVirDir /usr/lib/AntiVir
This parameter specifies the temporary directory name where emails will be extracted and scanned.
Syntax:
TemporaryDir "string"
Default value:
TemporaryDir /var/tmp
This parameter specifies the location of the pid file of the SMTP daemon avgated.
Syntax:
PidFile_avgated "string"
Default value:
PidFile_avgated /var/run/avmailgate_d.pid
This parameter specifies the location of the pid file of the forwarder daemon avgatefwd.
Syntax:
PidFile_avgatefwd "string"
Default value:
PidFile_avgatefwd /var/run/avmailgate_fwd.pid
This parameter specifies the number of simultaneous connections.
The number of simultaneous connections from remote sites should be limited. A limit of 0 disables this feature.
Syntax:
MaxIncomingConnections "integer"
Default value:
MaxIncomingConnections 0
This parameter specifies the number of seconds until a timeout occures in SMTP conversation.
Syntax:
SmtpTimeout "integer"
Default value:
SmtpTimeout 300
This parameter specifies the maximum of message size in bytes.
This value should be set to the same number used by your MTA.
A limit of 0 disables this feature.
Syntax:
MaxMessageSize "integer"
Default value:
MaxMessageSize 0
This parameter specifies the maximum number of recipients.
This limit should be limited to 100 as recommended in REC 821.
A limit of 0 disables this feature.
Syntax:
MaxRecipientsPerMessage "integer"
Default value:
MaxRecipientsPerMessage 100
This parameter specifies the number of free blocks on file system.
The incoming connection will not be accepted, if the number of free blocks reaches this limit.
A limit of 0 disables this feature.
Syntax:
MinFreeBlocks "integer"
Default value:
MinFreeBlocks 0
This parameter specifies the maximum number of forward processes of avgatefwd.
The number is dependend on the performance of mail system and quality of network connection.
The default value should be increased, if the performance of the used mail system and the connection to the network is low.
Syntax:
MaxForwarders "integer"
Default value:
MaxForwarders 10
This parameter specifies if suspicious MIME emails will be blocked.
The delivery of suspicious MIME emails will be stopped, when a MIME nesting level > 20 or more than 100 attachments is reached.
Syntax:
BlockSuspiciousMime YES | NO
Default value:
BlockSuspiciousMime YES
This parameter specifies if virus alerts will be sent outside your domain, if the sender of an email is a user local to your domain.
Syntax:
ExposeAlerts YES | NO
Default value:
ExposeAlerts YES
This parameter specifies the interface and port the SMTP daemon will listen on. The default interface 0.0.0.0 means all interfaces.
Syntax:
ListenAddress "string" port "integer"
Default value:
ListenAddress 0.0.0.0 port 25
An example of value may be:
ListenAdress 192.168.5.20 port 25
This parameter specifies the type of email forwarding. There are two possibilities how to sent emails further. First is, emails could be send by piping it thru sendmail (this is default).
Second is, to send emails further by SMTP.
Syntax (by piping):
ForwardTo string
Syntax (by SMTP):
ForwardTo SMTP: "string" port "string"
or
ForwardTo SMTP: "string" port "integer"
Default value:
ForwardTo /usr/sbin/sendmail -oem -oi
An example of Syntax when sending by SMTP may be:
ForwardTo SMTP: localhost port smtp-backdoor
This parameter specifies if emails containing a blank sender address will be blocked.
RFC 1123 explicitly says in section 5.2.9 that a blank sender address must be accepted. If you don't accept a blank sender address, then you don't have an SMTP server. Additionally, you will greatly annoy other postmasters, possibly to the point of being blocked yourself.
Syntax:
RefuseEmptyMailFrom YES | NO
Default value:
RefuseEmptyMailFrom NO
PollPeriod specifies the periodicity, in seconds, of the queue scanning done by avgatefwd.
Syntax:
PollPeriod "integer"
Default value:
PollPeriod 30
User name of sender of error (bounce) messages if a mail couldn't be deliverd via MTA.
Syntax:
BounceMessageUser "string"
Default value:
BounceMessageUser MAILER-DAEMON