Add hardware freak's pcre spam blocker in zimbra

Revision as of 15:53, 21 April 2016 by Jorge de la Cruz (talk | contribs) (Created page with "{{BC|Certified}} __FORCETOC__ <div class="col-md-12 ibox-content"> =Add hardware freak's pcre spam blocker in zimbra= {{KB|{{ZC}}|{{ZCS 8.6}}|{{ZCS 8.5}}||}} {{WIP}} ==Purpose...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Add hardware freak's pcre spam blocker in zimbra

   KB 22603        Last updated on 2016-04-21  




0.00
(0 votes)

Purpose

It is updated frequently and allows the ability to reject at the smtpd layer known spammers.

Resolution

zmprov mcf +zimbraMtaRestriction 'check_reverse_client_hostname_access pcre:/opt/zimbra/conf/fqrdns.pcre'

Now you need to restart the MTA

zimbra@zqa-397:~$ zmmtactl reload
zimbra@zqa-397:~$ zmprov gcf zimbraMtaRestriction
zimbraMtaRestriction: reject_invalid_helo_hostname
zimbraMtaRestriction: reject_non_fqdn_sender
zimbraMtaRestriction: check_reverse_client_hostname_access pcre:/opt/zimbra/conf/fqrdns.pcre
zimbra@zqa-397:~$ zmprov gs `zmhostname` zimbraMtaRestriction
# name testserver.raun.com
zimbraMtaRestriction: reject_invalid_helo_hostname
zimbraMtaRestriction: reject_non_fqdn_sender
zimbraMtaRestriction: check_reverse_client_hostname_access pcre:/opt/zimbra/conf/fqrdns.pcre
zimbra@zqa-397:~$ grep -i -r fqrdns.pcre /opt/zimbra/postfix/*
/opt/zimbra/postfix/conf/main.cf:smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unlisted_recipient, reject_invalid_helo_hostname, reject_non_fqdn_sender, check_reverse_client_hostname_access pcre:/opt/zimbra/conf/fqrdns.pcre, permit
zimbra@zqa-397:~$ postconf -n | egrep restrictions | grep fqrdns    
smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unlisted_recipient, reject_invalid_helo_hostname, reject_non_fqdn_sender, check_reverse_client_hostname_access pcre:/opt/zimbra/conf/fqrdns.pcre, permit

Additional Content

No additional content.

Verified Against: Zimbra Collaboration 8.6, 8.5 Date Created: 08/27/2015
Article ID: https://wiki.zimbra.com/index.php?title=Add_hardware_freak%27s_pcre_spam_blocker_in_zimbra Date Modified: 2016-04-21



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by SME1 SME2 Copy Editor Last edit by Jorge de la Cruz
Jump to: navigation, search