[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim and SMTP on an internet gateway

Hi David,

If you want to carry on using MS Exchange as your MTA, why not just
use port forwarding?

Friday, November 1, 2002, 6:03:08 AM, debian-firewall@lists.debian.org wrote:

DK> I've been reading some docs and googled for answers, but still need help
DK> setting up exim (or another MTA, suggestions?) on our internet gateway.

DK> I want exim to accept inbound SMTP for our domain from the internet, and
DK> forward it to our internal mail server.

DK> I want exim to accept outgoing SMTP from our domain, and forward it to the
DK> ISP smarthost.

DK> Later I want to plug anti-virus and anti-spam tools into exim, to prevent
DK> unwanted emails from being sent or received.  That is a question for another
DK> day, though.

DK> We have a simple local network, in the address range that is
DK> standard for Microsoft Small Business Server networks.

DK> The server (server2.ourdomain.no) at is running MS Exchange, which
DK> is our main mailserver.

DK> The gateway (gator.ourdomain.no, running Debian/stable) at is
DK> running iptables and masquerading, as well as some proxies.  The second NIC
DK> has a permanent, public IP and is connected to the DSL-router that provides
DK> our internet connection.

DK> All outgoing mail is sent via the smarthost provided by our ISP.

DK> It seems easy enough to make exim accept all mail for ourdomain and forward
DK> outgoing mail to the ISP smarthost.  However, local delivery of mail to
DK> ourdomain is not what I need ... I want _that_ mail forwarded

DK> Surely, this must be a common situation?  Could someone please help me
DK> configure exim to do this, or point me at the right docs.  Unfortunately,
DK> the docs at www.exim.org didn't mention this scenario.  I'm sure that I
DK> could do this if I fully understood the exim docs, but alas - I have not
DK> fully digested them yet.

DK> Thanks a lot,
DK> David Knudsen

DK> -- 
DK> David Knudsen, aka Dansken on #vgaplanets/EFnet

    __ _   Debian GNU User   Simon Martin
   / /(_)_ __  _   ___  __   Project Manager
  / / | | '_ \| | | \ \/ /   Milliways 
 / /__| | | | | |_| |>  <    mailto: smartin@milliways.cl
 \____/_|_| |_|\__,_/_/\_\   ICQ: 81183862
OpenPGP Public Key: "mailto:smartin@milliways.cl?subject=public_key";

During the voyage of life, remember to keep an eye out for a fair wind; batten
down during a storm; hail all passing ships; and fly your colors proudly.
Sig by Kookie Jar 6.1.7 (http://go.to/generalfrenetics/)

Reply to: