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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Josip Rodin
Ημερομηνία:  
Προς: Robert Nicholson
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Using .forward files with .exim.
On Sat, Dec 30, 2006 at 12:46:52PM -0600, Robert Nicholson wrote:
> 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?


If the above is all you need, just use the simple old .forward syntax:

|$HOME/perlscripts/filter.pl

In the usual circumstances, the variable HOME will be set properly.
To find documentation for this, look for the pipe transport in the manual.

-- 
     2. That which causes joy or happiness.