[Exim] Forwarding and Too many hops

Top Page
Delete this message
Reply to this message
Author: prudek
Date:  
To: exim-users
Subject: [Exim] Forwarding and Too many hops
I want to set up exim as a mail forwarder. I have read the docs and faq,
but I can't get it working. There are two machines: fw2 has sendmail
and it can use DNS. It used to work as send/receive mailserver. Now I need
another machine, liam, to be the mailserver. Liam can't see the DNS, but
it's on the same segment as fw2, and can talk to it by IP address. Liam
uses exim.

I successfully set up liam to receive mail forwarded to it by fw2. But
when I try to make liam send outgoing mail to fw2, suddenly liam can't
receieve mail.

I have commented out lookuphost: line in exim.conf and
added this: my_route:
driver = domainlist
transport = remote_smtp
route_list = "* 10.0.0.1 byname"

However from that time on, noone can send mail to liam, because mail
bounces between liam and fw2. This is the error message ar received by
root@fw2:

--- cut here ---

The original message was received at Fri, 9 Jul 1999 08:18:09 +0200
from liam.moraviapress.cz [10.0.0.7]

----- The following addresses had permanent fatal errors -----
<mpress@???>

----- Transcript of session follows -----
554 Too many hops 27 (25 max): from <kamilsotak@???> via
liam.moraviapress.cz, to <mpress@???>

    [ Part 2: "Delivery Status" ]


Reporting-MTA: dns; fw2.moraviapress.cz
Received-From-MTA: DNS; liam.moraviapress.cz
Arrival-Date: Fri, 9 Jul 1999 08:18:09 +0200

Final-Recipient: RFC822; mpress@???
Action: failed
Status: 5.4.6
Last-Attempt-Date: Fri, 9 Jul 1999 08:18:18 +0200
    [ Part 3: "Included Message" ]


Date: Fri, 9 Jul 1999 08:15:50 +0200
From: kamilsotak@???
Subject: =?iso-8859-2?Q?(fwd) Returned mail: Too many hops 26 (25 max):
from <kamilsotak@???=

> via liam.moraviapress.cz, to <tomas.fulajtar@???>?=

Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: quoted-printable
To: mpress@???


Puvodne od: Mail Delivery Subsystem <MAILER-DAEMON@???>

>The original message was received at Fri, 9 Jul 1999 08:07:58 +0200
>from liam.moraviapress.cz [10.0.0.7]
>
> ----- The following addresses had permanent fatal errors -----
><tomas.fulajtar@???>
>
> ----- Transcript of session follows -----
>554 Too many hops 26 (25 max): from <kamilsotak@???> via=20

liam.moraviapress.cz, to <tomas.fulajtar@???>

Kamil Sotak

--- CREATED BY ATC O..R..G..A..N..I..Z..E..R
--- http://email.cz <--- Get Your Free Email


--- cut here ---

Please help!

--
Milos Prudek