Re: [Exim] Netscape/Mozilla auth

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: barry
Data:  
Para: exim-users
Asunto: Re: [Exim] Netscape/Mozilla auth
On Wed, Aug 22, 2001 at 03:54:45AM +0100, barry mumbled:

and now having worked through that, I have it working, update incase anyone
else ever finds it useful

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


(this is right now, right? :)

> On Wed, Aug 22, 2001 at 04:48:23AM +0200, Tamas TEVESZ mumbled:
> > On Wed, 22 Aug 2001, barry wrote:
> >  >   public_name = PLAIN
> >                    ^^^^^
> >                    ^^^^^
> >  >   server_condition = "${if crypteq{$2}{${extract{1}{:} \
> >                                       ^^
> >                                       ^^
> >  > any help? other things I should have considered and are staring me in the
> >  > face? thanks for any help
> > like _carefully_ reading the relevant parts of spec ? with the plain
> > method, what are you getting from exim in which variable ?

>
> okay, I'll admit that was stolen from a debian testing default exim config :)
> I'd been trying to do it making sense of the spec most of the evening, and
> generally failing, but I guess that the relevant section would be this
>
> The PLAIN authentication mechanism (RFC 2595) specifies that three strings be
> sent with the AUTH command. The second and third of them are a user/password
> pair. Using a single fixed user and password as an example, this could be
> configured as follows:
>
> and that I should then be using $3 to be he password checking up on
>
> -- 
> -Barry Hughes
> I think animal testing is a terrible idea; they get all nervous and give the wrong answers
>                              http://bazza.com/

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


-- 
-Barry Hughes
Who wants to remember that escape-x-alt-control-left shift-b puts you into super-edit-debug-compile mode?
(Discussion in comp.os.linux.misc on the intuitiveness of commands, especially Emacs.)
                             http://bazza.com/