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

Góra strony
Delete this message
Reply to this message
Autor: lee
Data:  
Dla: exim-users
Temat: [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.