[Exim] smtp auth + pam

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Asbjørn Høiland Aarrestad
Fecha:  
A: exim users
Asunto: [Exim] smtp auth + pam
hi!

After browsing the faq, the web and the mail archive, I have to ask for
more help.

I'm trying to make exim do an smtp auth using pam.

I'm using exim 4.12 on a redhat 7.3 box

I have /etc/shadow owned by root:shadow
both root and mail is a member of the shadow group

I have compiled exim with support for PAM, and that worked fine.

my authenticators are:
plain:
driver= plaintext
public_name = PLAIN
server_condition = "${if pam{$1:$2}{yes}{no}}"
server_set_id = $2

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


When I try to send mail from the outside, the mail client (Mozilla) asks
me for username and password. But it never gets accepted.

In the exim_rejectlog I get:
2003-03-09 12:37:02 Authentication failed for 217-13-7-8.dd.nextgentel.com
(aarrestad.com) [217.13.7.8]: 535 Incorrect authentication data
(set_id=asbjorn)

and in /var/log/messages I get:
Mar 9 12:16:03 kjeller exim(pam_unix)[19841]: bad username []


Can anybody help me to solve this error?


regards
Asbjørn





--
--------------------------------------------------
Asbjørn Høiland Aarrestad    asbjorn@???
http://asbjorn.aarrestad.com/