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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Alain Williams
Ημερομηνία:  
Προς: Odhiambo Washington
Υ/ο: Exim Users
Αντικείμενο: Re: [Exim] .forward files: documentation & suggestion
On Thu, Oct 17, 2002 at 07:19:01PM +0300, Odhiambo Washington wrote:
> * Alain Williams <addw@???> [20021017 19:11]: wrote:
> > 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.
>
> Try changing it to an absolute path. BTW, when there is a problem with
> the system filter you should be able to see an entry in the paniclog :-)


You misunderstand me completely. The above example is NOT a problem.
The purpose of the above is to ADD to the existing documentation to show how a 'mail to' to more
than one address is done - since I expect that most people look for an example on how to do
something. The 'mail to' line is the only one that I added.

--
Alain Williams

#include <std_disclaimer.h>