Auteur: Darren Casey
Date:
À: exim-users
Sujet: [Exim] custom .forward file style system
We use a .redirect file that works based on local_part|processing_options
This can be piping to a file,redirecting or autoresponder's
Example :-
default|some@???
redirect|another_local_user,another@???
info|/home/user/info.txt
process|/home/user/process.pl
I have tried the following :-
userredirect:
driver = redirect
check_local_user
#file = $home/.redirect
data = ${extract{2}{|}{${lookup{$local_part}lsearch{$home/.redirect}}}}
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
If I set it to use the file option this will partly work but not properly so
I figured I needed a data statement to get the data
This currently seems to do nothing other than deliver locally, I am sure its
something silly. Any pointers?
Darren