I'm having problems with the iPhone client in the 1.1.1 version of the iPhone software. Things with other clients work fine, and the iPhone worked fine before it was upgraded to 1.1.1. Other phones on 1.1.1 failed. I'm still working on testing against the client with the iPhone 1.0.2 software on it.
The problem is that the client simply doesn't connect to dovecot. I can see the packets passing back and forth in a number of ways, but haven't been able to see the contents. I tried turning on raw logging, but don't get log files for accesses from the iPhone. What I get are lines like so:
Oct 13 00:08:34 bhuda dovecot: imap-login: Disconnected: rip=xxx.xxx.xxx.xx2, lip=xxx.xxx.xxx.xx1, TLS
Turning off SSL both ways, and the message changes to:
Oct 13 18:21:38 bhuda dovecot: imap-login: Aborted login: rip=xxx.xxx.xxx.xx2, lip=xxx.xxx.xxx.xx1
Tweaking the logging in the firewall reveals something interesting: apparently the phone makes the connection to 993, then dovecot drops the connection, but the phone keeps sending to it (and yes, I've tried setting the firewall to allow arbitrary traffic between the phone and the server).
So, first question: is anyone who has clients using iPhone software version 1.1.1 working willing to share config information?
Second question: suggestions for things to try to solve the problem? (Other than talk to apple as that process is underway)? For instance, a recipe to sniff the text of the interchange?
Final question: Any other information I can provide that might help debug this?
Thanks,
<mike
dovecot info: bhuda# dovecot --version 1.0.5 bhuda# dovecot -n # 1.0.5: /usr/opt/etc/dovecot.conf ssl_cert_file: /usr/local/etc/openvpn/server.crt ssl_key_file: /usr/local/etc/openvpn/server.key login_dir: /var/run/dovecot/login login_executable: /usr/opt/libexec/dovecot/imap-login verbose_proctitle: yes first_valid_gid: 0 mail_extra_groups: mail mail_location: maildir:~/mailboxes imap_client_workarounds: delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep auth default: passdb: driver: pam userdb: driver: passwd
System info: bhuda# uname -a FreeBSD bhuda.mired.org 6.2-STABLE FreeBSD 6.2-STABLE #6: Sun Jun 3 04:17:59 EDT 2007 mwm@bhuda.mired.org:/usr/src/sys/amd64/compile/BHUDA amd64
And all the mailboxes are stored on ufs file systems.
<mike
-- Mike Meyer mwm@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.