RE: [Exim] EXIM and SMTP Authentification

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jesús Gutiérrez Ramírez
Date:  
À: exim-users
Sujet: RE: [Exim] EXIM and SMTP Authentification
Hi,

I commented the line
#auth_advertise_hosts = ! xxx.xxx.xxx.xxx/16

and make a test from my internal lan and it works..

I think the problem it the relay rules I set up.

domainlist relay_domains = *.mydomain.com
hostlist relay_hosts = XXX.XXX.XXX.XXX/16 :

begin acl

#!!# ACL that is used after the RCPT command
check_recipient:
  # Exim 3 had no checking on -bs messages, so for compatibility
  # we accept if the source is local SMTP (i.e. not over TCP/IP).
  # We do this by testing for an empty sending host field.
  accept  hosts = :
  accept  domains = +local_domains
  accept  domains = +relay_domains
  accept  hosts = +relay_hosts
  deny    message = relay not permitted



I toughth smtp auth override the relay rules, but It seems doesn't.

Do I have to set up as an Open relay?

Or how can I set up relay rules and smtp auth to work together?

TIA

Jesus Gtez.

-----Mensaje original-----
De: exim-users-admin@??? [mailto:exim-users-admin@exim.org]En
nombre de Jesús Gutiérrez Ramírez
Enviado el: Jueves, 29 de Julio de 2004 04:48 p.m.
Para: exim-users@???
Asunto: [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


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##