Re: [EXIM] sender_host_reject for dialup?

Top Page
Delete this message
Reply to this message
Author: Pollywog
Date:  
To: exim-users
Subject: Re: [EXIM] sender_host_reject for dialup?

On 18-Feb-99 Philip Hazel wrote:
> On Wed, 17 Feb 1999, Pollywog wrote:
>
>> Is it possible to put a rule in the system filter, central filter, or
>> forward
>> file that will do a lookup on a hosts file and not process a message if the
>> host is listed in the hosts file, one like the sender_host_reject option
>> uses?
>
> if
>
> "${lookup {$sender_host_address} lsearch {/the/file} {found}{notfound}}"
>
> is "found" then fail "I don't want to know" endif
>

Thanks.

I put this in my system filter and got this error message from Exim:

1999-02-18 17:00:02 10DWny-0006bh-00 Error in message_filter file: unknown
filtering command ""$h_comments"" near line 131 of filter file

I will keep playing with it.

--
Andrew

--
*** Exim information can be found at http://www.exim.org/ ***