
exim-users at spodhuis
Apr 2, 2012, 7:32 AM
Views: 547
Permalink
|
|
Re: Please help me with my ACL to deal with empty From: headers
[In reply to]
|
|
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. --Phil -- ## 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/
|