We had an issue today where a client was not able to access a Plesk provisioned mailbox from their iPhone.
Everything was working fine using Roundcube webmail.
We then tested configuring access to their mail on an iPad (iOS 14.4) using the automatic mail profile. Settings seemed fine, but the password was not accepted.
Mail log showed this line:
The password contained the ^ (hat) character. We generated a new password in Plesk, which did not contain this particular character, and the mailbox could be accessed without a problem.
It seems that iOS Mail might have a problem correctly quoting/escaping password special characters. Has anyone else experienced a problem like this?
A brief web search showed one iOS user who thought special characters had been a problem: Invalid username or password for imap.app… - Apple Community
The discussion at How to Use Automatic Strong Passwords and Password Auditing in iOS 12 suggest that iOS itself generates passwords only using alphanumerics and the - (hyphen) character. Could it be that Apple doesn't support mailbox passwords containing any other special characters?
Everything was working fine using Roundcube webmail.
We then tested configuring access to their mail on an iPad (iOS 14.4) using the automatic mail profile. Settings seemed fine, but the password was not accepted.
Mail log showed this line:
Code:
Mar 17 10:54:23 dovecot: imap-login: Disconnected (auth failed, 1 attempts in 10 secs): user=<email@domain>, method CRAM-MD5, rip=xx.xx.xxx.xx, lip=xx.xxx.xx.xx, TLS, session=<Uogbd7i9S+Gfy41P>
The password contained the ^ (hat) character. We generated a new password in Plesk, which did not contain this particular character, and the mailbox could be accessed without a problem.
It seems that iOS Mail might have a problem correctly quoting/escaping password special characters. Has anyone else experienced a problem like this?
A brief web search showed one iOS user who thought special characters had been a problem: Invalid username or password for imap.app… - Apple Community
The discussion at How to Use Automatic Strong Passwords and Password Auditing in iOS 12 suggest that iOS itself generates passwords only using alphanumerics and the - (hyphen) character. Could it be that Apple doesn't support mailbox passwords containing any other special characters?