This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
internet:mail:zimbra:zimbra_white_black [2017/06/07 10:56] gcooper |
internet:mail:zimbra:zimbra_white_black [2020/03/25 10:52] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Zimbra - Whitelist or Blacklist | + | ====== Zimbra - Whitelist or Blacklist ====== |
- | FIXME Needs verification! | + | https:// |
- | https:// | + | https:// |
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | <note tip> | ||
+ | |||
+ | <note tip>If enabled, users can also **right-click on a message** and choose to **block** (blacklist) or **allow** (whitelist) the sender or entire sender domain</ | ||
+ | |||
+ | ===== Spamassassin ===== | ||
+ | |||
+ | < | ||
+ | su - zimbra | ||
+ | vim / | ||
+ | </ | ||
+ | |||
+ | then: | ||
+ | |||
+ | < | ||
+ | zmamavisdctl restart | ||
+ | </ | ||
+ | |||
+ | ==== sauser.cf ==== | ||
+ | |||
+ | Do not use this example blindly. | ||
+ | |||
+ | < | ||
+ | use_bayes 1 | ||
+ | skip_rbl_checks 0 | ||
+ | use_razor2 1 | ||
+ | use_dcc 1 | ||
+ | use_pyzor 1 | ||
+ | dns_available yes | ||
+ | |||
+ | ## Optional Score Increases | ||
+ | ## Choose your preferred values... | ||
+ | score DCC_CHECK 4.000 | ||
+ | score SPF_FAIL 4.000 | ||
+ | score SPF_HELO_FAIL 4.000 | ||
+ | score RAZOR2_CHECK 2.500 | ||
+ | score PYZOR_CHECK 2.500 | ||
+ | score BAYES_99 3.000 | ||
+ | score BAYES_90 3.000 | ||
+ | score BAYES_80 3.000 | ||
+ | bayes_ignore_header Received: from localhost | ||
+ | |||
+ | ## Black and White List | ||
+ | whitelist_from statistics@reporting.smtproutes.com | ||
+ | whitelist_from no-reply@my.swmailassure.com | ||
+ | whitelist_from support@vitelity.com | ||
+ | whitelist_from payments@ems.travelers.com | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | <note important> | ||
See also **[[internet: | See also **[[internet: | ||
See also **[[internet: | See also **[[internet: | ||
+ | |||
+ | https:// | ||
**Howto**: http:// | **Howto**: http:// | ||
- | ===== Zimbra 8.5+ ===== | + | ===== By Sender E-Mail Address ===== |
+ | |||
+ | :!: This will affect **all users**! | ||
+ | |||
+ | As '' | ||
+ | |||
+ | < | ||
+ | vim / | ||
+ | </ | ||
+ | |||
+ | Add at the bottom, modifying for your needs: | ||
+ | |||
+ | < | ||
+ | ## Black and White List | ||
+ | whitelist_from statistics@reporting.smtproutes.com | ||
+ | blacklist_from spammer@example.com | ||
+ | </ | ||
+ | |||
+ | Restart the filter: | ||
+ | |||
+ | < | ||
+ | zmamavisdctl restart | ||
+ | </ | ||
+ | |||
+ | ==== Examples of Valid Entries ==== | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ===== By IP Address ===== | ||
+ | |||
+ | ==== Zimbra 8.5+ ==== | ||
- | :!: In a pinch, you can add an IP address to the Postfix '' | + | :!: As a last resort, you can add an IP address to the Postfix '' |
Become the '' | Become the '' | ||
Line 20: | Line 109: | ||
</ | </ | ||
- | ==== Whitelist | + | === Whitelist === |
< | < | ||
Line 36: | Line 125: | ||
</ | </ | ||
- | ==== Blacklist | + | === Blacklist === |
< | < | ||
Line 52: | Line 141: | ||
</ | </ | ||
- | ==== Restart the MTA ==== | + | === Restart the MTA === |
< | < | ||
zmmtactl restart | zmmtactl restart | ||
</ | </ |