Re: [Exim] Configuration help

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: John R. Shearer
Ημερομηνία:  
Προς: tony, exim-users
Αντικείμενο: Re: [Exim] Configuration help
Tony:

Maybe I'm over-stretching my knowledge here, but I'll give it a try. :-)

I have a similar rig in my network. The two options that come to mind for
this situation are:

  A) Run a split DNS and have the external MX records for
     the domains in question point to the bastion while
     the internal MX records point to the internal mail
     server, and bind the bastion to the internal DNS.
     This is what I'm currently using.


  B) Something like this (for Exim v3.3; not sure if
     this'll work for Exim 4)...


       internal_domains_router:
         driver = domainlist
         transport = remote_smtp
         domains = "lsearch;/etc/exim/internal_domains"
         route_list = * my-internal-mail-host.mydomain.tld bydns_a


This should be the first router defined.

You said that you "...already have an A Record in place...", and I assume
that you are referring to the internal mail server. If this is the case,
then the route_list option above should work for you.

Be sure to define your internal domains as ones which you accept for
relaying as such:

relay_domains = "lsearch;/etc/exim/internal_domains"

I *think* that will do it for you. - John R. S.


> From: Tony Stevenson <pc_tony@???>
> Reply-To: tony@???
> Date: Fri, 20 Jun 2003 11:45:31 +0100 (BST)
> To: exim-users@???
> Subject: [Exim] Configuration help
>
> Hi All...
>
>
> Just a quickie for you... I am new to Exim. Well
> when I say new, I mean I have never set one up from
> scratch before..
> I have maintained a much older version, but that was
> oh so many years ago :-)
>
>
> Anyway on to my question, I have a debian (Woody i386)
> box which I want to use as a external mail gateway, I
> will be plugging in Spam-Assassin, and AV as soon as I
> have Exim working how I want it to...
>
> I am hosting about 4/5 domains, and I want this
> bastion to accept mail for these domains, then send
> them on to my internal Mail Server. I could possibly
> setup an MX record. But would prefer not to use that,
> I already have an A Record in place...
>
>
> Can you please point me in the right direction or
> something??
>
>
> Cheers,
> Tony
>