Thanks, that helped, but now I've reached another impasse. Whenever my laptop initiates an imaps session, a sasl password authentication is performed (against /etc/sasldb2 database). However, whenever I use my Android it performs a "login" authentication (against /etc/passwd). I find this odd because I thought the authentication scheme was strictly server-side determinant. Sanitized log snippets follow:
Laptop:
Oct 26 21:37:20 myserver cyrus/master[15106]: about to exec /usr/lib/cyrus/bin/imapd
Oct 26 21:37:20 myserver cyrus/imaps[15106]: executed
Oct 26 21:37:20 myserver cyrus/imaps[15106]: accepted connection
Oct 26 21:37:20 myserver cyrus/imaps[15106]: mystore: starting txn 2147485774
Oct 26 21:37:20 myserver cyrus/imaps[15106]: mystore: committing txn 2147485774
Oct 26 21:37:20 myserver cyrus/imaps[15106]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication
Oct 26 21:37:26 myserver cyrus/imaps[15106]: login: mylaptop.mydomain.com [192.168.1.1] myImapUserName CRAM-MD5+TLS User logged in
Oct 26 21:37:26 myserver cyrus/imaps[15106]: seen_db: user myImapUserName opened /var/lib/cyrus/user/m/myImapUserName.seen
Oct 26 21:37:26 myserver cyrus/imaps[15106]: open: user myImapUserName opened INBOX
android phone:
Oct 26 21:49:43 myserver cyrus/master[15278]: about to exec /usr/lib/cyrus/bin/imapd
Oct 26 21:49:43 myserver cyrus/imaps[15278]: executed
Oct 26 21:49:43 myserver cyrus/imaps[15278]: accepted connection
Oct 26 21:49:45 myserver cyrus/imaps[15278]: mystore: starting txn 2147485786
Oct 26 21:49:45 myserver cyrus/imaps[15278]: mystore: committing txn 2147485786
Oct 26 21:49:45 myserver cyrus/imaps[15278]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication
Oct 26 21:49:50 myserver cyrus/imaps[15278]: badlogin: mytmohostname.tmodns.net [xxx.xxx.xxx.xxx] plaintext myImapUserName SASL(-13): authentication failure: checkpass failed
In short, it's all the same until after
"starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication".
After that, the laptop does succeeds a CRAM-MD5+TLS login, but the G1 fails a plaintext login
But when I attempt to sync up my Android phone with an IMAP mailbox that happens to have the same name as my shell login (i.e., name happens to be in both /etc/passwd and /etc/sasldb databases):
Oct 26 22:01:25 myservername cyrus/imaps[15374]: executed
Oct 26 22:01:25 myservername cyrus/imaps[15374]: accepted connection
Oct 26 22:01:26 myservername cyrus/imaps[15374]: mystore: starting txn 2147485791
Oct 26 22:01:26 myservername cyrus/imaps[15374]: mystore: committing txn 2147485791
Oct 26 22:01:26 myservername cyrus/imaps[15374]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication
Oct 26 22:01:26 myservername cyrus/imaps[15374]: login: myhostname.tmodns.net [xxx.xxx.xxx.xxx] myShellUserName plaintext+TLS User logged in
Oct 26 22:01:27 myservername cyrus/imaps[15374]: seen_db: user myShellUserName opened /var/lib/cyrus/user/m/myShellUserName.seen
Oct 26 22:01:27 myservername cyrus/imaps[15374]: open: user myShellUserName opened INBOX
Note it now uses "plaintext+TLS" to successfully login.
It puzzles me that my laptop resolves to "CRAM-MD5+TLS" authentication, but my android phone resolves to "plaintext+TLS". I wonder why.
I could probably resolve the matter by creating shell account for each imap user that has an Android. But I would rather not do that. The scope of this problem probably now exceeds the scope of the forum (it may very well be a linux problem). But I suspect as more Android users come on line, they might encounter the same complications. Any ideas?