Re: [Exim] Exim auth - problem

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Sharun
Dátum:  
Címzett: SWS
CC: exim-users
Új témák: Re: [Exim] Exim auth - problem - part 2
Tárgy: Re: [Exim] Exim auth - problem
First, try to set big debug level (10), and see all of internal
checks. This works great for me while i'm tryin' to set not trivial
SMTP failure responses.
If you on a production server you can test configuration on another
port, runnin' exim with different conf.file, while production version
works on 25.

------------- Original message -----------
> From: sws@???
> To: exim-users@???
> Subject: [Exim] Exim auth - problem
> Date: Wednesday, November 28, 2001 at 12:47


Hi !

I have a big problem with auth configuration in Exim. Exim 3.33,
system Solaris 8, Sparc machine. I read spec.txt and FAQ (C034).
I want to use passwords from /etc/shadow file. I set in my
Local/Makefile following options:

EXIM_UID=0
EXIM_GID=0
AUTH_CRAM_MD5=yes
AUTH_PLAINTEXT=yes
etc.

At compilation time I didn't get any errors. Without auth exim
works ok. When I set in exim.conf the following options:

exim_user = root
exim_group = root
qualify_domain = my_host.domain.pl
local_domains = localhost:my_host.domain.pl
host_accept_relay = localhost
host_auth_accept_relay = *
auth_always_advertise = false

[...]

plain:
  driver = plaintext 
  public_name = PLAIN
  server_condition = "${if and {{!eq{$2}{}}{!eq{$3}{}}{crypteq{$3}\  
                   {${extract{2}{:}{${lookup{$2}lsearch{/etc/shadow}\
                   {$value}{*:*}}}}}}}{1}{0}}"
  server_set_id = $2


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


I can't send messages from client host (Netscape or Outlook).
In Netscape (on client hosts) I write my password in dialog window
but it doesn't work. In log file /var/log/exim_rejectlog I have
info:

2001-11-28 10:30:21 Authentication failed for client.domain.pl
(my_host.domain.pl) [xxx.xxx.xxx.xxx]: 535 Incorrect authentication
data

Outlook doesn't open dialog window and in log file I have info:

001-11-28 10:30:56 refused relay (host) to <xxx@???> from
<xxx@my_host.domain.pl> H=client.domain.pl (client) [xxx.xxx.xxx.xxx]

When I try to set other exim_user, add it to shadow group and set:

440 root shadow /etc/shadow

it also doesn't work.

I don't know what to do to make it work. Please help me.

Thank you.

Slawek



--

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