On Tue, 22 May 2018 14:30:59 +0200 Benny Pedersen wrote: > Kevin A. McGrail skrev den 2018-05-22 14:24: > > >> header __KB_WAM_FROM_NAME_SINGLEWORD From:name =~ /[a-z]+$/i > >> which is missing a '^'. > > Fixed, thanks! > > and it does not allow <space> ? > > :space: > > too got for me to do posix here
I wouldn't hurt to allow leading and trailing spaces, but the point of the rule is that the name is a single word, that's why the rule is called __KB_WAM_FROM_NAME_SINGLEWORD.