[Exim] SMTP Auth

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ron McKeating
Dátum:  
Címzett: Exim-Users (E-mail)
Tárgy: [Exim] SMTP Auth
I want to try and get smtp auth working with the latest exim. I have the
following

acl_smtp_auth = acl_auth

in the general part of configure

then

accept authenticated = *
in the rcpt accl and

acl_auth:
accept hosts = *
in the acles

begin authenticators

plain:
driver=plaintext
public_name=PLAIN
server_prompts=:
server_condition=${if pam{$2:${sg{$3}{:}{::}}}{yes}{no}}
server_set_id = $2

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

and if I telnet to port 25 I get
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP

Is it because I am trying to use pam, it has been suggested I use
setfacl to set file acles on etc/shadow so user exim can read it, has
anybody done this and does it work. Anything else I should be looking or
useful suggestions. So far I just get relay not permitted when I try and
send through this server, but as it is just a test server for trying to
learn more about exim and email etc it does not matter too much a the
moment.

Ron


--
Ron McKeating
Senior IT Services Specialist
Internet Services and Software Solutions
Loughborough University
01509 222329