Sender Based Relay - Zimbra 8.7
Posted: Mon Aug 01, 2016 2:52 am
Hello,
i was using a working sender based relay with zimbra ose 8.6 till updating to 8.7.
I found that this settings wouldn't survive an update. Ok, so i tried to recreate
the setup without success. After hours of trying and searching i found out that
the postfix main.cf moved to /opt/zimbra/common/conf but this wasn't the solution.
Still not working.
Here are my settings:
zimbraMtaSmtpSaslAuthEnable: yes
zimbraMtaSmtpSaslPasswordMaps: lmdb:/opt/zimbra/conf/relay_password
zimbraMtaSmtpSaslSecurityOptions: noanonymous
zimbraMtaSmtpCnameOverridesServername: no
zimbraMtaSmtpTlsSecurityLevel: may
and also in main.cf:
sender_dependent_relayhost_maps = lmdb:/opt/zimbra/conf/relayhost_map
relay_password file:
myemail@gmail.com myemail@gmail.com:password
myotheremail@gmx.net myotheremail@gmx.net:password
relayhost_map file:
myemail@gmail.com [smtp.gmail.com]:587
myotheremail@gmx.net [mail.gmx.net]:587
postmap and postfix reload do not complain about errors...
but if i try to send a mail with one of the accounts above i get
mail postfix/smtp[25291]: B0F57485F138: to=<recipient@gmail.com>, relay=smtp.gmail.com[74.125.206.108]:587, delay=0.17, delays=0/0.
01/0.14/0.01, dsn=5.5.1, status=bounced (host smtp.gmail.com[74.125.206.108] said: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http
s://support.google.com/mail/answer/14257 k186sm11174731wmd.13 - gsmtp (in reply to MAIL FROM command))
i also checked the "unsecure apps" settings in gmail they are ok...
as mentioned before... the above setup was working with Zimbra 8.6
any help is kindly appreciated...
Thanks!
Kind Regards
Hans
i was using a working sender based relay with zimbra ose 8.6 till updating to 8.7.
I found that this settings wouldn't survive an update. Ok, so i tried to recreate
the setup without success. After hours of trying and searching i found out that
the postfix main.cf moved to /opt/zimbra/common/conf but this wasn't the solution.
Still not working.
Here are my settings:
zimbraMtaSmtpSaslAuthEnable: yes
zimbraMtaSmtpSaslPasswordMaps: lmdb:/opt/zimbra/conf/relay_password
zimbraMtaSmtpSaslSecurityOptions: noanonymous
zimbraMtaSmtpCnameOverridesServername: no
zimbraMtaSmtpTlsSecurityLevel: may
and also in main.cf:
sender_dependent_relayhost_maps = lmdb:/opt/zimbra/conf/relayhost_map
relay_password file:
myemail@gmail.com myemail@gmail.com:password
myotheremail@gmx.net myotheremail@gmx.net:password
relayhost_map file:
myemail@gmail.com [smtp.gmail.com]:587
myotheremail@gmx.net [mail.gmx.net]:587
postmap and postfix reload do not complain about errors...
but if i try to send a mail with one of the accounts above i get
mail postfix/smtp[25291]: B0F57485F138: to=<recipient@gmail.com>, relay=smtp.gmail.com[74.125.206.108]:587, delay=0.17, delays=0/0.
01/0.14/0.01, dsn=5.5.1, status=bounced (host smtp.gmail.com[74.125.206.108] said: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http
s://support.google.com/mail/answer/14257 k186sm11174731wmd.13 - gsmtp (in reply to MAIL FROM command))
i also checked the "unsecure apps" settings in gmail they are ok...
as mentioned before... the above setup was working with Zimbra 8.6
any help is kindly appreciated...
Thanks!
Kind Regards
Hans