User manual

Configuration
Avira GmbH Avira AntiVir MailGate 43
this file can be used as a black and white list for the spam filter.
Each list consists of an address, given as regular expression. E.g.:
/^someone@somewhere\.tld$/i blacklist
The above example treats emails from someone@somewhere.tld as spam,
independently of the spam check result. "blacklist" is the action for the given
address.
Actions:
Actions overwrite the settings for the spam filter in avmailgate.conf (except for
white and black lists). Several actions can be specified for each address:
blacklist - Treat mail as spam
whitelist - Treat mail as clean
block_spam - If the mail is spam, block it
block_dangerous_attachment
- If the mail has a dangerous attachment, block it
block_dangerous_alert - If the mail contains a dangerous alert, block it
block_dangerous_iframe
- If the mail contains a dangerous iframe, block it
tag_spam - If the mail is spam, tag it
tag_dangerous_attachment
- If the mail has a dangerous attachment, tag it
tag_dangerous_alert - If the mail contains a dangerous alert, tag it
tag_dangerous_iframe - If the mail contains a dangerous iframe, tag it
Example of
/etc/asmailgate.except:
/^spam@somewhere\.tld$/i blacklist
All mail from spam@somewhere.tld will be treated as spam, independently of the
spam check result.
Actions can also be switched off. Example:
in /etc/avmailgate.conf:
SpamAction BLOCK
in /etc/asmailgate.except:
/^me@here\.tld$/i r !block_spam
Do not block spam for the given recipient address.
"r" is the flag for recipient. It means that the given address should be matched
against the recipient address and not against the sender address.
The default (without the "r" flag) is to match the address against the sender
address.
For Avira MailGate v 2.1.3, a match in this list concerns all recipients even if the mail was
sent to recipients that are not listed. E. g. (in asmailgate.except):
/^someone@somewhere\.tld$/i r block_spam
If Avira MailGate processes a mail to someone@somewhere.tld _and_abc@def.tld and
the mail was rated as spam, abc@def.tld will not receive the mail since it was blocked due
to the rule for someone@somewhere.tld. This behavior will be changed in a further
release.