OK - If I try this I get the following:
435 Unable to authenticate at present: unknown condition "saslauthd"
Any ideas?
> -----Original Message-----
> From: exim-users-admin@???
> [mailto:exim-users-admin@exim.org] On Behalf Of Jez Hancock
> Sent: 10 October 2003 13:06
> To: exim-users@???
> Subject: Re: [Exim] Passwd file authenticator
>
>
> On Fri, Oct 10, 2003 at 10:53:44AM +0100, James Cumming wrote:
> > I'm trying to configure exim 4.24 to force authentication
> from clients
> > such as Outlook using the passwd file on my server.
> Unfortunately, the
> > documentation is very detailed about everything except how
> to get it
> > working!
> >
> > I basically want it to fail to relay mail from that IP if the user
> > isn't authenticated correctly.
> >
> > Can someone provide me with an example for the exim.conf file
> I use saslauthd on FreeBSD which works very nicely. The
> authenticator looks like this:
>
> ######################################################################
> # AUTHENTICATION CONFIGURATION #
> ######################################################################
>
> # There are no authenticator specifications in this default
> configuration file.
>
> begin authenticators
>
> plain:
> driver = plaintext
> public_name = PLAIN
> server_condition = ${if saslauthd{{$2}{$3}}{1}{0}}
>
> login:
> driver = plaintext
> public_name = LOGIN
> server_prompts = "Username:: : Password::"
> server_condition = ${if saslauthd{{$1}{$2}}{1}{0}}
>
> In this way, Exim queries saslauthd when provided with
> user/pass data and in turn saslauthd checks the validity of
> the data against using the configured method (PAM by default).
>
> --
> Jez Hancock
> - System Administrator / PHP Developer
>
http://munk.nu/
--
## List details at
http://www.exim.org/mailman/listinfo/exim-users Exim details at
http://www.exim.org/ ##