User manual
Operation
Avira GmbH Avira AntiVir MailGate 53
6Operation
After concluding installation and configuration and when AntiVir MailGate is 
running, MailGate guarantees continuous monitoring of your system. During 
operation you might have to make occasional changes in settings, as described in 
Configuration – Page 26.
In some cases, it may be necessary to operate AntiVir MailGate manually or to 
process the emails filtered by AntiVir MailGate manually. 
This Chapter describes:
z Starting and Stopping AntiVir MailGate Manually – Page 53
z Parameters for SMTP and Scanner Daemon – Page 55
z Queue Manager avq – Page 56
In addition, you will find information on:
z Procedures when Detecting Viruses/Unwanted Programs – Page 59
6.1 Starting and Stopping AntiVir MailGate Manually
If you have installed AntiVir MailGate as described in Installation – Page 14, the 
program is automatically started and stopped by the system.
However, you may need to start and stop AntiVir MailGate manually. Any changes 
in configuration files must be followed by a restart of the program, for activation.
The script /usr/lib/AntiVir/avmailgate starts and stops the scanner and mailgate 
daemon.
You must login as root or you must have the required access rights to start or stop AntiVir 
MailGate manually.
Since version 3.0.0, MailGate uses a new scanner, which must be started before 
avmailgate.bin. Therefore, you have to start and stop MailGate with the avmailgate 
script:
 /usr/lib/AntiVir/avmailgate start
 /usr/lib/AntiVir/avmailgate stop
 If you use your own script, you should make sure to start the scanner first. See the script 
"avmailgate" for an example on how you can start the scanner backend.
If you want to pass specific command line options to MailGate, you can add them to the 
parameter "DAEMONPARAMS" in the script (see  Parameters for avmailgate.bin).










