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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: jens-ingo brodesser
Date:  
À: exim-users
Sujet: Re: [Exim] SMTP out with PAM authentication, Debian
At 19:01 -0500 30/11/00, you wrote:


>You have your authenticator driver in the config file rewrite
>section. The exim config file has multiple sections, each terminated by
>the keyword 'end'.. Each type of config must go in the appropriate
>section..
>


######################################################################
#                    MAIN CONFIGURATION SETTINGS                     #
######################################################################


[...]

host_auth_accept_relay = *
host_accept_relay = localhost: 213.35.95.0/24

[...]

end

[...]

######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################


*@all2all.org    ${lookup{$1}lsearch{/etc/email-addresses}\
                                                 {$value}fail} bcfrF


*@provelo.org    ${lookup{$1}lsearch{/etc/email-addresses}\
                                                 {$value}fail} bcfrF


*@revobild.net    ${lookup{$1}lsearch{/etc/email-addresses}\
                                                 {$value}fail} bcfrF


*@antitv.net    ${lookup{$1}lsearch{/etc/email-addresses}\
                                                 {$value}fail} bcfrF


######################################################################
#                   AUTHENTICATION CONFIGURATION                     #
######################################################################


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


the different sections have been respected, sorry, i didn't quote the
config file correctly. the problem was actually as David C. and
Jeffrey Goldberg said the missing *end* keyword between the last two
sections (rewrite and authentication).

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.

thank you

--
-jens-ingo