Kiekeboe100
Verified User
Hi,
I had an issue with a client that couldn't get authenticated. After looking at the exim logs, he had written his name with a capital letter.
I know that Linux's default is to have user names case sensitive, although to make it easier for clients (and eventually for us), it would be nice if email addresses are case insensitive.
Delivering e-mail already acts like that ([email protected] and [email protected] get's delivered to the same mailbox).
Apparently exim.pl is used to do the authentication for exim.
I've changed line 174 to this:
and changed line 35 to this:
and changed line 79:
This seems to work, although I don't know if the limits are still working (didn't test the limits).
There shouldn't be a problem accessing the limits files in all lowercase, because an email address added through DirectAdmin is lowercased automatically.
I would like your opinion whether this should be default in exim.pl or not. (I hope so, as I would otherwise have to think about this after every exim.pl upgrade).
regards,
Stijn
I had an issue with a client that couldn't get authenticated. After looking at the exim logs, he had written his name with a capital letter.
I know that Linux's default is to have user names case sensitive, although to make it easier for clients (and eventually for us), it would be nice if email addresses are case insensitive.
Delivering e-mail already acts like that ([email protected] and [email protected] get's delivered to the same mailbox).
Apparently exim.pl is used to do the authentication for exim.
I've changed line 174 to this:
Code:
if (lc($test_user) eq lc($username))
and changed line 35 to this:
Code:
my($username) = @_;
$username = lc($username);
and changed line 79:
Code:
my($user,$domain) = @_;
$user = lc($user);
This seems to work, although I don't know if the limits are still working (didn't test the limits).
There shouldn't be a problem accessing the limits files in all lowercase, because an email address added through DirectAdmin is lowercased automatically.
I would like your opinion whether this should be default in exim.pl or not. (I hope so, as I would otherwise have to think about this after every exim.pl upgrade).
regards,
Stijn