Not with MySQL - you could create a custom query to bind multiple domain combinations to the same account - same effect, but you could have common information - like homdir and so on in one table... username (before @) and then a join table with all the domains that user is in and write a custom auth query.
m/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rodrigo Severo Sent: Friday, October 31, 2003 2:14 PM To: Bowie Bailey Cc: [EMAIL PROTECTED] Subject: Re: [courier-users] Virtual domain aliases Bowie Bailey wrote: >From: Rodrigo Severo [mailto:[EMAIL PROTECTED] > > >>This is almost what I need but I believe that if one of my users >>tried to login to check emails as [EMAIL PROTECTED] it would fail, >>wouldn't it? I believe that only [EMAIL PROTECTED] would work. >> >>Is there a way to implement such a setup with Courier? >> >> > >As far as I know, the only way to get the logins to work with either >domain is to create both login accounts and point them to the same >homedir. > > I was afraid so... >I can understand the need to have incoming email use either of two >domains, but why can't you educate your users to always use the >"real" domain for logins? > Maybe I could if my server was just being inaugurated now but as I migrated a setup months ago from a previous qmail + vpopmail installation with which such a setup wasn't a question at all, I never cared to educate my users to use the "real" domain. I didn't though about it at all. Now I have hundreds of users with all kind of setups. >If I received email for [EMAIL PROTECTED] >and [EMAIL PROTECTED], and they both came to the same mailbox, why >would I use one login to check it one time and a different login to >check it another time? > > My problem is just a bit more subtle, some of my users use @test.com and others use @example.com to login. Some of them even use @test.com at work and @example.com at home. I always said to them all: "There is no diference, use the one that suits you." And it was true with a qmail + vpopmail setup! Please don't say to me: "You should have done better." I am saying it to myself already. Well, that's it, Rodrigo ------------------------------------------------------- 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
