RE: [Exim] Mail

Pàgina inicial
Delete this message
Reply to this message
Autor: Mark Boyd
Data:  
A: Stevo, exim-users
Assumpte: RE: [Exim] Mail
Try these on for size; I use these to route incoming SMTP for my domain
over to my Exchange server.

Here's the router:

send_to_gateway:
driver = manualroute
domains = mydomain.com
route_list = mydomain.com 10.40.1.20 byname
transport = internal_smtp

Here's the transport:

internal_smtp:
driver = smtp
hosts = 10.40.1.20

- Mark

-----Original Message-----
From: Stevo [mailto:checkpoint@ozbergs.com]
Sent: Thursday, March 06, 2003 5:44 PM
To: Tabor J. Wells; exim-users@???
Subject: Re: [Exim] Mail

Okay I read TFM :) but I can't make head or tail of the whole Manual
Router
setup.

Any chance someone here that has that setup can shoot me a config
example?
All I want to do is tell my Exim MTA that any mail messages sent to
@xyz.com
to send them to the IP address of the DMZ network address (10.x)

--Steve

----- Original Message -----
From: "Tabor J. Wells" <twells@???>
To: "Stevo" <stevo@???>
Cc: <exim-users@???>
Sent: Thursday, March 06, 2003 2:16 PM
Subject: Re: [Exim] Mail


> On Thu, Mar 06, 2003 at 01:42:12PM -0800,
> Stevo <checkpoint@???> is thought to have said:
>
> > I have a little problem. I have 2 SMTP servers in my DMZ - one

running
Exim and one running Exchange2K. They both have 10.x IP's and are the
MX's
for 2 different domain names - let's say abc.com and xyz.com. Receiving
and
sending mail to and from anywhere on the internet work great, but when I
try
to send mail between the domains things don't work!!
> >
> > Obviously the reason for this is that when abc.com tries to send to

xyz.com the MX record for xyz.com is the 'outside' address for xyz.com
and
not the 10.x address. So it can't make a SMTP connection.
> >
> > So I have 2 questions....
> >
> > 1) How do I correct this problem?? (I've tried adding a /etc/hosts

file for the xyz.com domain)
>
> Use a manualroute router for the domains in question (assuming Exim 4

--
in
> Exim 3 it's called something else which you can find in the docs, but

then
> you should be running Exim 4 now anyway)
>
> > 2) I can't send any more mail to the xyz.com domain - it gives me

the
error "retry time not reached for any host" so when I do a ./exinext
test@??? it tells me that the next try will be in like 6 hours time.
How can I force the message to be retried at an earlier time?!
>
> Use exim_fixdb to remove that record from the retry db or just remove

the
> retry db altogether. Or change the retry rules for that domain in your
> config. Or if there's mail on your queue you want to force a retry on
> messages already on your queue, you can do 'exim -qf' or 'exim -Rf
> @example.com'
>
> All of this is documented in TFM.
>
> Tabor
>
> --
> --------------------------------------------------------------------
> Tabor J. Wells                                     twells@???
> Fsck It!                 Just another victim of the ambient morality