[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can't configure authentication in exim (SOLVED!)



The problem was that Lotus Domino smtp server answers to EHLO AUTH with

250-AUTH=LOGIN

The equal sign (=) is non-standard, should be a blank as per specs, but this 
is common practice in some Windows related MUAs, MTAs.

exim author Philip Hazel (with good reasons) refuses to change exim's code to 
accept above syntax, because it's non standard, but this makes us, poor users 
who have to use whatever smtp server our isp provides us with, to be stuck.

I've patched exim's sources:

change 

if (regex_AUTH == NULL) regex_AUTH =
  regex_must_compile("\\n250[\\s\\-]AUTH\\s+([\\-\\w\\s]+)(?:\\n|$)",
    FALSE,TRUE);

by:

if (regex_AUTH == NULL) regex_AUTH =
  regex_must_compile("\\n250[\\s\\-]AUTH(?:\\s+|=)([\\-\\w\\s]+)(?:\\n|$)",
    FALSE,TRUE);

in deliver.c effectively changing a sequence of spaces by the same sequence 
OR =. Now it works :-)

Once again advantadges and drawbacks of Linux vs. Windows come into play. I 
cannot tell my mother to configure exim while in Windows she only has to 
check a box. OTOH would I come across a problem like this in Window$ I 
couldn't solve it since its proprietary.

When all else fails use the souce Luke!

Cheers

Francesc Oller



Reply to: