Re: [Exim] SMTP out with PAM authentication, Debian

Pàgina inicial
Delete this message
Reply to this message
Autor: Dave C.
Data:  
A: jens-ingo brodesser
CC: exim-users
Assumpte: Re: [Exim] SMTP out with PAM authentication, Debian
On Fri, 1 Dec 2000, jens-ingo brodesser wrote:

> At 19:01 -0500 30/11/00, you wrote:


[..]

> ######################################################################
> #                   AUTHENTICATION CONFIGURATION                     #
> ######################################################################

>
> login:
> driver=plaintext
> public_name=LOGIN
> server_condition="${if pam{$1:$2}{1}{0}}"
> server_prompts="Username:: : Password::"
> server_set_id=$1


[..]

> but still only relaying to local users is accepted for relaying now.
> there seems to be something missing. when i try to send to other
> domains than mine i get this rejectlog error :
>
> ------------------------------------------------------------------------------
> 2000-12-01 09:49:19 Authentication failed for ([212.68.216.69])
> [212.68.216.69]: 435 Unable to authenticate at present: unknown
> condition "pam"
> ------------------------------------------------------------------------------
> 2000-12-01 09:49:19 refused relay (host) to <exim-users@???>
> from <jens-ingo@???> H=([212.68.216.69]) [212.68.216.69
> ] (failed to find host name from IP address)
> ------------------------------------------------------------------------------
>
> i suppose it has to do with
>
> host_auth_accept_relay = *
> host_accept_relay = localhost: 213.35.95.0/24
>
> i tried to remove the host_accept_relay, it didn't change anything.


Actually, it has more to do with the "unknown condition pam" - my guess
would be that the exim binary you are using wasn't compiled with pam
support. (pam is "pluggable authentication modules" - used extensively
by RedHat, and I think Solaris. Either way, its a library for which
suport must be compiled into exim in order to use it)