Re: [exim] do router based on if a files exists or not

Pàgina inicial
Delete this message
Reply to this message
Autor: JupiterHost.Net
Data:  
A: exim-users
Assumpte: Re: [exim] do router based on if a files exists or not
> require_files = $home/.do_userforward
>
> and it should work that way.
>
> it's how I handle DSPAM triggers, and it works just fine


Thanks Scott :)

In that same router:

   userforward:
     driver = redirect
     check_local_user
     file = $home/.forward
     no_verify
     no_expn
     check_ancestor
   # allow_filter
     file_transport = address_file
     pipe_transport = address_pipe
     reply_transport = address_reply


if I want it to :fail: instead of forwarding to an address is there
something I can add to ~/.forward or to the router that'd make it fail?

I tried uncommenting allow_filter and adding

":fail: whatever" to ~/.forward but then it gives me:

error in redirect file: ":fail: whatever" is not permitted

So I'm obviosuly lost again :)