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

Top Page
Delete this message
Reply to this message
Author: lee
Date:  
To: exim-users
Subject: [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.