Re: [exim] Conditionally using a system filter?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: Re: [exim] Conditionally using a system filter?
On 26/01/17 22:22, Chris Siebenmann wrote:
>     system_filter = ${if ={10025}{$interface_port} {/etc/exim4/exim-system-filter}}

>
> This worked when I sent a message over the special port. But when I sent
> it over the regular port, Exim immediately complained:
>
>     Error in system filter: "" is not an absolute path



Use a forced-fail in the ${if } -

system_filter = ${if ={10025}{$interface_port}
{/etc/exim4/exim-system-filter} fail}

--
Cheers,
Jeremy