| From | Sent On | Attachments |
|---|---|---|
| Tom Lee | Jan 31, 2006 3:00 pm | |
| Jay Lee | Jan 31, 2006 3:20 pm | |
| Tom Lee | Jan 31, 2006 3:30 pm | |
| Jay Lee | Jan 31, 2006 3:42 pm | |
| Tom Lee | Jan 31, 2006 5:57 pm | |
| Sam Varshavchik | Jan 31, 2006 6:09 pm | |
| Jay Lee | Jan 31, 2006 7:01 pm | |
| Tom Lee | Feb 1, 2006 10:57 am | |
| Jay Lee | Feb 1, 2006 11:34 am | |
| Brian Candler | Feb 2, 2006 12:37 am | |
| Ejay Hire | Feb 2, 2006 9:00 am | |
| Julie S. Lin | Feb 3, 2006 10:28 am | |
| Julie S. Lin | Feb 3, 2006 10:30 am | |
| Sam Varshavchik | Feb 3, 2006 2:21 pm | |
| Stroller | Feb 3, 2006 3:37 pm | |
| Ejay Hire | Feb 3, 2006 4:59 pm | |
| Keith Matthews | Feb 3, 2006 7:06 pm | |
| Charles Marcus | Feb 3, 2006 8:40 pm | |
| Richard Scobie | Feb 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.





