Re: [exim] Filtering with .forward files

Top Page
Delete this message
Reply to this message
Author: Eric Bishop
Date:  
To: j.linn
CC: exim-users
Subject: Re: [exim] Filtering with .forward files
Thanks all for the replies...

We do have full root access so we can access the system filters, they are
located in exim.conf? Right?
Also, we are trying to log all of OUR outgoing mail for an account that all
employees use to reply to customers. We want to be able to review the emails
for customer service.

Also, since everyone is stating that we can not use a .forward file to log
all outgoing mail from a specific account, would we just enter what we had
in the .forward file into the exim.conf file? Like this:

# Exim filter
if error_message then finish endif
if $header_from: contains "joeuser@???"
then
unseen save /home/our_account/test.txt
endif

Or would this have to be placed in another file and then referenced from
exim.cnf.

Any help on how to do this exactly would be great.

Thank you,

Eric


----- Original Message -----
From: "j.linn" <sys044@???>
To: <ebishop@???>
Sent: Friday, September 10, 2004 3:02 AM
Subject: Re: [exim] Filtering with .forward files


> The ".forward" is activated during delivery of messages and so it would
> catch only messages sent to "our account' from "joeuser".
>
> If it is outgoing messages from "joeuser" then the way to do that is in a
> system filter and this type of thing works. On the legal side be sure you
> are covered in relation to the Data Protection Act and the RIP act [UK].
>
> John Linn
>
> On Thu, 9 Sep 2004 ebishop@??? wrote:
>
> > Ok, need some help and would be very grateful for the person who can
> > solve this for me.
> >
> > We are running a server with CPANEL and Exim installed. We want to log
> > all outgoing messages from joeuser@???. We read that this
> > can be done with Exim filtering. We added a ".forward" file to our
> > home directory with the following information:
> >
> >
> > # Exim filter
> > if error_message then finish endif
> >
> > if $header_from: contains "joeuser@???"
> > then
> > unseen save /home/our_account/test.txt
> > endif
> >
> >
> > This is the only change we made and nothing is being written to test.txt

after we send messages from joeuser@???
> >
> > The file text.txt is writeable.
> >
> > We tried the same info above many times with slight variations and

nothing would work.
> >
> > Is there any other file that has to be edited or is this filter

information in the wrong place. All the documentation stated that we could
put this in the .forward file in our home directory.
> >
> > Thanks,
> >
> > Eric
> >
> >
> >
> > --
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim

details at http://www.exim.org/ ##
> >
>
>