Re: [exim] Empty variable expansion in header

Etusivu
Poista viesti
Vastaa
Lähettäjä: Leonhardt,Christian
Päiväys:  
Vastaanottaja: Exim-users
Aihe: Re: [exim] Empty variable expansion in header
On 2021-04-02 10:55, Jeremy Harris wrote:
> I suggest appending to your variable in the MIME ACL, generating a
> list of dodgy file names seen.  Then if non-empty in the DATA ACL, add the header
> there (once).


Hi Jeremy,

thank you for pointing me in this direction.
With
---
        set acl_m_block1        = $mime_filename $acl_m_block1
---
and a conditional add_header during the DATA ACL it is working now.
---
X-Test-Suspicious: test.xls test.ppt test.leotest
---
Greetings
Leo