Configuration
Avira GmbH
Avira AntiVir MailGate
42
Options and parameters for spam filter
Enable
SpamCheck
Activates/deactivates spam filter.
EnableSpamCheck NO
SpamAction
Defines an action for spam mails: BLOCK, TAG, NONE.
•
TAG inserts a header line into the email. For example:
X-AntiVirus-Spam-Check: clean (checked by Avira MailGate: version: 2.1.3-0; spam
filter version: 2.0.5/0.2; host: host.your.site)
•
BLOCK puts the mail into the "
rejected
" directory.
•
NONE disables any action for spam mail.
SpamAction TAG
Dangerous
Outbreak
Action
Performs the set action when emails are not detected by the virus scanner, because
of their recent outbreak. If the option is set to BLOCK, no email notification is
sent.
DangerousOutbreakAction BLOCK
Dangerous
Attachment
Action
Performs the set action when the email attachment may be harmful.
DangerousAttachmentAction TAG
Dangerous
IFrameAction
Performs the set action when detecting a dangerous iframe.
DangerousIFrameAction TAG
Dangerous
Alert
Action
Performs the set action when the spam filter classifies emails as dangerous.
DangerousAlertAction BLOCK
Dangerous
Unknown
Action
Performs the set action when detecting an unknown danger.
DangerousUnknownAction TAG
LibAsmailgate
Specifies the path to the spam filter library.
LibAsmailgate /usr/lib/AntiVir/libasmailgate.so
Spam
Header
Name
Defines the spam header to be inserted in the email header. Only the beginning can
be changed (
X-AntiVirus-Spam-Check
). Example:
SpamHeaderName X-AntiVirus-Spam-Check
Result:
X-AntiVirus-Spam-Check: spam (checked by Avira
MailGate: version: 2.1.3-0;spam filter version: 2.0.5/
0.2; host: host.your.site)
SpamFilter
Exceptions
Defines the list of exceptions for black/white lists and actions.
SpamFilterExceptions /etc/asmailgate.except
The spam filter actions can be overwritten using the file
asmailgate.except
. In this
file you can specify email addresses and the corresponding actions. Additionally