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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: JupiterHost.Net
Datum:  
To: exim-users
Betreff: Re: [exim] do router based on if a files exists or not

> Use the "exists" expansion condition, either in a "condition" option 
> or in the expansion of file.  For example:
>     condition = ${if exists {$home/.do_userforward} {yes} {no}}
> or
>     file = ${if exists {$home/.do_userforward} {$home/.forward} fail}


Thanks Fred, I think I;m starting to catch on :)

I wonder which one is quicker, less resource intensive:

require_files = $home/.do_userforward
file = $home/.forward

or

file = ${if exists {$home/.do_userforward} {$home/.forward} fail}

both have the same effect in this router...