Re: [Exim] How does an end user use .forward to modify deliv…

Top Page
Delete this message
Reply to this message
Author: Suresh Ramasubramanian
Date:  
To: Michael Gersten
CC: exim-users
Subject: Re: [Exim] How does an end user use .forward to modify delivery?
Michael Gersten [8/16/2003 10:24 AM] :

> I tried to find this in the archives. I could not. Nor could I find
> anything in the FAQ about using .forward files, only about modifying the
> transports and routers.


Use procmail if your exim supports it - or call procmail from your .forward

frodo:~ cat .forward
"|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #userid"

replace userid with your username.

>     Requiring .forward to specify a program that is responsible for storing
> the message in the target file. This requires my program to manage all
> of the mailbox locking protocol, and
>         A: That's awfully complicated,
>         B: Mailbox locking protocol changes between OS's, releases,
> delivery programs, etc.


Procmail handles that for you, as do deliver, maildrop etc.

    srs