Mail Issue on Zimbra after upgrade to Zimbra 8.6.0
Appearance
The problem facing during upgradation of Zimbra Release 8.6.0 on richaglobal server:
1.** When we have sending Mail from the (richaglobal.com) domain to other domain. (jugendra@tetrain.com)
Error : Message not sent; one or more addresses were not accepted. Rejected addresses: jugendra@tetrain.com
- So, We have to entry global & local ip on (MTA Trusted Networks)
Location -> Home-Configure-Global Setting-MTA
127.0.0.0/8 203.124.106.247/32
Location -> Home-Configure-Server-MTA
127.0.0.0/8 203.124.106.247/32
Save the entry
- But issue is still, so we have check logs of zimbra
- tailf /var/log/zimbra.logs
Error:
Feb 23 11:11:29 ip-203-124-106-247 postfix/trivial-rewrite[18126]: warning: transport_maps lookup failure Feb 23 11:11:29 ip-203-124-106-247 postfix/smtpd[16361]: NOQUEUE: reject: RCPT from mail1.bemta8.messagelabs.com[216.82.243.197]: 451 4.3.0 <mqcadmin@lifung.com>: Temporary lookup failure; from=<mqcadmin@lifung.com> to=<rakesh.sirohi@richaglobal.com> proto=ESMTP helo= <mail1.bemta8.messagelabs.com> Feb 23 11:11:29 ip-203-124-106-247 postfix/trivial-rewrite[18126]: warning: hash:/opt/zimbra/postfix/conf/transportfile is unavailable. unsupported dictionary type: hash
Feb 23 11:11:29 ip-203-124-106-247 postfix/trivial-rewrite[18126]: warning: hash:/opt/zimbra/postfix/conf/transportfile lookup error for "vmalik@richaglobal.com"
- Transportfile missing on this location /opt/zimbra/postfix/conf/
- So we have copy transportfile from old zimbra backup to new zimbra
# cp /new_zimbra_backup/opt/zimbra/postfix/conf/transportfile to /opt/zimbra/postfix/conf/
- then change the permission & ownership
# chown zimbra.zimbra /opt/zimbra/postfix/conf/transportfile # ls -la -rw-r--r-- 1 zimbra zimbra 117 Feb 23 11:58 transportfile # postmap /opt/zimbra/postfix/conf/transportfile # ls -al /opt/zimbra/postfix/conf/ # zmprov gs ip-203-124-106-247.ip.secureserver.net zimbraMtaTransportMaps # zmprov ms ip-203-124-106-247.ip.secureserver.net zimbraMtaTransportMaps "lmdb:/opt/zimbra/postfix/conf/transportfile,proxy:ldap:/opt/zimbra/conf/ldap-transport.cf" # zmprov gs ip-203-124-106-247.ip.secureserver.net zimbraMtaTransportMaps # tailf /var/log/zimbra.log # zmcontrol restart # tailf /var/log/zimbra.log
- check log again tranportfile error solve, but new error occured like
Error:
Feb 23 12:09:06 ip-203-124-106-247 postfix/smtpd[19819]: warning: connect to private/policy: Connection refused Feb 23 12:09:06 ip-203-124-106-247 postfix/smtpd[19819]: warning: problem talking to server private/policy: Connection refused Feb 23 12:09:06 ip-203-124-106-247 postfix/smtpd[19819]: NOQUEUE: reject: RCPT from prodsmtp2.tradecard.com[208.87.221.70]: 451 4.3.5 Server configuration problem; from=<service@gtnexus.com> to=<jagadeesan@richaglobal.com> proto=ESMTP helo=<prodsmtp2.tradecard.com> Feb 23 12:09:06 ip-203-124-106-247 postfix/smtpd[19818]: warning: connect to private/policy: Connection refused Feb 23 12:09:06 ip-203-124-106-247 postfix/smtpd[19818]: warning: problem talking to server private/policy: Connection refused Feb 23 12:09:06 ip-203-124-106-247 postfix/smtpd[19818]: NOQUEUE: reject: RCPT from prodsmtp2.tradecard.com[208.87.221.70]: 451 4.3.5 Server configuration problem; from=<service@gtnexus.com> to=<sudeep@richaglobal.com> proto=ESMTP helo=<prodsmtp2.tradecard.com>
- So we have enable policy
#zmprov ms ip-203-124-106-247.ip.secureserver.net zimbraMtaEnableSmtpdPolicyd TRUE # tailf /var/log/zimbra.log # zmcontrol restart
Everything is ok, mail has been sent/received internally as well as externally.