What you need to do is set domain1 and domain2 to be hosted domains
instead of local domains.

As soon as you do this, you will have to redo your userdb.  The username
will no longer be joe, but [EMAIL PROTECTED] and/or [EMAIL PROTECTED]  In this
wise, you can have as many users in as many domains as you care to.

Remember 2 things:
1. the userdb in etc does not have to be a file... it can be a folder.  
2. in Linux, you can have the @ character in your file name.

These two facts together makes it much easier to script account creation
and changes...

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 3:26 PM
To: [EMAIL PROTECTED]
Subject: [courier-users] distinct namespace with userdb ?


Hello,

I'm using courier (excellent!) IMAP in a multiple virtual domain
environment. I'm using /etc/userdb for authentication. My problem
is I can't have a user [EMAIL PROTECTED] and [EMAIL PROTECTED] with my current
understanding of the userdb format. There is only a single namespace
across all userdb entries. Whats the best way around this?

I've tried using full [EMAIL PROTECTED] as keys to userdb, and that works,
but means I would need to tell my users to login with usernames of
'[EMAIL PROTECTED]' and '[EMAIL PROTECTED]' instead of just 'paul'.
Is this the only solution I am likely to find, apart from have multiple
instances of courier talking to different userdb's ?

Paul



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to