atom feed24 messages in net.sourceforge.lists.courier-users[courier-users] Re: I.P. based (virtu...
FromSent OnAttachments
Randy Lewis (Kenneth R. Lewis)Jan 24, 2002 1:03 pm 
Bill WilliamsonJan 24, 2002 1:20 pm 
SysopJan 24, 2002 1:32 pm 
Tim HoskingJan 24, 2002 1:53 pm 
SysopJan 24, 2002 1:59 pm 
Randy Lewis (Kenneth R. Lewis)Jan 24, 2002 2:11 pm 
Johannes ErdfeltJan 24, 2002 2:17 pm 
Aly S.P DharshiJan 24, 2002 2:20 pm 
SysopJan 24, 2002 2:22 pm 
SysopJan 24, 2002 2:24 pm 
Bill WilliamsonJan 24, 2002 2:34 pm 
Randy Lewis (Kenneth R. Lewis)Jan 24, 2002 6:25 pm 
Delyan ToshevJan 25, 2002 8:20 am 
cap...@tomcat.colomsat.net.coJan 25, 2002 8:30 am 
Randy Lewis (Kenneth R. Lewis)Jan 25, 2002 8:57 am 
Tomas FasthJan 25, 2002 10:37 am 
Johannes ErdfeltJan 25, 2002 10:40 am 
Tomas FasthJan 25, 2002 11:03 am 
SysopJan 25, 2002 12:20 pm 
Sam VarshavchikJan 25, 2002 3:29 pm 
Alessandro VeselyJan 26, 2002 7:34 am 
Tomas FasthJan 26, 2002 8:17 am 
Sam VarshavchikJan 26, 2002 5:03 pm 
Drew RainesJan 28, 2002 9:47 am 
Subject:[courier-users] Re: I.P. based (virtual) multiple Domains ...
From:Randy Lewis (Kenneth R. Lewis) (ran@rtmx.net)
Date:Jan 25, 2002 8:57:40 am
List:net.sourceforge.lists.courier-users

Yes! Absolutely I'm interested in your patch to userdb/userdb2.c ...

Please send (unifled diff prefered) to me and I'll adapt it here to both (userdb/userdb2.c and authlib/authmysql....) if I can.

Thanks!

Randy

cap@tomcat.colomsat.net.co wrote:

It is possible. You need to assign a single IP for each virtual domain, then patch the authentication backend you are using to do the mapping. I did it for userdb and it works fine.

Each vdomain user is told to configure their mail client with mail.vdomain-x.com and the login providing their user name, without the domain part.

If you are interested, I can send you my patches to userdb/userdb.c and userdb/userdb2.c

Randy Lewis (Kenneth R. Lewis) escribió:

Has anyone implemented I.P. based multi-domains.

Very specifically, I want the notion of DEFAULT_DOMAIN (as optionally defined in etc/authmysqlrc) to be determined from the I.P. address locally as one of many aliased I.P. addresses.

For example:

If I have 10 aliased I.P. address on a machine, each DNS mapped to names like: mail.someplace.com mail.otherplace.com . . mail.yetanother.com

... I would like authentication by a user through one of those aliased I.P. addresses to be able to just authenticate as 'bob' and if he is listed in one of those domains (on the MySQL user database for that domain) then his auththentication will succeed due to the DEFAULT_DOMAIN getting set to his domain.

Let me know if this is being done somewhere. I'd like to use that approach for multiple domains here.