Re: [exim] filtering mail from specific hosts

Góra strony
Delete this message
Reply to this message
Autor: Stephen Gran
Data:  
Dla: exim-users
Temat: Re: [exim] filtering mail from specific hosts
On Tue, Mar 15, 2005 at 03:39:45PM -0300, Roberto S. Meyer said:
> Hi,
>
> I need to setup a filter to test two conditions:
>
> - only mail from four LAN hosts to the Internet


hosts = 192.168.0.2 : 192.168.0.3 ...

or, more flexibly,

hostlist allowed_lan_hosts = 192.168.0.2 : 192.168.0.3 ...

then use the condition

hosts = +allowed_lan_hosts

> - message body over 250kb
>
> I'm having trouble with the first condition. I couldn't find the
> way to match mail coming from these four hosts.


--
--------------------------------------------------------------------------
|  Stephen Gran                  | The tree of research must from time to  |
|  steve@???             | time be refreshed with the blood of     |
|  http://www.lobefin.net/~steve | bean counters.   -- Alan Kay            |

--------------------------------------------------------------------------