AntiVir MailGate is composed of two kind of processes:
avgated: the smtpd receiver that stores incoming emails into the input queue. (daemon)
avgatewfd: virus scanning function and smtp forwarder and sendmail invoker. (daemon)
+-----------------------+
| avgated |
+-----------------------+
|
|
|
V
+-------------------+
| Input Queue |+
| ||
+-------------------+|
+-------------------+
|
V
+-----------------------+
| avgatefwd |
+-----------------------+
| |
+--------------+ +--------------+
| |
V V
+-------------------+ force Delivery +-------------------+
| Error/Virus Queue |+ ------------------>| Output Queue |+
| || | ||
+-------------------+| +-------------------+|
+-------------------+ +-------------------+
|
V
+-----------------------+
| avgatefwd |
+-----------------------+
| |
+-------------------------------+ |
| |
V V
+-----------------------+ +-----------------------+
| other MTA sendmail | | SMTP |
+-----------------------+ +-----------------------+
avgated usage
avgated [-V | --version] [-i] [-p port] [-C config-file] [-A acl-file]
[-D debug-level] [-R remote.host] [-r remote-ip-addr] [-q port]
-V or --version Print the version number and exit.
-C config-file Specify an alternative configuration file,
instead of the default
'/etc/avmailgate.conf'.
-A acl-file Specify an alternative Access Control List
file, instead of the default
'/etc/avmailgate.acl'.
-i Runs avgated in inetd mode doing SMTP
conversation via stdin and stdout. See
inetd(8) for information on how this
works.
-p port Specify the port at which avgated will
listen for incoming SMTP sessions, instead
of the normal SMTP (25) port.
The following options are used while debugging:
-D debug-level Set the debug level (a small integer).
-R remote.host Specify the remote host domain name.
Imply -i.
-r remote-ip-addr Specify the remote host IP address
(aaa.bbb.ccc.ddd).
Imply -i.
When run interactively, the SMTP daemon directly converse with the terminal instead of working with a TCP port.
avgatefwd usage
avgatefwd [-V | --version] [-C config-file] [-D debug-level]
-V or --version print the version number and exit.
-C config-file specify an alternative configuration file,
instead of the default
'/etc/avmailgate.conf'.
-D debug-level set the debug level (a small integer).