[exim] ACL trouble with hostlist

Top Page
Delete this message
Reply to this message
Author: Chris Hills
Date:  
To: exim-users
Subject: [exim] ACL trouble with hostlist
Hi all

The problem is, I want email received from users through SquirrelMail
(which is running on the same host as Exim) to be excluded from the RLB
checking. I have set the rule not to check against the relay_from_hosts
hostlist, which contains 'localhost' (amongst other things). The message
from main.log is:-

2005-04-04 11:58:35 1DIPHu-0005S3-41 H=localhost (mail.ne-worcs.ac.uk)
[127.0.0.1] F=<*@ne-worcs.ac.uk> rejected after DATA: This message was
classed as spam, getting 6.6 points.

The acl rule is as follows:-

deny     message      = Message rejected because $sender_fullhost is 
listed at $dnslist_domain ($dnslist_text)
          dnslists     = dnsbl.sorbs.net : sbl.spamhaus.org
          hosts        = !+relay_from_hosts


Near the top of exim.conf, there is:-

hostlist relay_from_hosts = <; 127.0.0.1 ; ::1 ; 212.219.188.64/27 ;
2001:630:1c0::/48 ; localhost ; mail.ne-worcs.ac.uk

What is it so blindingly obvious that I am missing?

TIA

--
Chris Hills
I.T. Services
North East Worcestershire College