On 05/20/2013 05:17 PM, Rimas Kudelis wrote:
it seems to me that RoundCube (0.9.0) can't authenticate to an Exim SMTP server (v4.72 on Debian) using AUTH PLAIN. I'm not sure which one of them is faulty here (or is it me?), but it looks like RoundCube is probably willing to send auth information after in a separate line than the AUTH PLAIN command, meanwhile Exim expects all that in the single line (AUTH PLAIN dGVzdAB0ZXN0AHRlc3RwYXNz).
According to RFC4954 both "one-line" and "two-line" versions of the command are valid. However, Net_SMTP package uses the latter one. So, it's a Exim bug. Extending Net_SMTP to support optionally both methods should be simple. Request this to Net_SMTP developers.