John R. Dunning <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all. Parts of this have been discussed elsewhere, but I haven't
> seen anybody describing quite this setup. I'm reconfiguring a network
> to have a dedicated firewall machine, on which I want to run qmail.
> But, I don't want the firewall machine reaching in to the rest of the
> network to do delivery; I want it to turn around and forward any
> incoming mail to the "real" mail server on the internal network. I'd
> also like the reverse path for outgoing mail; the internal mail server
> forwards to the one on the firewall, which takes care of getting it
> out into the rest of the net.
>
> ---+ +----------+ +-----------+
> | | Firewall | | Internal |
> Net|----->| |-------->| Server |
> | | Qmail | | Qmail |
> |<-----| |<--------| |
> ---+ +----------+ +-----------+
>
> If anyone can shed light on how to set this up, or point me at some
> docs, it would be greatly appreciated.
John,
I have exactly this setup. I have a "mini-qmail" installation running on
the Firewall machine which uses qmqp to transfer incoming mail to the
internal server.
/var/qmail/bin contains:
$ ls -l /var/qmail/bin
total 80
drwxr-xr-x 2 root 1002 512 Nov 8 09:23 not-used
-rwxr-xr-x 1 root 1002 33368 Mar 12 1999 qmail-inject
-rwxr-xr-x 1 root 1002 12120 Mar 12 1999 qmail-qmqpc
lrwxr-xr-x 1 root 1002 11 Mar 12 1999 qmail-queue -> qmail-qmqpc
-rwxr-xr-x 1 root 1002 25116 Mar 12 1999 qmail-smtpd
-rwxr-xr-x 1 root 1002 8688 Mar 12 1999 sendmail
(I've moved all unused stuff into the not-used directory)
It's pretty easy to setup and works great. No mail is delivered locally to
the Firewall machine; it is all delivered to the Internal server machine,
even root mail.
R.