On Mon, Apr 2, 2012 at 6:10 AM,  <[email protected]> wrote:
> Hi,
>
> I've put condition you have suggested:
>
> condition       = ${if <{2}{${strlen:$bh_From:}}}
>
> but it does not catch From: which is build as:
>
> "From: "
>
> so From: + 1 whitespace
>
> Do you have any other idea?

You must not understand what the above condition is doing.  It is
comparing the number "2" to the result of "${strlen:$bh_From:}", which
is 2.  If you want it to match if it's 2 or bigger, then change the
<{2} comparison to <={2}, or you can also just write <{1}, which is
effectively the same thing.  If that doesn't make sense to you, ask
for a followup explanation.

...Todd
-- 
Always code as if the guy who ends up maintaining your code will be a
violent psychopath who knows where you live. -- Martin Golding

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to