Postfix won't add RBL config to main.cf

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
alexismedina
Posts: 5
Joined: Fri Sep 12, 2014 11:21 pm

Postfix won't add RBL config to main.cf

Postby alexismedina » Fri Aug 03, 2018 1:24 pm

Hello guys,

I'm trying to add RBL to one of our zimbra servers, but for some reasong postfix won't update it's config.

Here's my currrent config
-Zimbra 8.8.9.GA.2055.UBUNTU16.6

Code: Select all

zimbra@mail:~$ zmprov gacf | grep zimbraMtaRestriction
zimbraMtaRestriction: reject_invalid_helo_hostname
zimbraMtaRestriction: reject_non_fqdn_helo_hostname
zimbraMtaRestriction: reject_non_fqdn_sender
zimbraMtaRestriction: reject_unknown_client_hostname
zimbraMtaRestriction: reject_unknown_reverse_client_hostname
zimbraMtaRestriction: reject_unknown_sender_domain
zimbraMtaRestriction: reject_rbl_client zen.spamhaus.org
zimbraMtaRestriction: reject_rbl_client b.barracudacentral.org

As we can see, the last two lines is showing that the RBL are configured. But for some reason when I do:

Code: Select all

zimbra@mail:~$  postconf | grep smtpd_recipient_restrictions
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $smtpd_sender_login_maps $sender_bcc_maps $recipient_bcc_maps $smtp_generic_maps $lmtp_generic_maps $alias_maps $smtpd_client_restrictions $smtpd_helo_restrictions $smtpd_sender_restrictions $smtpd_relay_restrictions $smtpd_recipient_restrictions

smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unlisted_recipient, reject_unknown_reverse_client_hostname, permit


Code: Select all

zimbra@mail:~$ cat /opt/zimbra/common/conf/main.cf | grep restrict
# overcome chroot restrictions. The alternative, having a copy of
# through Postfix.  See the smtpd_recipient_restrictions parameter
# The relay_domains parameter restricts what destinations this system will
# relay mail to.  See the smtpd_recipient_restrictions description in
# permit_mx_backup restriction description in postconf(5).
smtpd_client_restrictions = reject_unauth_pipelining
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unlisted_recipient, reject_unknown_reverse_client_hostname, permit
smtpd_relay_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_end_of_data_restrictions =
smtpd_sender_restrictions = check_sender_access regexp:/opt/zimbra/common/conf/tag_as_originating.re, permit_mynetworks, permit_sasl_authenticated, permit_tls_clientcerts, check_sender_access regexp:/opt/zimbra/common/conf/tag_as_foreign.re

The RBLs config are not shown on the postfix config, and the RBLs are not being used.. we are getting emails from IPs that are blacklisted on the RBLs.

Restarting zimbra also won't fix the issue :(

Any ideas?
Thanks.


Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 40 guests