--- Henning Brauer <[EMAIL PROTECTED]> schrieb: >
On Mon, Aug 13, 2001 at 03:33:23PM -0600, Charles
> Cazabon wrote:
> > Peter Marenbach <[EMAIL PROTECTED]> wrote:
> > > And finally, if [EMAIL PROTECTED] send a mail to
> [EMAIL PROTECTED] the
> > > mail should again be at first routed through FW
> B to the internet and
> > > then transfered through FW C to the private
> mailserver of VPN C (which
> > > is actually the same server as the private
> server of VPN B).
> > This is the problem. I don't think there's an
> easy way to do this.
>
> You are missing the obvious solution: use two qmail
> instances on this box.
> The first one is used for receiving all mails from
> external and has the
> domains in locals/virtualhosts and locals. The
> second one only has its own
> hostname in locals and rcpthosts and is _only_ used
> to relay messages from
> own clients/customers/whatever to the world. The
> world could include the
> secoand qmail instance on this box.
Actually, setting up multiple instances on one machine
was my first throught. I believe to have exactly the
behaviour I described, I would need one instance for
each VPN. However, due to the modular structure of
qmail I thought it would not be possible to run
multiple instances (e.g. listining on different ports)
on the same machine. How will one qmail-smtpd know to
which qmail-send it has to pass its mail? Is this
controlled only by the queue directory path? If yes,
could I run one qmail-smtpd which would be patched to
use different queue directories for the different
VPNs? Then I could setup one qmail-send for each VPN
and things would be fine. (at least as long as the
number of instances does not kill my machine ... a Sun
E250)
> I'm doing similar things, though for totally
> different reasons: I seperate
> customer relaying and MX. Different queues,
> different settings (databytes
> for example; SMTP AUTH offering and so on), and a
> hacked qmail-ldap cluster
> support to prevent in-cluster deliveries inside one
> box (but delivering
> directly to the maildirs instead).
Peter
__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de