[Exim] bug in transport-filter parsing?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jeremy Harris
Ημερομηνία:  
Προς: exim-users @ exim. org
Αντικείμενο: [Exim] bug in transport-filter parsing?
Hi,

    I was trying to use a expansion to specify the entire content
of a transport-filter specification, but it seems that the trick
of putting double-quotes round the expansion-item (which contains
spaces) to prevent it being split by the parsing into an argv
only operates after the first arg.


That is,

   transport_filter =    /some/path "${if = {${lookup pgsql{select blah} {$value}fail}} {1}\
{/path/to/command arg1 arg2} {}}"


does the lookup, but

   transport_filter =    "${if = {${lookup pgsql{select blah} {$value}fail}} {1}\
{/path/to/command arg1 arg2} {}}"


does not.


Has anyone else seen this?    What's a good way to transport-filter depending on
a lookup, but avoid the overhead when it's not needed?


Thanks,
    Jeremy