1
1
mirror of https://github.com/docker-mailserver/docker-mailserver synced 2024-09-29 11:41:18 +02:00

Updated FAQ and Tips (markdown)

This commit is contained in:
makloda 2017-01-29 17:45:33 +01:00
parent 0b7f07c79c
commit 0bb57163d2

@ -53,11 +53,11 @@ Antispam rules are managed in `config/spamassassin-rules.cf`.
### Why are Spamassassin x-headers not inserted into my sample.domain.com subdomain emails?
In the default setup, Amavis only applies Spamassassin x-headers into domains matching the template listed in the config file 05-domain_id (in the amavis defaults). The default setup @local_domains_acl = ( ".$mydomain" ); does not match subdomains. To match subdomains, you can override the @local_domains_acl directive in the Amavis user config file 50-user with @local_domains_maps = ("."); to match any sort of domain template.
In the default setup, amavis only applies Spamassassin x-headers into domains matching the template listed in the config file 05-domain_id (in the amavis defaults). The default setup @local_domains_acl = ( ".$mydomain" ); does not match subdomains. To match subdomains, you can override the @local_domains_acl directive in the amavis user config file 50-user with @local_domains_maps = ("."); to match any sort of domain template.
### How can I make Spamassassin learn spam?
Put received spams in `.Junk/` imap folder and add a cron like the fllowing:
Put received spams in `.Junk/` imap folder and add a cron like the following:
```
# Everyday 2:00AM, learn spam for this specific user