Re: [exim] conditional transport filters?

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] conditional transport filters?
On 06/05/16 15:47, Felix Schwarz wrote:
> transport_filter = '${if !def:authenticated_id {}{/usr/bin/rspamc
> $authenticated_id}}'
>
> 16:42:23 5138 direct command after expansion:
> 16:42:23 5138 argv[0] = /usr/bin/rspamc root


I think you'd need either a ${if } for each portion of the
commandline, or do the split in routing to two transports.
--
Cheers,
Jeremy