Re: [Exim] SMTP_AUTH problems with Exim 4.10 amd OS X Server

Etusivu
Poista viesti
Vastaa
Lähettäjä: Giuliano Gavazzi
Päiväys:  
Vastaanottaja: dave, exim-users
Aihe: Re: [Exim] SMTP_AUTH problems with Exim 4.10 amd OS X Server
I forgot to say that if your clients are also Eudora, then you cannot
use the afp548.com recipe, unless you are prepared to collect all
clear text passwords from your users... Eudora uses the same password
for collection and SMTP AUTH. So you must use the system password
repository. The lookup passwd, as explained by Nico yesterday, will
do it.

In other words, in my interpretation:


login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = "${if and {{!eq{$1}{}}{!eq{$2}{}} \
                    {crypteq{$2}{\
                    ${lookup passwd {$1}{${extract{1}{:}{$value}}{*}}}}}{1}{0}}"


plain:
driver = plaintext
public_name = PLAIN
server_prompts =  :
server_condition = "${if and {{!eq{$2}{}}{!eq{$3}{}}\
                    {crypteq{$3}{\
                    ${lookup passwd {$2}{${extract{1}{:}{$value}}{*}}}}}{1}{0}}"



his was untested, and mine too..

Giuliano
--
H U M P H
    || |||
  software


Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X
http://www.humph.com/