Re: [exim] Using .forward files with .exim.

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Robert Nicholson
Datum:  
To: Josip Rodin
CC: exim-users
Betreff: Re: [exim] Using .forward files with .exim.
Regarding this

"If, however, no significant deliveries are set up, Exim continues
processing the current address as if there were no filter file, and
typically sets up a delivery of a copy of the message into a local
mailbox. In particular, this happens in the special case of a filter
file containing only comments."

....

my perlscript ie. pipe will take care of all mail and I don't want
any deliveries scheduled after my filter has finished.

my perlscript uses Mail::Audit to archive the message content into
the appropriate mail folder and I don't need the filter to deliver
mail after that has happened. ie. the perlscript has a catch all as
well.

So how can you tell the filter file to not schedule any deliveries?

so if my .forward file looks like this

# Exim filter
if error_message then finish endif
pipe $home/perlscripts/filter.pl
#mail subject "message discarded"
finish

will it try to make any significant delivery?

On Dec 30, 2006, at 6:16 AM, Josip Rodin wrote:

> On Sat, Dec 30, 2006 at 11:46:50AM +0000, Ian Eiloart wrote:
>> --On 29 December 2006 11:49:24 -0600 robert@??? wrote:
>>> Firstly, can anybody show me the syntax for .forward with exim.
>>
>> <http://www.exim.org/exim-html-4.63/doc/html/filter.html>
>
> But do note the paragraph that starts with "The contents of
> traditional
> .forward files are not described here..." :)
>
> -- 
>      2. That which causes joy or happiness.