Check the headers for indication that a senders domain is that of a site offering free email services.
warden --task=antispam:plugin:freemail
Option |
Value | Default | Description |
---|---|---|---|
--freemail_domains |
<string1,string2> | List of domains to be used in checks. Regexp is not supported, but following wildcards work: ? for single character (does not match a dot). * for multiple characters (does not match a dot) | |
--freemail_domains_add |
<string> | Add a single entry to freemail_domains. | |
--freemail_domains_del |
<string> | Remove a single entry from freemail_domains. | |
--freemail_welcomelist |
<string1,string2> | Emails or domains listed here are ignored. No wildcards. | |
--freemail_welcomelist_add |
<string> | Add a single entry to freemail_welcomelist. | |
--freemail_welcomelist_del |
<string> | Remove a single entry from freemail_welcomelist. | |
--freemail_import_welcomelist_auth |
<1|0> | 0 | Entries in welcomelist_auth will also be used to whitelist emails or domains from being freemail. |
--freemail_import_def_welcomelist_auth |
<1|0> | 0 | Entries in def_welcomelist_auth will also be used to whitelist emails or domains from being freemail. |
--default |
<yes> | Reset all settings to their default values. | |
--default_option |
<option> | Reset a specific setting to its default value. | |
--reload |
<yes> | Reload the service after saving settings. |
// set the freemail_domains
warden --task=antispam:plugin:freemail --freemail_domains='example.com,example2.com' --reload=yes
// reset freemail_domains to its default value
warden --task=antispam:plugin:freemail --default_option=freemail_domains --reload=yes
// reset all settings to their default values
warden --task=antispam:plugin:freemail --default=yes --reload=yes