Tony,
You have managed to confuse me (not hard at the best of times...)
Is this basically a case of:-
if message has come through one of the listed relays
check each ip-address/name in received headers against \
spam sender blacklist
so you really need to be able to iterate through ip addresses,
hostnames or mail addresses found in received (or other format
headers)...
This would be analogous to the "foranyaddress" in the filter -
http://www.exim.org/exim-html-3.10/doc/html/filter_26.html
Nigel.
--
[ - Opinions expressed are personal and may not be shared by VData - ]
[ Nigel Metheringham Nigel.Metheringham@??? ]
[ Phone: +44 1423 850000 Fax +44 1423 858866 ]