2,187
edits
(→Install Commercial Certificate: Added CLI procedure) |
m (→Enable Spam BlockList: Added example output in daily mail) |
||
(One intermediate revision by the same user not shown) | |||
Line 221: | Line 221: | ||
grep 'purge' /opt/zimbra/log/mailbox.log | grep 'purge' /opt/zimbra/log/mailbox.log | ||
zgrep 'purge' /opt/zimbra/log/mailbox.log.2012-08-05.gz | zgrep 'purge' /opt/zimbra/log/mailbox.log.2012-08-05.gz | ||
=== Enable Spam BlockList === | |||
In order for you to be able to add a public blocklist it first needs known by SpamAssassin. SpamAssassin's config can be found in <code>/opt/zimbra/conf/spamassassin/</code>, to check for a particular DNS Blocklist, ''zen.spamhaus.org'' for example, use | |||
* <code>grep zen.spamhaus.org /opt/zimbra/conf/spamassassin/20_dnsbl_tests.cf</code> | |||
# Login as the Zimbra user | |||
#* <code> su - zimbra </code> | |||
# Check existing restrictions | |||
#* <code> zmprov gacf | grep zimbraMtaRestriction </code> | |||
# Add new restriction (for example ''zen.spamhaus.org'') | |||
#* <code> zmprov mcf +zimbraMtaRestriction "reject_rbl_client zen.spamhaus.org" </code> | |||
# Check restriction has been added | |||
#* <code> zmprov gacf | grep zimbraMtaRestriction </code> | |||
Hosts rejected by the blocklist will be listed in the "Daily mail report", for example... | |||
<pre> | |||
message reject detail | |||
--------------------- | |||
RCPT | |||
blocked using zen.spamhaus.org (total: 5) | |||
1 speakezy.com.au | |||
1 v4.ngi.it | |||
1 draw.datemail.us | |||
1 born.seriesmail.us | |||
1 wood.seriesmail.us | |||
</pre> | |||
=== Enable DKIM === | === Enable DKIM === |