Re: [exim] conditional transport filters?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: 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