Posts

Showing posts from December, 2018

Zimbra Client host rejected Access denied

In this tutorial, How to solved problem "Zimbra Client host rejected Access denied". 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 %%uncomme

Zimbra ERROR zclient IO ERROR

When you get this error, you can not execute any Zimbra zmprov commands? in this tutorial, How do i fix error as below [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused [] INFO: Retrying request ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused) The causes this error? Zimbra zmprov is not configure to get results from ldap. you need set " zimbra_zmprov_default_to_ldap " to TRUE To checking setting using by zmlocalconfig command $ zmlocalconfig | grep zmprov If set to false then reconfigure it to true flag as below $ zmlocalconfig -e zimbra_zmprov_default_to_ldap=true Recheck the settings: $ zmlocalconfig |grep zmprov

Zimbra blacklist email based via subject

In this tutorial, I will configure blacklist email based via subject. The recently, I receive an email with the subject "new girls beautiful photo" which contains spam and fake link. how to Zimbra blacklist email with the subject this. Create file chandu.cf in SpamAssassin   folder as root vi /opt/zimbra/data/spamassassin/rules/chandu.cf The content as below header     SPAM_BANNED     Subject =~ / new girls beautiful photo /i describe   SPAM_BANNED     Subject contains me new photo score      SPAM_BANNED     40.0 Save and give owner user and group zimbra chown zimbra:zimbra /opt/zimbra/data/spamassassin/rules/chandu.cf Restarting zmamavisdctl  service su - zimbra -c "zmamavisdctl restart" Have a good nice!

Vagrant up error while executing `VBoxManage`

Image
This day, I running vagrant up in my laptop then isuse. I can not start VM in vagrant. My laptop use windows 10. Error code as below: $ vagrant.exe up There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["showvminfo", "600a47e1-9637-4054-89c2-df3e5bf8f691"] Stderr: VBoxManage.exe: error: Code ERROR_MOD_NOT_FOUND 0x8007007E (0x8007007E) - ERROR_MOD_NOT_FOUND 0x8007007E (extended info not available) VBoxManage.exe: error: Context: "GetGuestOSType(osTypeId.raw(), osType.asOutParam())" at line 575 of file VBoxManageInfo.cpp Solve problem There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. Step 1: Right click on VirtualBox.exe and select Properties. Step 2: Click the Compatability tab. Click the button that says 'Change settings for all users'. Step 3: In the new window that pops up check '

Zimbra Error 450 4.7.1 sender reject

Image
In this tutorial, How to solve problem "zimbra Error 450 4.7.1 sender reject" on Zimbra MTA. Zimbra Error 450 4.7.1 sender reject as below Feb  10 16:16:33 sd-15xxx postfix/smtpd[1832]: NOQUEUE: reject: RCPT from     unknown[x.x.x.x]: 450 4.7.1 Client host rejected: cannot find your hostname,     [x.x.x.x]; from=<[email protected]> to=<[email protected]>     proto=ESMTP helo=<smtp_sender.com> You can check step by step to solve problem as error above Step 1: Check smtpd_sender_restrictions on zimbra MTA. [zimbra@your_mta ~]$ postconf | grep "smtpd_sender_restrictions" Checking reject_unknown_sender_domain,reject_unknown_client_hostname,reject_invalid_helo_hostname is correct  your environment Step 2: Check server port 10031 on zimbra cbpolicy.   tailf /opt/zimbra/log/cbpolicy.log To check the database have lock? sometime due to cbpolicy. You can solve problem anything else? share your error Zimbra Error 450 4.7.1 sender rej