Re: [Exim] [PATCH] ssmtp (old-style SSL) support for exim 3.…

Góra strony
Delete this message
Reply to this message
Autor: Suresh Ramasubramanian
Data:  
Dla: Alexander Sabourenkov
CC: exim-users
Temat: Re: [Exim] [PATCH] ssmtp (old-style SSL) support for exim 3.3x viainetd for old style SSL MTAs ...
Alexander Sabourenkov <lxnt@???> writes:

> By the way, I've got Exim 4.02 to use pwcheck too. Anyone interested?
> (at least with FreeBSD 4.x configuring SMTP AUTH becomes a breeze:
> server_condition = "${if pwcheck{$1:$2}{1}{0}}"
> and it's done.)


I'd certainly be interested ... tried building a port of exim 4.02 -
with AUTH_PWCHECK=yes hardcoded into src/EDITME ... sheldon's port is
still at 4.01

It is trivial to build myself a port of 4.02 from sheldon's exim-devel
port, which I did (and it works perfectly) ... but what else did you do?

As it is, src/auths/call_pwcheck.c in exim 4.02 says -

: /* This module is reserved to contain functions that call the
: Cyrus-SASL pwcheck authentication daemon. However, it is currently
: non-functional, and won't ever be called (it is never referenced!). */

Mozilla 0.9.9 - which seems to use fixed_plain, works well with
hardcoded values of my username and password, as the exim spec shows.

Using the pam example in C034 of the old (3.x) config.samples doesn't
work.

2002-04-02 02:04:57 Authentication failed for
cm61-10-209-175.hkcable.com.hk (consultant.com) [61.10.209.175]: 535
Incorrect authentication data (set_id=suresh)

When I try your example (with PWCHECK support enabled as above in exim
4.02) - and fixed_plain having

server_condition = "${if pwcheck{$2:$3}{1}{0}}"
server_set_id = $2

I get

2002-04-02 23:48:05 Authentication failed for
cm61-10-209-175.hkcable.com.hk (consultant.com) [61.10.209.175]: 435
Unable to authenticate at present (set_id=suresh): unknown condition
"pwcheck"

in an endless loop till I break it by stopping mozilla from trying to
send the mail (hitting cancel). So, just what did you do?

     -srs
--
Suresh Ramasubramanian + suresh <@> hserus dot net
EMail Sturmbannfuhrer, Lower Middle Class Sysadmin