On Thu, Aug 23, 2007 at 01:33:22PM +0100, paul.mcilfatrick@??? wrote:
> I have searched the v4.6x spec pdf file for $h_HEADERNAME but it wasn't
> found. Where is this all documented?
http://www.exim.org/exim-html-current/doc/html/spec_html/index.html#toc0140
Search for "$rheader_".
> Before you replied, I tried the following in the data acl:
>
> warn condition = ${if eq {${strlen:$h_subject}} {0}}
>
> but then got this error for several e-mails:
>
> failed to expand ACL string "${if eq {${strlen:$h_subject}} {0}}":
> missing 2nd string in {} after "eq"
Always include the trailing ":"; e.g. $h_subject:
^
> Can e-mails arrive without a subject field as opposed to an empty
> subject field?
Most definitely. In fact IIRC they can arrive without everything except the
topmost "Received" header, which Exim itself adds.
--
Dave Evans
Power Internet Limited, registered in England #03053650 at Norfolk House,
82 Saxon Gate West, Central Milton Keynes, Buckinghamshire, MK9 2DL.
For more information, see
http://www.powernet.co.uk/~davide/about-powernet