Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

typo in Ch 37, dovecot authenticator?

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


bill-exim at carpenter

Jan 30, 2010, 11:10 AM

Post #1 of 6 (789 views)
Permalink
typo in Ch 37, dovecot authenticator?

http://www.exim.org/exim-html-current/doc/html/spec_html/ch37.html

The text says "the identity of the user who authenticated is placed in
$auth1", but the example show use of both "$auth1" and "$auth2".

Does someone know offhand which is correct (to save my lazy self from
finding out experimentally)?

TIA!


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


km at krot

Jan 30, 2010, 1:57 PM

Post #2 of 6 (761 views)
Permalink
Re: typo in Ch 37, dovecot authenticator? [In reply to]

* WJCarpenter [2010-01-30 11:10]:
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch37.html
>
> The text says "the identity of the user who authenticated is placed in
> $auth1", but the example show use of both "$auth1" and "$auth2".
>
> Does someone know offhand which is correct (to save my lazy self from
> finding out experimentally)?

Both. Depends on public_name being used. For PLAIN, username is stored
in $auth2 and password in $auth3. For LOGIN, username is $auth1 and
password in $auth2. For NTLM I have no idea.

If using Dovecot authentication with Exim, note that Exim will abort if
authenticating against Dovecot 2.0. See this post:
http://dovecot.org/list/dovecot/2010-January/046281.html

BR,
Kirill

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


km at krot

Jan 30, 2010, 2:04 PM

Post #3 of 6 (761 views)
Permalink
Re: typo in Ch 37, dovecot authenticator? [In reply to]

* WJCarpenter [2010-01-30 11:10]:
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch37.html
>
> The text says "the identity of the user who authenticated is placed in
> $auth1", but the example show use of both "$auth1" and "$auth2".
>
> Does someone know offhand which is correct (to save my lazy self from
> finding out experimentally)?

I was tempted to experimented and $auth1 is indeed correct. The examples
are valid for other authentication drivers (see my previous reply).

Thank you for this pointer!

-- Kirill

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


km at krot

Jan 30, 2010, 2:12 PM

Post #4 of 6 (764 views)
Permalink
Re: typo in Ch 37, dovecot authenticator? [In reply to]

* Kirill Miazine [2010-01-30 23:04]:
> * WJCarpenter [2010-01-30 11:10]:
> > http://www.exim.org/exim-html-current/doc/html/spec_html/ch37.html
> >
> > The text says "the identity of the user who authenticated is placed in
> > $auth1", but the example show use of both "$auth1" and "$auth2".

The same is also true for:

http://www.exim.org/exim-html-current/doc/html/spec_html/ch36.html

The wording in the docs (and the source) says $auth1, while examples use
$auth1 and $auth2.

I apologise for three separate posts.

Kirill

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


eximX0902w at linuxwan

Jan 30, 2010, 3:15 PM

Post #5 of 6 (760 views)
Permalink
Re: typo in Ch 37, dovecot authenticator? [In reply to]

On Sat, 2010-01-30 at 22:57 +0100, Kirill Miazine wrote:
> Both. Depends on public_name being used. For PLAIN, username is stored
> in $auth2 and password in $auth3. For LOGIN, username is $auth1 and
> password in $auth2. For NTLM I have no idea.
>
> If using Dovecot authentication with Exim, note that Exim will abort if
> authenticating against Dovecot 2.0. See this post:
> http://dovecot.org/list/dovecot/2010-January/046281.html

There's a patch in dev to fix that issue .. which you wrote. :P

http://bugs.exim.org/show_bug.cgi?id=954

Oh well .. hopefully this will help "the google" ;)

--
The Exim manual - http://docs.exim.org


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


martin at antibodymx

Jan 31, 2010, 4:51 AM

Post #6 of 6 (743 views)
Permalink
Re: typo in Ch 37, dovecot authenticator? [In reply to]

On Sat, January 30, 2010 7:10 pm, WJCarpenter wrote:
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch37.html
>
> The text says "the identity of the user who authenticated is placed in
> $auth1", but the example show use of both "$auth1" and "$auth2".
>
> Does someone know offhand which is correct (to save my lazy self from
> finding out experimentally)?

I'm not quite clear which way round you're doing the authentication here,
but if you want senders connecting to exim to be authenticated from
Dovecot, then I have recently written a HOWTO that includes a section on
doing just that. See:


http://hinterlands.org/wiki/index.php/DebianEximDovecotSquirrelmailSieve


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.