On Tue, 19 Sep 2017 10:06:58 -0500 David Jones wrote: > >>>> header ENA_SUBJ_IS_SPACE Subject =~ /^ $/ > >>> > >>> The OP said there was a space after 'Subject:', so that rule > >>> wouldn't detect it.
> My point was supposed to be a single space should hit > MISSING_SUBJECT and two or more would not. but neither 'Subject: \n' nor 'Subject:\n' triggers MISSING_SUBJECT. There probably is some scope for something like header EMPTY_SUBJECT ALL =~ /^Subject:\s?$/mi it might be more useful in meta rules e.g. combined with DCC.