Bill Williamson wrote: >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)" <[EMAIL PROTECTED]> >To: "Courier Users Group" <[EMAIL PROTECTED]> >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. >> >>Randy >> >>_______________________________________________ >>courier-users mailing list >>[EMAIL PROTECTED] >>Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users >> >> > > >_______________________________________________ >courier-users mailing list >[EMAIL PROTECTED] >Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users > Easist way to fix. Change your usernames to bob@domain or [EMAIL PROTECTED] that way bob for domainA is different than bob from domainB. Works great for me, I have 5 or so domains pointed to a SINGLE IP address, and some of the accounts on each domain have the same name...
_______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users