Re: [Exim] .forward files: documentation & suggestion

Top Page
Delete this message
Reply to this message
Author: Alain Williams
Date:  
To: Odhiambo Washington
CC: Exim Users
Subject: Re: [Exim] .forward files: documentation & suggestion
On Thu, Oct 17, 2002 at 07:03:55PM +0300, Odhiambo Washington wrote:
> * Alain Williams <addw@???> [20021017 13:53]: wrote:
> > A couple of items on .forward files.
> >
> > 1)
> >   I wanted to mail a couple of people when mail with a certain subject was received in a mail box.
> >   The documentation (filter.txt) says that the syntax is:
> >     mail [to <address-list>]
> >   but <address-list> is not defined. I tried several 'obvious' formats before finding the correct one.
> >   It may be explained somewhere, but I could not find it.
> >   It may be a good idea to add something to one of the examples:

> >
> >     # Exim filter
> >     if $header_subject: contains "empire" or
> >        $header_subject: contains "foundation"
> >     then
> >        save $home/mail/f+e
> >        mail to "haari.seldon, mule" subject "Book mail received" text "Sent to Trantor"
> >     endif

> >
> >     Someone who has read the books more recently that I have could get the names right.

>
>
> Where did you define the $home? Where is it? Is this a system filter or a user filter?


I didn't. The example comes straight out of the exim filters documentation, I just added the 'mail to' line.

--
Alain Williams

#include <std_disclaimer.h>