Well I haven't quite fixed the original problem, but I have found a workaround.
I turned full debugging on for courier-imap and it seamed to be authenticating OK at the server, but still not allowing connections
Code:
May 27 23:10:24 linuxserver1 imapd: Connection, ip=[::ffff:192.168.1.201]
May 27 23:10:28 linuxserver1 authdaemond: received auth request, service=imap, authtype=login
May 27 23:10:28 linuxserver1 authdaemond: pam_service=imap, pam_username=penguin
May 27 23:10:30 linuxserver1 imapd: Connection, ip=[::ffff:192.168.1.201]
May 27 23:10:30 linuxserver1 authdaemond: received auth request, service=imap, authtype=login
May 27 23:10:30 linuxserver1 authdaemond: pam_service=imap, pam_username=penguin
May 27 23:10:33 linuxserver1 imapd: Connection, ip=[::ffff:192.168.1.201]
May 27 23:10:33 linuxserver1 authdaemond: received auth request, service=imap, authtype=login
I could not see any reason for it failing at all.
I tried uninstalling and reinstalling courier-imap and courier-auth, which made no difference.
So I sort of accepted defeat and replaced courier-imap with dovecot. A few small configuration changes later (set to Maildir rather than mbox) and I am up and running again.
Only problem now is the 3500 spam emails that I've received in the last few days SPAM Assassin and the Thunderbird spam filter have between them get those down to about 100 or so.
Bookmarks