Re: [exim] conditional transport filters?

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: 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