Autor: Phil Pennock Datum: To: web, exim-users Betreff: Re: [exim] Please help me with my ACL to deal with empty From:
headers
On 2012-03-31 at 15:27 -0700, Phil Pennock wrote: > The "not stripping space" is if you use $rh_From: -- this is explained
> in the description of the variable (scroll up); you can use $bh_From: to
> strip off whitespace, do some transformations but still do less than
> normal. You can then use <{2}{${strlen:$bh_From:}} for instance.
Oops! This is for a deny, so you want to deny if the length is less
than two characters, so that should be:
deny condition = ${if >{2}{${strlen:$bh_From:}}}
This is my fault, not yours, as I wrote in a hurry. Sorry.