Re: [exim] filtering mail from specific hosts

Top Page
Delete this message
Reply to this message
Author: Roberto S. Meyer
Date:  
To: exim-users
Subject: Re: [exim] filtering mail from specific hosts
Stephen Gran escribió/wrote/a écrit:

> 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


Sorry if my english wasn't clear enough, I didn't mean I only
wanted to allow them to send email to the Internet.

What I need is to catch this traffic in a filter and save a copy
of it in a special mailbox for auditing.

TIA,

-
Roberto