Re: [exim] relay_hosts

Pàgina inicial
Delete this message
Reply to this message
Autor: Marc Sherman
Data:  
A: exim-users
Assumpte: Re: [exim] relay_hosts
John Clement wrote:
>
> Ah, yes of course it turns out there are infact four servers, so I've
> now updated the config with all of those IP addresses, but still no joy:
>
> hostlist relay_hosts = 10.10.0.0/16 : 10.14.0.0/16 : 192.168.0.0/24 :
> 127.0.0.0/24 : KYLIENEW_EXT_IP : KYLIENEW_EXT2_IP : MESON_EXT_IP :
> CONWAY_EXT_IP : 209.63.57.143 : TELEHOUSE_INT : 146.101.171.19 :
> 146.101.171.20 : 146.101.171.21 : 146.101.171.30
>
>
> 2006-12-01 13:41:49 H=(www.crimestoppers-uk.org) [146.101.171.21]
> F=<jc@???> rejected RCPT <jc@???>: Your host is not
> authorised to send mail from Reading Room group


Well, now I'm stumped. My only guess is that it could be because of the
behaviour documented in 10.14:
http://exim.org/exim-html-4.63/doc/html/spec_html/ch10.html#SECTbehipnot

Your rroom_senders hostlist does contain a wildcarded hostname, which
requires that the IP address be reverse-resolved before checking against
the list (and thus failing):

hostlist rroom_senders = +relay_hosts : 217.154.32.202 : DARACH :
195.224.53.21 : 212.78.66.134 : WOW4WATER_HOST : 209.63.57.143 :
195.82.99.79 : DEANST_SDSL : MANC_SDSL : TELEHOUSE_EXT : 217.77.187.100
: *.mail.demon.net : TELEHOUSE_INT : 203.202.1.200 : 203.202.1.199 :
217.154.32.202 : 125.253.0.193

Try adding +ignore_unknown to your list before the wildcarded list (and
possibly at the beginning, if any of those MACROS expand to host names
rather than IP addresses.

If that doesn't solve the problem, my next suggestion is that you try a
debug run with -bh.

- Marc