Now most things seem to work (rc12 on Mandriva 2007.0), I've been looking more thoroughly at the syslog file. I see a 'syscall failed' at the end of a normal timed poll from the client. I wonder what it means. Sorry for the layout, it is messed up by the cut and paste. I have created the selfsigned cert and key in the /etc/ssl/dovecot/[certs,private] directories.
Egbert Jan
Nov 8 21:31:39 dev dovecot: auth(default): client in: AUTH^I1^IPLAIN^Iservice=IMAP^Isecured^Ilip=192.168.1.10^Irip=192.168.1.13^Iresp=<hidden> Nov 8 21:31:41 dev dovecot: auth(default): pam(user@domain.tld,192.168.1.13): pam_authenticate() failed: User not known to the underlying authentication module Nov 8 21:31:41 dev dovecot: auth-worker(default): sql(user@domain.tld,192.168.1.13): query: SELECT password FROM mailbox WHERE username = 'user@domain.tld' AND active='1' Nov 8 21:31:41 dev dovecot: auth(default): client out: OK^I1^Iuser=user@domain.tld Nov 8 21:31:41 dev dovecot: auth(default): master in: REQUEST^I14^I4012^I1 Nov 8 21:31:41 dev dovecot: auth(default): passwd(user@domain.tld,192.168.1.13): unknown user Nov 8 21:31:41 dev dovecot: auth-worker(default): sql(user@domain.tld,192.168.1.13): SELECT maildir, 1001 AS uid, 1001 AS gid, 'Maildir:/home/virtual/domain.tld/user' as mail FROM mailbox WHERE username = 'user@domain.tld' AND active = '1' Nov 8 21:31:41 dev dovecot: auth(default): master out: USER^I14^Iuser@domain.tld^Imaildir=domain.tld/user/^Iuid=1001^Igid=1001^Imail=Maildir:/home/virtual/domain.tld/user Nov 8 21:31:41 dev dovecot: imap-login: Login: user=user@domain.tld, method=PLAIN, rip=192.168.1.13, lip=192.168.1.10, TLS Nov 8 21:31:41 dev dovecot: auth(default): client in: AUTH^I1^IPLAIN^Iservice=IMAP^Isecured^Ilip=192.168.1.10^Irip=192.168.1.13^Iresp=<hidden> Nov 8 21:31:44 dev dovecot: auth(default): pam(user@domain.tld,192.168.1.13): pam_authenticate() failed: User not known to the underlying authentication module Nov 8 21:31:44 dev dovecot: auth-worker(default): sql(user@domain.tld,192.168.1.13): query: SELECT password FROM mailbox WHERE username = 'user@domain.tld' AND active='1' Nov 8 21:31:44 dev dovecot: auth(default): client out: OK^I1^Iuser=user@domain.tld Nov 8 21:31:44 dev dovecot: auth(default): master in: REQUEST^I15^I3990^I1 Nov 8 21:31:44 dev dovecot: auth(default): passwd(user@domain.tld,192.168.1.13): unknown user Nov 8 21:31:44 dev dovecot: auth-worker(default): sql(user@domain.tld,192.168.1.13): SELECT maildir, 1001 AS uid, 1001 AS gid, 'Maildir:/home/virtual/domain.tld/user' as mail FROM mailbox WHERE username = 'user@domain.tld' AND active = '1' Nov 8 21:31:44 dev dovecot: auth(default): master out: USER^I15^Iuser@domain.tld^Imaildir=domain.tld/user/^Iuid=1001^Igid=1001^Imail=Maildir:/home/virtual/domain.tld/user Nov 8 21:31:44 dev dovecot: imap-login: Login: user=user@domain.tld, method=PLAIN, rip=192.168.1.13, lip=192.168.1.10, TLS Nov 8 21:31:44 dev dovecot: imap-login: SSL_read() syscall failed: EOF [192.168.1.13] Nov 8 21:31:44 dev dovecot: IMAP(user@domain.tld): Disconnected Nov 8 21:31:44 dev dovecot: imap-login: SSL_read() syscall failed: EOF [192.168.1.13] Nov 8 21:31:44 dev dovecot: IMAP(user@domain.tld): Disconnected: Logged out EOF