Re: [exim] authenticator returned 13

Top Page
Delete this message
Reply to this message
Author: Marc Haber
Date:  
To: exim users
Subject: Re: [exim] authenticator returned 13
On Thu, 17 Jan 2008 02:20:33 +0000, W B Hacker <wbh@???>
wrote:
>Several folks here can no doubt help with ID'ing the problem, but for a
>faster, and more 'drop-in' solution, you should be asking on the
>Debian-specific Exim mailing list.


Why should Debian answer Ubuntu questiosn?

>On the bespoke list, Marc has probably seen this many times and already
>has a straightforward solution.


Usually, the authenticators work.

|# this returns the matching line from passwd.client and doubles all ^
|PASSWDLINE=${sg{\
|                ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$value}fail}\
|                }\
|                {\\N[\\^]\\N}\
|                {^^}\
|            }

|
|plain:
| driver = plaintext
| public_name = PLAIN

|.ifndef AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS
|  client_send = "<; ${if !eq{$tls_cipher}{}\
|                    {^${extract{1}{:}{PASSWDLINE}}\
|                     ^${sg{PASSWDLINE}{\\N([^:]+:)(.*)\\N}{\\$2}}\
|                   }fail}"

|.else
|  client_send = "<; ^${extract{1}{:}{PASSWDLINE}}\
|                    ^${sg{PASSWDLINE}{\\N([^:]+:)(.*)\\N}{\\$2}}"

|.endif
|
|login:
| driver = plaintext
| public_name = LOGIN

|.ifndef AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS
|  # Return empty string if not non-TLS AND looking up $host in passwd-file
|  # yields a non-empty string; fail otherwise.
|  client_send = "<; ${if and{\
|                          {!eq{$tls_cipher}{}}\
|                          {!eq{PASSWDLINE}{}}\
|                         }\
|                      {}fail}\
|                 ; ${extract{1}{::}{PASSWDLINE}}\
|                 ; ${sg{PASSWDLINE}{\\N([^:]+:)(.*)\\N}{\\$2}}"

|.else
|  # Return empty string if looking up $host in passwd-file yields a
|  # non-empty string; fail otherwise.
|  client_send = "<; ${if !eq{PASSWDLINE}{}\
|                      {}fail}\
|                 ; ${extract{1}{::}{PASSWDLINE}}\
|                 ; ${sg{PASSWDLINE}{\\N([^:]+:)(.*)\\N}{\\$2}}"

|.endif

(This is what Debian uses, I don't know what Ubuntu uses).

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834