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
Sender Based Relay - Zimbra 8.7
Re: Sender Based Relay - Zimbra 8.7
Hans
I am having the same problem after upgrading to 8.7
Did you ever get it working?
Regards
Pablo
I am having the same problem after upgrading to 8.7
Did you ever get it working?
Regards
Pablo
- jorgedlcruz
- Zimbra Alumni
- Posts: 2782
- Joined: Thu May 22, 2014 4:47 pm
Re: Sender Based Relay - Zimbra 8.7
Hi guys,
Try the next:
Set the port for outbound emal From the command line:
Edit /opt/zimbra/conf/relay_password and add the following line:
Execute the following commands:
Run all commands as the zimbra user
Wait 2 minutes for the postfix configurations to be updated.
Try the next:
Set the port for outbound emal From the command line:
Code: Select all
zmprov ms `zmhostname` zimbraMtaRelayHost smtp.sendgrid.net:587
Code: Select all
smtp.sendgrid.net yoursendgridaccount:yoursendgridpassword
Run all commands as the zimbra user
Code: Select all
cd /opt/zimbra/conf
postmap /opt/zimbra/conf/relay_password
postmap -q smtp.sendgrid.net /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` zimbraMtaSmtpSaslSecurityOptions noanonymous;
Re: Sender Based Relay - Zimbra 8.7
Hi Jorge,
thanks for the answer and info...
but i think my problem is that i need different relay hosts based on the sender domain... e.g. gmail or gmx.net
which are defiend through the relayhost_map file...
your settings will only work for one smart host as far as i can see...
thanks!
Cheers
Hans
@pablo: i have no solution currently... also because of lack of time for further investigation...
thanks for the answer and info...
but i think my problem is that i need different relay hosts based on the sender domain... e.g. gmail or gmx.net
which are defiend through the relayhost_map file...
your settings will only work for one smart host as far as i can see...
thanks!
Cheers
Hans
@pablo: i have no solution currently... also because of lack of time for further investigation...
-
- Posts: 1
- Joined: Wed Aug 31, 2016 8:57 pm
Re: Sender Based Relay - Zimbra 8.7
Good afternoon sirs!
I set my zimbra + sendgrid, but the emails do not appear with that message which mentions the sendgrid, someone help me?
Thanks!!!!
I set my zimbra + sendgrid, but the emails do not appear with that message which mentions the sendgrid, someone help me?
Thanks!!!!
-
- Posts: 6
- Joined: Mon Aug 01, 2016 11:32 am
Re: Sender Based Relay - Zimbra 8.7
Add the following line in main.cf file and try
smtp_sender_dependent_authentication = yes
Rgds
VTeamTech
smtp_sender_dependent_authentication = yes
Rgds
VTeamTech
Re: Sender Based Relay - Zimbra 8.7
Hello anybody found a solution to this? I am still testing.
By the way this tutorial is totally wrong from the beginning to the end.
I wonder what he/she was thinking when was writing this article...
https://wiki.zimbra.com/wiki/Relay_per_Domain
By the way this tutorial is totally wrong from the beginning to the end.
I wonder what he/she was thinking when was writing this article...
https://wiki.zimbra.com/wiki/Relay_per_Domain
Re: Sender Based Relay - Zimbra 8.7
I am waiting some one to resolve this problem too. I have try all setting needed but no luck.