--- Charles Cazabon <[EMAIL PROTECTED]>
wrote:
> >
> > I'm planning to use qmail in a ASP type setup.
> Therefore, I would
> > like to overwrite the locals table with respect to
> the IP address of
> > the SMTP client. With tcpserver it is possible to
> set environment
> > variables depending on the client address.
> However, I did not find a
> > way to set the locals through this mechanism.
>
> What problem are you trying to solve? It sounds
> like you should be
> using a virtual domain manager package (like
> vmailmgr), but you haven't
> described what you are trying to accomplish --
> instead, you've told us
> what your proposed solution is.
>
> Instead, tell us the original problem. Then we can
> suggest solutions;
> if you're not familiar with qmail, then the "right"
> solution frequently
> isn't an obvious one.
Okay, let me try to describe what I want to do. The
server should host the mailservice for multiple VPNs.
Each of these VPNs accesses the server through a proxy
with a dedicated IP address. Up to now everything is
fine. Now, I want to add a virus wall or other
security services for some of the VPNs. This would
mean that I want the server only accept those domains
for local delivery that belong to the IP address (i.e.
to the VPN) they came in from. Mail to other domains,
even if they are hosted on the same server, should be
relayed to an public mailserver and would then be
treated as any other incoming mail from the internet.
a small picture to make things clearer
FW A - VPN A - PX A
/ \
the - FW B - VPN B - PX B - qmail
internet \ / server
^ FW C - VPN C - PX C |
| |
|-------non-local mail relay---------|
legend:
- VPN x are different virtual private networks
- FW x are VPN specific firewalls
- PX x are VPN specific mail proxies
The goal is to
- use a common qmail server
- not need to have multiple firewalls for each VPN
Hope that helps,
Peter
__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de