Operation
Avira GmbH
Avira AntiVir MailGate
57
You can control the outcome with the following parameters after
--avq
(the Help
provides more parameters, which you can call with
--avq --help
).
Deleting emails from queue
Deleting emails from the queue is important in the event of infected emails. Forwarded
emails are automatically deleted from the queue.
You have to delete the emails from the
rejected
queue manually.
To delete denied emails immediately, you can use the option
ExternalProgram
in
avmailgate.conf
. For example:
ExternalProgram /usr/lib/AntiVir/rm_rejected.sh
rm_rejected.sh:
#!/bin/sh
/usr/lib/AntiVir/avmailgate.bin --avq --remove=$1
X
Find out the ID of the email. AntiVir MailGate indicates the ID of the email in
its logs and in the email sent to the postmaster.
You can apply the following parameters to the outcome:
Parameter
Description
--queue=incoming
Lists the emails in the incoming queue
--queue=outgoing
Lists the emails in the outgoing queue
--list=all
Lists all queues
--type=<type>
Lists all rejected emails of the specific type.
Other types can be:
spam
mal
(malicious mails)
dangerous_attachment
dangerous_iframe
dangerous_alert
dangerous_outbreak
alert
(types like worm, virus etc.)
--type=<notype>
Lists all rejected emails, except the one specified, if it has the
prefix "no":
nospam, nomal
, etc.
--nosort
Switches off the sorting. By default, the queue listing is sorted
by date (according to the internal timestamp of the queue file),
with the newest email in the last position.