Author Topic: IMAP Connection  (Read 2769 times)

jodel

  • Zen Monk
  • **
  • Posts: 52
  • Karma: +2/-0
    • View Profile
IMAP Connection
« on: November 28, 2015, 10:53:56 pm »
Hi,
I have a working Zentyal server with outlook clients connecting and web mail working.
I am trying to connect a Mac using imap. The connection is failing to authenticate.
(I have tried various combinations of windows and linux mail clients and all combinations of authentication to no avail)


When I run the following command on the server:

* OKopenssl s_client -connect
It lists the certs etc. and at the end gives this

* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=GSSAPI AUTH=PLAIN] Dovecot (Ubuntu) ready.

So it seems the imap server is running OK.
When I run

0 login myname mypassword
I get   "0 NO [AUTHENTICATIONFAILED] Authentication failed."


As an aside, Caldav and Carddav also fail to connect.

Any suggestions?

Jodel



jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: IMAP Connection
« Reply #1 on: December 01, 2015, 01:31:17 pm »
IMAP must use IMAPS  (using SSL) over port 993. You must use the full email to auth with IMAP

jodel

  • Zen Monk
  • **
  • Posts: 52
  • Karma: +2/-0
    • View Profile
Re: IMAP Connection
« Reply #2 on: December 01, 2015, 02:17:27 pm »
Thanks for that.  I got it working on the network internally but did not get a chance to try it externally since.
Jodel