dkzr
Verified User
Why does exim.pl use 1st & 2dn parameter for AUTH PLAIN when it should be 2nd & 3rd ?
Hi,
It's been reported before and solutions have been posted, but why doen't exim.pl provide a fallback when an email client (like Apple Mail) offers a RFC valid AUTH PLAIN string?
A fallback for Netscape is already in place (exim.pl the smtpauth method around line 130). When changing this test to:
I have this working now on my server without problems. Shouldn't this be default for exim.pl ?
Background
The exim manual page on AUTH PLAIN explains that the client should send three strings combined:
The RFC explains the first part should be the identity, so the string would be:
Now: Apple Mail first tries the RFC way, using:
When this fails, it tries the Exim way with an empty first part.
Some previous relevant posts
http://forum.directadmin.com/showthread.php?t=33313
http://forum.directadmin.com/showthread.php?t=3936&p=24324#post24324
Hi,
It's been reported before and solutions have been posted, but why doen't exim.pl provide a fallback when an email client (like Apple Mail) offers a RFC valid AUTH PLAIN string?
A fallback for Netscape is already in place (exim.pl the smtpauth method around line 130). When changing this test to:
Code:
#check for netscape and others that offsets the identity/login/pass by one
if (length($extra) > 0)
{
$username = $password;
$password = $extra;
}
I have this working now on my server without problems. Shouldn't this be default for exim.pl ?
Background
The exim manual page on AUTH PLAIN explains that the client should send three strings combined:
Code:
<empty><NUL>username<NUL>mysecret
The RFC explains the first part should be the identity, so the string would be:
Code:
identity<NUL>username<NUL>mysecret
Now: Apple Mail first tries the RFC way, using:
Code:
username<NUL>username<NUL>mysecret
When this fails, it tries the Exim way with an empty first part.
Some previous relevant posts
http://forum.directadmin.com/showthread.php?t=33313
http://forum.directadmin.com/showthread.php?t=3936&p=24324#post24324