Many thanks to everyone that assisted, especially Philip.
The problem was the lsearch in relay_to_domains.
Exim was not reading the rtdomains file properly.
It works now.
LOG: H=(bob.co.za) [100.50.3.250] F=<iuqhef@???> rejected RCPT
johannes@???: relay not permitted
Regards,
Tom
-----Original Message-----
From: Philip Hazel [
mailto:ph10@cus.cam.ac.uk]
Sent: 04 December 2002 07:00
To: Giuliano Gavazzi
Cc: exim-users@???; Thomas Kinghorn
Subject: Re: [Exim] FW: relaying : missing something.
On Wed, 4 Dec 2002, Giuliano Gavazzi wrote:
> >> 2002-12-04 11:58:59 18JWJ1-0000Hu-00 <= trinity_1202@???
> > > H=(Dysfunctional) [209.212.109.219] P=smtp S=1287
> >> id=000001c29b7b$526998d0$db6dd4d1@???
> >> 2002-12-04 11:59:00 18JWJ1-0000Hu-00 => itman@???
R=dnslookup
> >> T=remote_smtp H=mx1.mailbox.co.za [196.31.150.75]
> >
> >That does indeed look like a relay. Check out the use of
> >
> > exim -bh 209.212.109.219
> >
> >to run a test to see *why* it accepted the message. The output will tell
> >you how it is checking things. Add -d for debugging for additional
> >output.
> >
>
> sorry, but is that a relay *to* hotmail? I think not and the address
> it is coming from is:
> Name: dysfunctional.mtnns.net
> Address: 209.212.109.219
>
> probably in the accept hosts = +relay_from_hosts
>
> Or am I reading it backwords?
The address it is coming from is indeed 209.212.109.219. That is why I
suggested you try a test with
exim -bh 209.212.109.219
which simulates a connection *from* 209.212.109.219. Details in TFM.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.