| From | Sent On | Attachments |
|---|---|---|
| Randy Lewis (Kenneth R. Lewis) | Jan 24, 2002 1:03 pm | |
| Bill Williamson | Jan 24, 2002 1:20 pm | |
| Sysop | Jan 24, 2002 1:32 pm | |
| Tim Hosking | Jan 24, 2002 1:53 pm | |
| Sysop | Jan 24, 2002 1:59 pm | |
| Randy Lewis (Kenneth R. Lewis) | Jan 24, 2002 2:11 pm | |
| Johannes Erdfelt | Jan 24, 2002 2:17 pm | |
| Aly S.P Dharshi | Jan 24, 2002 2:20 pm | |
| Sysop | Jan 24, 2002 2:22 pm | |
| Sysop | Jan 24, 2002 2:24 pm | |
| Bill Williamson | Jan 24, 2002 2:34 pm | |
| Randy Lewis (Kenneth R. Lewis) | Jan 24, 2002 6:25 pm | |
| Delyan Toshev | Jan 25, 2002 8:20 am | |
| cap...@tomcat.colomsat.net.co | Jan 25, 2002 8:30 am | |
| Randy Lewis (Kenneth R. Lewis) | Jan 25, 2002 8:57 am | |
| Tomas Fasth | Jan 25, 2002 10:37 am | |
| Johannes Erdfelt | Jan 25, 2002 10:40 am | |
| Tomas Fasth | Jan 25, 2002 11:03 am | |
| Sysop | Jan 25, 2002 12:20 pm | |
| Sam Varshavchik | Jan 25, 2002 3:29 pm | |
| Alessandro Vesely | Jan 26, 2002 7:34 am | |
| Tomas Fasth | Jan 26, 2002 8:17 am | |
| Sam Varshavchik | Jan 26, 2002 5:03 pm | |
| Drew Raines | Jan 28, 2002 9:47 am |
| Subject: | Re: [courier-users] I.P. based (virtual) multiple Domains ... | |
|---|---|---|
| From: | Sysop (sys...@foolclan.com) | |
| Date: | Jan 24, 2002 2:22:40 pm | |
| List: | net.sourceforge.lists.courier-users | |
Randy Lewis (Kenneth R. Lewis) wrote:
Hmmm..... the expressed need is getting lost here. Let me try again.
Qmail (ick...) allows for multiple virtual domains, distinguished one from the other by using a different I.P. address for each domain.
POP & IMAP (let's use POP for this example) clearly know which IP address that is used for a login and authenticate, e.g.: Domain #1 of Machine A
--- srv9-meb# telnet mail.boxpower.tld 110 Trying 10.1.166.100... Connected to mail.boxpower.tldm. Escape character is '^]'. +OK Hello there. --- --------------------------------- <----- distant machine connected Domain #2 of Machine A
--- srv2-meb# telnet webmail.rtmxyz.tld 110 Trying 10.1.160.10... Connected to webmail.rtmxyz.tld. Escape character is '^]'. +OK Hello there. ---- ------------------------------ <----- distant machine connect too!
Both I.P.'s are on the same machine, but of course DNS, et. al., knows how to resolve those names to I.P.s WE ALL KNOW THIS. Alos, of course, this example is looking in from the outside. However, on the inside there *must* be a way to determine what I.P. address was used to get in....
So, are you telling me that the 'couriertcpd' (who *could* be told to ONLY
accept
on certain I.P.'s but is usually allowed to accept connections on any)
...cannot *tell* what I.P. address was used to get into it?
If so, I find this hard to believe.
Why?
Because 'couriertcpd' already sets a shitload of ENVIRONMENT variable before running *program* including: TCPLOCALIP and TCPLOCALHOST (looked up in DNS).
So, I was trying to learn if anyone out there had gone to the trouble to
'enhance' authdaemond.mysql (specifically) so that it would look at these
variables, and possibly set the DEFAULT_DOMAIN env. var. to the
FQDN-TCPLOCALHOST
or some such as that........
Randy
I still fail to see the need..... Looks like a bunch of extra work, if possible for something that can be easily fixed else where. Im sure, if you work hard enough, you can shove a basketball through a hole designed for a softball... but an intelligent person would replace the hole...





