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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: lee
Date:  
À: exim-users
Sujet: [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.