Roland,

No, I didn't miss it - I just wanted one database entry to
work for a client regardless of the the MUA being used.

With my approach, an entry like:   [EMAIL PROTECTED]   is
found normally when e-mail is being delivered from anywhere
outside the local e-mail system.

The issue was (and still is) that Netscape 4.xx Messenger clients
do not handle the  [EMAIL PROTECTED], and create some kind
of garbage instead.  Most folks use   farbuckle:someplace.com, 
or perhaps  farbuckle%someplace.com  in the account username
field.

My patch recognizes this fact, and rewrites the name BEFORE it
is passed into the MySql lookup. This results in [EMAIL PROTECTED]
being properly recognized inside courier even though the Netscape
client sent farbuckle:someplace.com, or [EMAIL PROTECTED]
to be authenticated.

There is NO change to the database structure required with my patch.
The DEFAULT_DOMAIN thingy still works as intended, and correctly
constructed names (like:  [EMAIL PROTECTED]) get passed into
the database lookup un-modified.  Also, there is only ONE lookup
done with my approach. Finally, my patch is an embarrassingly
small two actual line of code (not that size matters..)

I hope this clarifies what I did.

Thanks for the dialogue.

Randy


Roland Schneider wrote:
> 
> --Randy Lewis (Kenneth R. Lewis) wrote on 18.01.2002 09:44 -0500:
> 
> > Here is a correct patch that allows for use of the  "%" (percent),
> > or ":" (colon) chars as separators for the [EMAIL PROTECTED] problem
> > for Netscape Messenger clients in a virtual domain(s) environment.
> 
> You probably missed this one, allows both @ and % as delimiters,
> and an independent alternative login in only one single record
> per user:
> 
>         http://www.tana.it/sw/authmysqllib-patch.html
> 
> The patch works without problems or changes since 08/2001 (0.35.0),
> hope it will find a way into courier some day.
> 
> I still miss some functionality to limit the services for each
> individual user (imap, pop3, webmail and smtp) like userdb does.
> 
> Roland
> 
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to