[Dovecot] Apple Mail cannot connect (1.0 beta3)

Gregory K. Ruiz-Ade gkra at ucsd.edu
Thu Mar 2 22:04:29 EET 2006


I'm testing 1.0 beta3 on our mail server, and finding that Apple Mail seems 
unable to connect to it.

I'm running the 1.0b3 on port 997 so we can test it in parallel to 0.91 to 
compare performance (so far, it's hella faster).  I've ensured that the 
users testing are _not_ connecting in any way to the 0.91 version running on 
port 993.

 From the OS X client side (10.4.5 + latest patches), Apple Mail simply sits 
there and spins, and eventually times out.  The error it gives is:

-----
Alert

There may be a problem with the mail server or network. Check the settings 
for account "UCSD" or try again.

The server error encountered was: The connection to the server 
"csefast.ucsd.edu" on port 0 timed out.
-----

I'm thinking, "port 0, WTF?" ...

On the server, I get this out of the logs:

-----
Mar  2 11:54:48 csefast dovecot: imap-login: Disconnected: Inactivity: 
rip=<client_ip_address>, lip=<server_ip_address>, TLS
Mar  2 11:54:48 csefast dovecot: imap-login: SSL_accept() syscall failed: 
EOF [<client_ip_address>]
-----

Apple Mail is configured to connect to port 997 and has "Use SSL" checked. 
I'm not getting anything else useful out of the Mac in terms of debugging info.

Thunderbird seems to be working fine (all platforms).

The configuration file in use is:

-----
protocols = imaps
ssl_cert_file = /usr/share/ssl/certs/<servername>_cert.pem
ssl_key_file = /usr/share/ssl/private/<servername>_key.pem
login_greeting = Dovecot ready.
max_mail_processes = 2048
verbose_proctitle = yes
verbose_ssl = yes
first_valid_uid = 100
mail_debug = yes
default_mail_env = mbox:~/:INBOX=/var/mail/%u
mail_full_filesystem_access = yes
mbox_write_locks = dotlock fcntl
mbox_very_dirty_syncs = no
protocol imap {
   ssl_listen = *:997
   login_greeting_capability = yes
}
protocol pop3 {
}
auth_verbose = yes
auth_debug = yes
auth default {
   mechanisms = plain
   passdb pam {
     args = session=yes dovecot
   }
   userdb passwd {
   }
   user = root
}
-----

Any ideas?

Thanks,

Gregory

-- 
Gregory K. Ruiz-Ade
Sr. Systems Administrator
Computer Science and Engineering
University of California, San Diego
Office: EBU3b 1216
Phone:  (858) 822-2625
E-mail: gkra at ucsd.edu


More information about the dovecot mailing list