atom feed24 messages in net.sourceforge.lists.courier-usersRe: [courier-users] 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:Re: [courier-users] I.P. based (virtual) multiple Domains ...
From:Bill Williamson (batk@happychinchilla.com)
Date:Jan 24, 2002 1:20:41 pm
List:net.sourceforge.lists.courier-users

Someone else asked this question, and the short answer is, it's not possible.

Slightly longer version: When you connect to imap/pop3/smtp, you connect via IP address. That is all. If you look at the session, you never see "am I talking to mail.bubba.com?", just "here's my user and pass, let me in."

The reason you can do this with a web site is that in the http request header is the exact url that is typed in (servername and then file location). The web server can parse that out and return the correct page. In essence you're saying "Hey, i want page index.html from www.bubba.com."

There is no way around this without making your own protocol, which nothing will support, except a client you make. The server never sees what was typed in for mail server, it's resolved by the client machine into an IP address, and sent off.

----- Original Message ----- From: "Randy Lewis (Kenneth R. Lewis)" <ran@rtmx.net> To: "Courier Users Group" <cour@lists.sourceforge.net> Sent: Thursday, January 24, 2002 3:03 PM Subject: [courier-users] I.P. based (virtual) multiple Domains ...

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.