Postingan

Menampilkan postingan dari Mei, 2017

Disable Proxy and Restore Standart Port on Zimbra 8.7

#POP3 and IMAP #Unbind port pop3 and imap zmprov ms `zmhostname` zimbraImapProxyBindPort 0 zmprov ms `zmhostname` zimbraImapSSLProxyBindPort 0 zmprov ms `zmhostname` zimbraPop3ProxyBindPort 0 zmprov ms `zmhostname` zimbraPop3SSLProxyBindPort 0 #Set standard ports / bind port for pop3 and imap zmprov ms `zmhostname` zimbraImapBindPort 143 zmprov ms `zmhostname` zimbraImapSSLBindPort 993 zmprov ms `zmhostname` zimbraPop3BindPort 110 zmprov ms `zmhostname` zimbraPop3SSLBindPort 995 #WEBMAIL #Unbind port  webmail zmprov ms `zmhostname` zimbraMailProxyPort 0 zmprov ms `zmhostname` zimbraMailSSLProxyPort 0 #Set standard ports / bind port for webmail zmprov ms `zmhostname` zimbraMailPort 80 zmprov ms `zmhostname` zimbraMailSSLPort 443 #Disable memcache and proxy service zmprov ms `zmhostname` -zimbraServiceEnabled memcached zmprov ms `zmhostname` -zimbraServiceEnabled proxy # Stop service memcache and proxy service zmproxyctl stop zmmemcachedctl stop ...

Tranpost Map for Zimbra Relay by domain / user

domainB.com with auth "[email protected]" passwd "rahasia" su - zimbra nano /opt/zimbra/postfix/conf/transportfile [email protected]     :[smpt.example.com] domainB.com                :[smpt.example.com]:587 # Postmap Transport postmap /opt/zimbra/postfix/conf/transportfile echo domainB.com [email protected]:rahasia > /opt/zimbra/conf/relay_password postmap /opt/zimbra/conf/relay_password postmap -q domainB.com /opt/zimbra/conf/relay_password Zimbra 8.6 zmprov ms `zmhostname` zimbraMtaTransportMaps "lmdb:/opt/zimbra/postfix/conf/transportfile,proxy:ldap:/opt/zimbra/conf/ldap-transport.cf" # Restart Services Zimbra zmcontrol restart Zimbra 8.7X postmap /opt/zimbra/conf/transportfile zmprov ms `zmhostname` zimbraMtaTransportMaps "lmdb:/opt/zimbra/conf/transportfile,proxy:ldap:/opt/zimbra/conf/ldap-transport.cf" # Restart Services Zimbra zmcontrol restart

Smtp Relay for Zimbra with authentication

 Zimbra will relay to mail same smtp relay / mail hosting / gmail echo domain.com [email protected]:passwd > /opt/zimbra/conf/relay_password postmap /opt/zimbra/conf/relay_password postmap -q domain.com /opt/zimbra/conf/relay_password zmprov ms `zmhostname` zimbraMtaSmtpSaslPasswordMaps lmdb:/opt/zimbra/conf/relay_password zmprov ms `zmhostname` zimbraMtaSmtpSaslAuthEnable yes zmprov ms `zmhostname` zimbraMtaSmtpCnameOverridesServername no zmprov ms `zmhostname` zimbraMtaSmtpTlsSecurityLevel may zmprov ms `zmhostname` zimbraMtaSmtpSaslSecurityOptions noanonymous zmprov ms `zmhostname` zimbraMtaRelayHost domain.com:587 Restore zmprov ms `zmhostname` zimbraMtaRelayHost "" zmprov ms `zmhostname` zimbraMtaFallbackRelayHost "" than $ postfix reload and $ zmcontrol restart