Re: [Exim] ACL to Reject no subject

Etusivu
Poista viesti
Vastaa
Lähettäjä: Bradford Carpenter
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] ACL to Reject no subject
On Sun, 11 Jul 2004 10:34:11 -0700, Marc Perkel wrote:

> How would I write an ACL to reject messages with the subject missing?


Won't something like this work for an empty subject line?

deny    condition = ${if eq{$h_subject:}{}{yes}{no}}


Or this for a missing subject header?

deny    condition = ${if def:h_subject: {no}{yes}}


Or am I missing something?

Best regards,
Brad Carpenter