atom feed19 messages in net.sourceforge.lists.courier-imapRe: [Courier-imap] login with usernam...
FromSent OnAttachments
Tom LeeJan 31, 2006 3:00 pm 
Jay LeeJan 31, 2006 3:20 pm 
Tom LeeJan 31, 2006 3:30 pm 
Jay LeeJan 31, 2006 3:42 pm 
Tom LeeJan 31, 2006 5:57 pm 
Sam VarshavchikJan 31, 2006 6:09 pm 
Jay LeeJan 31, 2006 7:01 pm 
Tom LeeFeb 1, 2006 10:57 am 
Jay LeeFeb 1, 2006 11:34 am 
Brian CandlerFeb 2, 2006 12:37 am 
Ejay HireFeb 2, 2006 9:00 am 
Julie S. LinFeb 3, 2006 10:28 am 
Julie S. LinFeb 3, 2006 10:30 am 
Sam VarshavchikFeb 3, 2006 2:21 pm 
StrollerFeb 3, 2006 3:37 pm 
Ejay HireFeb 3, 2006 4:59 pm 
Keith MatthewsFeb 3, 2006 7:06 pm 
Charles MarcusFeb 3, 2006 8:40 pm 
Richard ScobieFeb 3, 2006 8:43 pm 
Subject:Re: [Courier-imap] login with username@domainname.com
From:Brian Candler (B.Ca@pobox.com)
Date:Feb 2, 2006 12:37:51 am
List:net.sourceforge.lists.courier-imap

On Wed, Feb 01, 2006 at 06:57:49PM +0000, Tom Lee wrote:

I used cyrus sasl library with postfix, can I use /etc/sasldb2 with courier-authlib?

No (unless you write your own authentication module, or some glue in authpipe)

I am thinking if it will work if I change 'username' in /etc/passwd to 'user@domain.com'?

That would be scary. Many Unix systems have a maximum of 8 or 16 characters in a username.

It would be better, in my opinion, just to use authuserdb. There is a tool provided which converts /etc/passwd into userdb format. You then just tweak the userdb entries in whatever way you want (such as adding domains to the username), run makeuserdb, and hey presto.

Of course you can use authmysql or whatever as has been suggested, but that's a much more heavyweight setup. If you are happy with /etc/passwd as an authentication source, then I guess you'll be equally happy with /etc/userdb

Regards,

Brian.