On Sun, 2008-11-30 at 13:48 +0100, Marco van Oostende wrote: > Wow. That was easy. I had to change it a little to get it to work. The > script is now > > deny message = Blocking incoming mail for domains blah blah > !hosts = 89.146.30.0/29 > domains = "abc.com" : "xyz.com" > > The quotes around the domain names are important. It didn't work without > them, so the filter itself works but every mail was blocked.
no, the quotes are not important, there has to be something else wrong. > After > adding the quotes, mail gets accepted properly. Now I have to wait for a > mail that gets send straight into the server. I'm sure it will get > blocked though. you can test using exim -bh IPADDRESS -- regards, Kjetil T. -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
