----- Original Message -----
From: "Matthew Palmer" <[EMAIL PROTECTED]>
To: "Gareth Walters" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, October 01, 2002 1:47 PM
Subject: Re: [SLUG] SMTP authentication with exim 4


> On Mon, 30 Sep 2002, Gareth Walters wrote:
>
> > I can get it going with plaintext passwords that are hardwired(pretty
useless),
> > but nothing else seems to work (MD5 hard wired, or looked up from a file)
> >
> > Anyone out there done this before that can provide some assistance?
>
> I haven't done it on Exim 4, but I've done it for Exim 3.  Dunno exactly
> what the differences are between the two, perhaps it'll work much the
> same...

Thanks but I just got it working with plaintext passwords.
The necessary parts of configuration are appended.

---Gareth Walters
___________________
#general
acl_smtp_auth = acl_auth

# in acl's
acl_auth:
 accept hosts = *

#in authenticators

plain:
  driver = plaintext
  public_name = PLAIN
  server_condition = "${if
and{{!eq{$2}{}}{crypteq{$3}{${extract{pass}{${lookup{$2}lsearch{/home/.exim}}}}}
}}{1}{0}}"
  server_set_id = $2

#For Outlook:
login:
  driver = plaintext
  public_name = LOGIN
  server_prompts = "Username:: : Password::"
  server_condition = "${if
and{{!eq{$2}{}}{eq{$3}{${extract{pass}{${lookup{$2}lsearch{/home/.exim}}}}}}}{1}
{0}}"
  server_set_id = $1

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to