Zimbra Client host rejected Access denied fixed

Introduction

While using ZimbraZimbra, you might encounter the "Client host rejected: Access denied" error, which can disrupt your workflow. This is a common issue that can be resolved easily if you understand the causes and the solutions. This article provides a detailed guide on how to fix this error on Zimbra, helping you quickly resume your work smoothly.

Zimbra client host rejected Access denied error log

Dec 19 01:21:28 mail postfix/amavisd/smtpd[5106]: NOQUEUE: reject: CONNECT from unknown[192.168.1.113]: 554 5.7.1 <unknown[192.168.1.113]>: Client host rejected: Access denied; proto=SMTP
Dec 19 01:21:28 mail postfix/amavisd/smtpd[5106]: lost connection after CONNECT from unknown[192.168.1.113]
Dec 19 01:21:28 mail postfix/amavisd/smtpd[5106]: disconnect from unknown[192.168.1.113]

Allow the network "192.168.1.0/24" of client host for zimbraMtaMyNetworks attribute

[zimbra@mail ~]$ zmprov ms `zmhostname` zimbraMtaMyNetworks "127.0.0.0/8 192.168.1.0/24 [::1]/128 [fe80::]/64"

The change "smtpd_client_restrictions" and "smtpd_relay_restrictions" with content below

[zimbra@mail ~]$ /opt/zimbra/postfix/conf/master.cf.in

The edit master.cf.in file with content below

%%uncomment SERVICE:opendkim%% -o content_filter=scan:[%%zimbraLocalBindAddress%%]:10030
-o smtpd_etrn_restrictions=reject
-o smtpd_sasl_auth_enable=%%zimbraMtaSaslAuthEnable%%
-o smtpd_tls_security_level=%%zimbraMtaTlsSecurityLevel%%
-o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
-o smtpd_data_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_recipient_restrictions=
-o smtpd_relay_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
-o syslog_name=postfix/submission
-o milter_macro_daemon_name=ORIGINATING

Conclusion

Fixing the "Client host rejected: Access denied" error on Zimbra can be simpler than you think if you approach it correctly. We hope this guide has helped you effectively resolve the issue. Don't forget to stay updated with the latest solutions to ensure your Zimbra system runs smoothly. Thank you for reading, and we wish you success! thank you for reading the huuphan.com page!

Comments

Popular posts from this blog

zimbra some services are not running [Solve problem]

How to install php7 on centos 6: A Step-by-Step Guide

Bash script list all IP addresses connected to Server with Country Information