[Exim] EXIM and SMTP Authentification

Top Page
Delete this message
Reply to this message
Author: Jesús Gutiérrez Ramírez
Date:  
To: exim-users
Subject: [Exim] EXIM and SMTP Authentification
Hi,

I'm trying to set up Exim and SMTP Authentification. I'm using exim 4.20.

I added the next text to my exim config file

# Ath the begin of the Main section
auth_advertise_hosts = ! xxx.xxx.xxx.xxx/16
# where xxx.xxx.xxx.xxx it's my internal lan ip address

# At the end of the file
begin authenticators

#JGR 28/JUL/04
plain:
driver = plaintext
public_name = PLAIN
server_condition = "${if
crypteq{$2}{${extract{1}{:}{${lookup{$1}lsearch{/etc/exim/passwd}{$value}{*:
*}}}}}{1}{0}}"
server_set_id = $1

login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:::Password::"
server_condition = "${if
crypteq{$2}{${extract{1}{:}{${lookup{$1}lsearch{/etc/exim/passwd}{$value}{*:
*}}}}}{1}{0}}"
server_set_id = $1

When I try to test with telnet my.server 25 everything works OK, but when I
want to send a mail from client with ms outlook I can't make it. I receive
the next error on my exim mainlog

2004-07-29 13:52:46 login authenticator failed for
dup-200-64-71-2.prodigy.net.mx (MYPCNAME) [200.64.71.2]: 535 Incorrect
authentication data (set_id=myuser)

What can be the problem? How can I fix it?

J. Jesús Gutiérrez Ramírez.
Premezclas y Vitaminas Tepa, S.A de C.V.
Av. Jalisco 840
Tel/Fax 52 (378) 7810730
Tepatitlán, Jalisco, México.
www.previtep.com.mx