Re: [exim] Conditionally using a system filter?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jeremy Harris
Dátum:  
Címzett: exim-users
Tárgy: 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