Re: [Exim] Help request for routing onwards of a "remote dom…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Matt B
Date:  
À: itsbruce
CC: exim-users
Sujet: Re: [Exim] Help request for routing onwards of a "remote domain" ?
[ Converted text/html to text/plain ]

Hi Bruce,

I've become a little stuck with the onbound routing. I'm using mailscanner
which received inbound email. Could that cause a problem? I'd preferrably
like mailscanner to scan the mail, pass it back to the exim queue (which
happens at present for legit domain's mail) and then deliver it to the
exchange server at 192.168.1.11

Is this possible?

Thanks
From: Bruce Richardson <itsbruce@???>
To: exim-users@???
Subject: Re: [Exim] Help request for routing onwards of a "remote domain" ?
Date: Sat, 3 Apr 2004 18:50:49 +0100
MIME-Version: 1.0
Received: from exim-colo-01.whoc.theplanet.co.uk ([195.92.249.251]) by
mc12-f33.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Sat, 3 Apr 2004
09:52:51 -0800
Received: from localhost ([127.0.0.1]:45371 helo=localhost.localdomain)by
exim-colo-01.whoc.theplanet.co.uk with esmtp (Exim 4.31)id 1B9pJN-0007HE-4p;
Sat, 03 Apr 2004 18:52:05 +0100
Received: from i-194-106-60-104.dsl.freedom2surf.net ([194.106.60.104]:10039
helo=knossos.bruce)by exim-colo-01.whoc.theplanet.co.uk with esmtp (Exim
4.31)id 1B9pHf-00077D-JCfor exim-users@???; Sat, 03 Apr 2004 18:50:19
+0100
Received: from [192.168.10.50] (helo=phaistos.bruce)by knossos.bruce with
esmtp (Exim 4.30 #1 (Debian))id 1B9pI9-0007JN-BTfor <exim-users@???>;
Sat, 03 Apr 2004 18:50:49 +0100
Received: from brichardson by phaistos.bruce with local (Exim 4.30 #1
(Debian))id 1B9pI9-0001rb-8Pfor <exim-users@???>; Sat, 03 Apr 2004
18:50:49 +0100
X-Message-Info: JGTYoYF78jHzbetbOofrhPpsYojCfi3O
Message-ID: <20040403175049.GA3228@???>
Mail-Followup-To: exim-users@???
References: <BAY8-F79Tz0yT4hAILF000298bf@???>
In-Reply-To: <BAY8-F79Tz0yT4hAILF000298bf@???>
User-Agent: Mutt/1.5.5.1+cvs20040105i
Errors-To: exim-users-admin@???
X-BeenThere: exim-users@???
X-Mailman-Version: 2.0.13
Precedence: bulk
List-Help: <mailto:exim-users-request@exim.org?subject=help>
List-Post: <mailto:exim-users@exim.org>
List-Subscribe: <http://www.exim.org/mailman/listinfo/exim-users>,<mailto:exim-users-request@exim.org?subject=subscribe>
List-Id: A user list for the exim MTA <exim-users.exim.org>
List-Unsubscribe: <http://www.exim.org/mailman/listinfo/exim-users>,<mailto:exim-users-request@exim.org?subject=unsubscribe>
List-Archive: <http://www.exim.org/pipermail/exim-users/>
Return-Path: exim-users-admin@???
X-OriginalArrivalTime: 03 Apr 2004 17:52:51.0652 (UTC)
FILETIME=[7BDB5840:01C419A4]
On Sat, Apr 03, 2004 at 06:25:35PM +0100, Matt B wrote:
> [ Converted text/html to text/plain ]
> Hi,
> I have a primary mail server which is serving as the main email gateway on

our
> system. It works fine, but we have installed MS Exchange on a seperate box
> (it's true, but we need it).. but naturally we do not want this directly
> accessible from the internet.
> Anyway, we have mailscanner on the exim box which scans our incoming mail
> before putting it in the exim queue for delivery. What we'd like is for

exim
> to then send on mail to "domain1.net " to the internal mail server on IP
> 192.168.1.11
>
> Is this possible? Which file should we be editing and what syntax if

possible
> should we use?

You just need to add a router in exim.conf that does something like this:
main_domain:
driver = manualroute
domains = domain1.net
route_list = * 192.168.1.11 byname
transport = remote_smtp
which assumes you have a simple smtp transport configured called
remote_smtp.
--
Bruce
Remember you're a Womble.
--
## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##

------------------------------------------------------------------------------
Have more fun with your phone - download ringtones, logos, screensavers, games
& more. Click here to begin![1]

===References:===
1. http://g.msn.com/8HMBENUK/2746??PS=