Re: [exim-dev] [Bug 1507] New: ":" expected after "def" insi…

Pàgina inicial
Delete this message
Reply to this message
Autor: Heiko Schlittermann
Data:  
A: exim-dev
Assumpte: Re: [exim-dev] [Bug 1507] New: ":" expected after "def" inside "and{...}" condition
Kirill Miazine <km@???> (Mi 23 Jul 2014 15:21:20 CEST):
>
> I have had the following options on my remote smtp transport for ages:
>
>     headers_add = ${if and{\
>                            {def:sender_host_authenticated}\
>                            {def:authenticated_id}\
>                           }\
>                     {X-Anonymized-by: $smtp_active_hostname
> ($tod_log)\nADD_HEADERS}\
>                     {ADD_HEADERS}}
>     headers_remove = ${if and{\
>                               {def:sender_host_authenticated}\
>                               {def:authenticated_id}\
>                              }\
>                        {received : dkim-signature : x-mailer : REMOVE_HEADERS}\
>                        {REMOVE_HEADERS}}


can you verify:

    exim -be '${if and{{def:sender_host_authenticated}{def:primary_hostname}}{YES}{NO}}'


It works for me with 4.83. Does it work for you?
(4.83_5-09728d2)


    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
 gnupg fingerprint: 9288 F17D BBF9 9625 5ABC  285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B)-