Autodiscover for email

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

Autodiscover for email

Post by marcinzetx »

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

Post by marcinzetx »

@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: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Autodiscover for email

Post by phoenix »

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

Post by marcinzetx »

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: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Autodiscover for email

Post by phoenix »

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/previo ... 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

Post by marcinzetx »

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: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Autodiscover for email

Post by phoenix »

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: 536
Joined: Sat Sep 13, 2014 12:54 am
ZCS/ZD Version: Release 9.0.0.ZEXTRAS.20221203 FOSS

Re: Autodiscover for email

Post by lytledd »

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/doc ... figuration

Doug
Teekin
Posts: 2
Joined: Wed Sep 08, 2021 6:15 pm

Re: Autodiscover for email

Post by Teekin »

@phoenix: Are you literally trying to be unhelpful? This is exactly the kind of attitude that drives people away from tech. You could have directed them to a page where they might acquire the Network Edition or at least spell out what "NE" means, or just mentioning Zextras in the first post would have potentially been useful. Then you chose, for some unimaginable reason, to mansplain to the person what autodiscovery is, and how you imagined that this would be helpful is completely beyond me - unless of course you're not even trying. You then wrongly, and most importantly unhelpfully explain that it's not a part of the IMAP standard - which is not just unhelpful but outright harmful, because the problem and the solution have nothing to do with whether it's a part of IMAP or not. You then simply state that the person is out of luck after then first mentioning Zextras, of course without explaining what it is.

This is why people shy away from tech; this typical, arrogant unhelpfulness that seems to serve no other purpose than to demotivate and prove to others that they don't know anything, don't understand anything and can't do anything.

I will post my suggestion to the original poster in another post.
Teekin
Posts: 2
Joined: Wed Sep 08, 2021 6:15 pm

Re: Autodiscover for email

Post by Teekin »

Haven't tried this myself, but I will be trying it myself: https://medium.com/@DonSYS/configuring- ... 3e110158fb
Post Reply