[exim] Re: if expansion item inside run item not giving expe…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Slavko
Datum:  
To: exim-users
Betreff: [exim] Re: if expansion item inside run item not giving expected result
Dňa 5. júna 2024 10:41:41 UTC používateľ Dominic Preston via Exim-users <exim-users@???> napísal:

>  warn
>    log_message = Sender is ${run{/usr/bin/echo ${if
>def:sender_address {$sender_address}}}}


Try to quote param, AFAIK they are separed by space othervise:

    ${run{/usr/bin/echo "${if def:sender_address {$sender_address}}"}}

regards


-- 
Slavko
https://www.slavino.sk/


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/