Re: Stumped on anti-relay

Top Page
Delete this message
Reply to this message
Author: Chris Thompson
Date:  
To: david
CC: exim-users
Subject: Re: Stumped on anti-relay
David Miller writes
>

[...]
> sender_net_accept_relay = 204.214.110.0/255.255.252.0
> sender_net_accept_relay = 204.214.118.0/255.255.254.0


The second of these will just override the first. You want

sender_net_accept_relay = 204.214.110.0/255.255.252.0:204.214.118.0/255.255.254.0

or

sender_net_accept_relay = "204.214.110.0/255.255.252.0:\
                           204.214.118.0/255.255.254.0"


(a more convenient style as the lists get longer).

"exim -bP sender_net_accept_relay" might have been a good thing to check.

Perhaps it would be better if Exim's configuration file parser complained
about multiple definitions for the same option?

Anyway, surely you mean 204.214.108.0/255.255.252.0 or 204.214.110.0/255.255.254.0,
not 204.214.110.0/255.255.252.0 ?

Chris Thompson               Cambridge University Computing Service,
Email: cet1@???    New Museums Site, Cambridge CB2 3QG,
Phone: +44 1223 334715       United Kingdom.