Autodiscover for email

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
marcinzetx
Posts: 4
Joined: Tue Sep 22, 2020 10:02 pm

Autodiscover for email

Postby marcinzetx » Tue Sep 22, 2020 10:18 pm

Hello,

I have an installed mail server "mail.temp.com"

My DNS
autoconfig.temp.com. 0 CNAME mail.temp.com.
autodiscover.temp.com. 0 CNAME mail.temp.com.
_autodiscover._tcp.temp.com. 0 SRV 0 0 443 mail.temp.com.
_imaps._tcp.temp.com. 0 SRV 0 0 993 mail.temp.com.
_submission._tcp.temp.com. 0 SRV 0 0 465 mail.temp.com.

When I type the e-mail "marcin@temp.com" in the "thunderbird" e-mail program, the program cannot find the imap and smtp configuration.

How can you enable automatic configuration detection in zimbra?


marcinzetx
Posts: 4
Joined: Tue Sep 22, 2020 10:02 pm

Re: Autodiscover for email

Postby marcinzetx » Wed Sep 23, 2020 9:50 am

@Edit

I looked at the mail log /opt/zimbra/log/mailbox.log

Code: Select all

2020-09-23 09:12:50,972 INFO  [qtp1027591600-3305:https://mail.temp.com/Autodiscover/Autodiscover.xml] [ip=192.168.1.2;port=53530;] AutoDiscoverServlet - Handling autodiscover request...
2020-09-23 09:12:50,973 WARN  [qtp1027591600-3305:https://mail.temp.com/Autodiscover/Autodiscover.xml] [ip=192.168.1.2;port=53530;] AutoDiscoverServlet - No basic auth header in the request
2020-09-23 09:12:50,973 WARN  [qtp1027591600-3305:https://mail.temp.com/Autodiscover/Autodiscover.xml] [ip=192.168.1.2;port=53530;] AutoDiscoverServlet - HTTP/1.1 401 Unauthorized
2020-09-23 09:12:51,063 INFO  [qtp1027591600-3321:https://mail.temp.com/Autodiscover/Autodiscover.xml] [ip=192.168.1.2;port=53532;] AutoDiscoverServlet - Handling autodiscover request...
2020-09-23 09:12:51,064 INFO  [qtp1027591600-3321:https://mail.temp.com/Autodiscover/Autodiscover.xml] [ip=192.168.1.2;port=53532;] AutoDiscoverServlet - User account not enabled for ZimbraSync; user=test1@temp.com
2020-09-23 09:12:51,064 WARN  [qtp1027591600-3321:https://mail.temp.com/Autodiscover/Autodiscover.xml] [ip=192.168.1.2;port=53532;] AutoDiscoverServlet - HTTP/1.1 403 Account not enabled for ZimbraSync
2020-09-23 09:13:02,720 INFO  [qtp1027591600-3355:https://mail.temp.com/Autodiscover/Autodiscover.xml] [ip=192.168.1.2;port=53538;] AutoDiscoverServlet - Handling autodiscover request...
2020-09-23 09:13:02,722 WARN  [qtp1027591600-3355:https://mail.temp.com/Autodiscover/Autodiscover.xml] [ip=192.168.1.2;port=53538;] AutoDiscoverServlet - No basic auth header in the request
2020-09-23 09:13:02,722 WARN  [qtp1027591600-3355:https://mail.temp.com/Autodiscover/Autodiscover.xml] [ip=192.168.1.2;port=53538;] AutoDiscoverServlet - HTTP/1.1 401 Unauthorized
2020-09-23 09:13:02,813 INFO  [qtp1027591600-3300:https://mail.temp.com/Autodiscover/Autodiscover.xml] [ip=192.168.1.2;port=53540;] AutoDiscoverServlet - Handling autodiscover request...
2020-09-23 09:13:02,815 INFO  [qtp1027591600-3300:https://mail.temp.com/Autodiscover/Autodiscover.xml] [ip=192.168.1.2;port=53540;] AutoDiscoverServlet - User account not enabled for ZimbraSync; user=test1@temp.com
2020-09-23 09:13:02,815 WARN  [qtp1027591600-3300:https://mail.temp.com/Autodiscover/Autodiscover.xml] [ip=192.168.1.2;port=53540;] AutoDiscoverServlet - HTTP/1.1 403 Account not enabled for ZimbraSync


It seems thunderbird is trying to get the mail configuration directly from the mail server instead of using the DNS configuration.

The second thing is that the log informs you that the account is not turned on in ZimbraSync, according to the Internet tutorials in the administration panel, I should have the Zimbra Mobile option and turn it on, unfortunately I do not have this tab, how can I activate it?
phoenix
Ambassador
Ambassador
Posts: 26711
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Autodiscover for email

Postby phoenix » Wed Sep 23, 2020 10:50 am

marcinzetx wrote:.... unfortunately I do not have this tab, how can I activate it?
The simple answer is, you don't - that feature is in NE version of ZCS.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
marcinzetx
Posts: 4
Joined: Tue Sep 22, 2020 10:02 pm

Re: Autodiscover for email

Postby marcinzetx » Wed Sep 23, 2020 12:04 pm

Do I understand correctly that "Zimbra Collaboration Open Source" does not support autodiscover it is only available for the "Zimbra Collaboration Network Edition" version


In my case, I have added another domain "zimbratestdomain.com" to the mail server
So I enter the e-mail address marcin@zimbratestdomain.com in the thunderbird program, unfortunately the system is not able to automatically load the correct configuration IMAP and SMTP

When I enter it manually:
IMAP
server: mail.temp.com
port: 993
SSL: SSL/TLS
Authentication: Normal password

SMTP
server: mail.temp.com
port: 465
SSL: SSL/TLS
Authentication: Normal password

I am connecting to the server properly
The same is also true for the main domain "temp.com"

Is there any other possibility for the e-mail programs to load the configuration for the e-mail server, now I have to enter it manually?
phoenix
Ambassador
Ambassador
Posts: 26711
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Autodiscover for email

Postby phoenix » Wed Sep 23, 2020 3:12 pm

marcinzetx wrote:Do I understand correctly that "Zimbra Collaboration Open Source" does not support autodiscover it is only available for the "Zimbra Collaboration Network Edition" version
That's correct, "Autodiscovery is a process by which a Microsoft Exchange Server client can determine the URL of a particular Microsoft Exchange ActiveSync endpoint by using only a mailbox SMTP address and user credentials." see here: https://docs.microsoft.com/en-us/previous-versions/office/developer/exchange-server-interoperability-guidance/hh352638(v=exchg.140) and IMAP is not an activesync protocol and therefore have to enter the details manually.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
marcinzetx
Posts: 4
Joined: Tue Sep 22, 2020 10:02 pm

Re: Autodiscover for email

Postby marcinzetx » Wed Sep 23, 2020 4:26 pm

Currently I do not need exchange on the server, I would like the e-mail client to automatically load the server configuration in terms of IMAP and SMTP
phoenix
Ambassador
Ambassador
Posts: 26711
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Autodiscover for email

Postby phoenix » Wed Sep 23, 2020 6:50 pm

marcinzetx wrote:Currently I do not need exchange on the server, I would like the e-mail client to automatically load the server configuration in terms of IMAP and SMTP
As I've already said, that feature is not available except in ActiveSync clients and therefore it would need an NE server of Zextras so you're out of luck.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
lytledd
Outstanding Member
Outstanding Member
Posts: 515
Joined: Sat Sep 13, 2014 12:54 am
ZCS/ZD Version: Ubuntu Release 8.8.15.GA.P16 FOSS

Re: Autodiscover for email

Postby lytledd » Thu Sep 24, 2020 5:32 pm

marcinzetx wrote:Currently I do not need exchange on the server, I would like the e-mail client to automatically load the server configuration in terms of IMAP and SMTP


This may be of interest to you

https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration

Doug

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 24 guests