[exim] how to check a message header for being empty

Etusivu
Poista viesti
Vastaa
Lähettäjä: lee
Päiväys:  
Vastaanottaja: exim-users
Aihe: [exim] how to check a message header for being empty
Hi,

I'm trying to do something like this:


  warn message = Invalid message headers
    condition = ${if eq {$h_Subject:}{" "}}



And it doesn't work in that messages with an empty Subject: header are
not detected.

What's the condition I need to use to detect an empty header?


--
Knowledge is volatile and fluid. Software is power.