Can't set zimbraMtaAuthURL

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
11229jamesh
Posts: 5
Joined: Fri Sep 12, 2014 10:14 pm

Can't set zimbraMtaAuthURL

Post by 11229jamesh »

I am having SMTP authentication issues in Thunderbird. I have TLS auth set in the Outgoing Mail Server on my client but still seem to have issues when sending from an external client. Sending via the web interface is working fine.
Looking at the following command output:
[zimbra@mail etc]$ zmprov gs mail.mydomain.com | grep Auth

zimbraMtaAuthEnabled: TRUE

zimbraMtaAuthHost: mail.mydomain.com

zimbraMtaAuthURL: http://mail.mydomain.com:80/service/soap/

zimbraMtaTlsAuthOnly: TRUE
I see that the zimbraMtaAuthURL is wrong (I think) since I have changed the default port for http auth requests to 8080 and not 80.
I also have the mixed mode attribute set:
[zimbra@mail etc]$ zmprov gs mail.mydomain.com | grep Mode

zimbraMailMode: mixed
The only place I have seen that references zimbraMtaAuthURL is in saslauthd.conf. But it seems to merely reference the attribute and not be setting the attribute.
Is there a cli command to change this zimbraMtaAuthURL?
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Can't set zimbraMtaAuthURL

Post by marcmac »

Common problem, caused by a bug. The URL is derived from the zimbraMtaAuthHost, and that host's zimbraMailPort - when you update the host, the url updates, but updating the port doesn't update the url.
Go ahead and reset the host to it's current value

zmprov ms `zmhostname` zimbraMtaAuthHost whatever

and that should fix the URL
11229jamesh
Posts: 5
Joined: Fri Sep 12, 2014 10:14 pm

Can't set zimbraMtaAuthURL

Post by 11229jamesh »

By "whatever" I thought you meant the url + port so I did this:
[zimbra@mail etc]$ zmprov ms mail.mydomain.com zimbraMtaAuthHost mail.mydomain.com:8080
And got this.....
ERROR: service.INVALID_REQUEST (invalid request: specified zimbraMtaAuthHost does not correspond to a valid service hostname: mail.mydomain.com:8080)
So then I simply retyped what was already there without the port number:
[zimbra@mail etc]$ zmprov ms mail.mydomain.com zimbraMtaAuthHost mail.mydomain.com
And can now see the proper settings loaded
[zimbra@mail etc]$ zmprov gs mail.mydomain.com | grep Auth

zimbraMtaAuthEnabled: TRUE

zimbraMtaAuthHost: mail.mydomain.com

zimbraMtaAuthURL: https://mail.mydomain.com:8443/service/soap/

zimbraMtaTlsAuthOnly: TRUE
Thanks for info on properly setting zimbraMtaAuthURL.
Post Reply