I'm sure that was the only thing changed:
- added the lines
- restarted exim
- noticed that all mail got rejected
- commented out the added lines
- restarted exim for further research
- found some example pages that used quotes
- removed the comment #s and added the quotes
- restarted exim
Anyway, it works like a charm now. Thank you all.
Best regards,
Marco
Kjetil Torgrim Homme wrote:
> 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
>