MISSING_SUBJECT not triggered if subject contains whitespace

2017-09-19 Thread Sebastian Arcus
I've had a number of emails with no subject not triggering the MISSING_SUBJECT rule - only to discover that the spammers have added a white space after 'Subject:' - which appears to fool the code into thinking that there is an actual subject. Would it be possible to 'smarten up' the code a bit

Re: MISSING_SUBJECT not triggered if subject contains whitespace

2017-09-19 Thread RW
On Tue, 19 Sep 2017 09:27:13 +0100 Sebastian Arcus wrote: > I've had a number of emails with no subject not triggering the > MISSING_SUBJECT rule - only to discover that the spammers have added > a white space after 'Subject:' - which appears to fool the code into > thinking that there is an act

Re: MISSING_SUBJECT not triggered if subject contains whitespace

2017-09-19 Thread Kevin A. McGrail
Is it purposeful extra space though that might indicate spaminess? Spample? Regards, KAM On September 19, 2017 8:13:09 AM EDT, RW wrote: >On Tue, 19 Sep 2017 09:27:13 +0100 >Sebastian Arcus wrote: > >> I've had a number of emails with no subject not triggering the >> MISSING_SUBJECT rule - onl

Re: MISSING_SUBJECT not triggered if subject contains whitespace

2017-09-19 Thread David Jones
On 09/19/2017 07:23 AM, Kevin A. McGrail wrote: Is it purposeful extra space though that might indicate spaminess? Spample? Regards, KAM On September 19, 2017 8:13:09 AM EDT, RW wrote: On Tue, 19 Sep 2017 09:27:13 +0100 Sebastian Arcus wrote: I've had a number of emails with n

Re: MISSING_SUBJECT not triggered if subject contains whitespace

2017-09-19 Thread RW
On Tue, 19 Sep 2017 13:13:09 +0100 RW wrote: > On Tue, 19 Sep 2017 09:27:13 +0100 > Sebastian Arcus wrote: > > > I've had a number of emails with no subject not triggering the > > MISSING_SUBJECT rule - only to discover that the spammers have added > > a white space after 'Subject:' > Some pe

Re: MISSING_SUBJECT not triggered if subject contains whitespace

2017-09-19 Thread RW
On Tue, 19 Sep 2017 08:11:03 -0500 David Jones wrote: > On 09/19/2017 07:23 AM, Kevin A. McGrail wrote: > > Is it purposeful extra space though that might indicate spaminess? > > Spample? Regards, > > KAM > > > > On September 19, 2017 8:13:09 AM EDT, RW > > wrote: > > > > On Tue, 19 Sep 201

Re: MISSING_SUBJECT not triggered if subject contains whitespace

2017-09-19 Thread David Jones
On 09/19/2017 08:20 AM, RW wrote: On Tue, 19 Sep 2017 08:11:03 -0500 David Jones wrote: On 09/19/2017 07:23 AM, Kevin A. McGrail wrote: Is it purposeful extra space though that might indicate spaminess? Spample? Regards, KAM On September 19, 2017 8:13:09 AM EDT, RW wrote: On Tue, 19 Se

Re: MISSING_SUBJECT not triggered if subject contains whitespace

2017-09-19 Thread RW
On Tue, 19 Sep 2017 08:32:12 -0500 David Jones wrote: > On 09/19/2017 08:20 AM, RW wrote: > > On Tue, 19 Sep 2017 08:11:03 -0500 > > David Jones wrote: > >> header ENA_SUBJ_IS_SPACE Subject =~ /^ $/ > > > > The OP said there was a space after 'Subject:', so that rule > > wouldn'

Re: MISSING_SUBJECT not triggered if subject contains whitespace

2017-09-19 Thread Kevin A. McGrail
On 9/19/2017 9:11 AM, David Jones wrote: I have had these in place for years.  Maybe Kevin can consolidate and integrate this into his KAM.cf so I could remove them or we could eventually get them into the default SA ruleset after some testing. Hi David, Thanks.  In addition to KAM.cf, I mai

Re: MISSING_SUBJECT not triggered if subject contains whitespace

2017-09-19 Thread RW
On Tue, 19 Sep 2017 10:05:44 -0400 Kevin A. McGrail wrote: > On 9/19/2017 9:11 AM, David Jones wrote: > > I have had these in place for years.  Maybe Kevin can consolidate > > and integrate this into his KAM.cf so I could remove them or we > > could eventually get them into the default SA ruleset

Re: MISSING_SUBJECT not triggered if subject contains whitespace

2017-09-19 Thread David Jones
On 09/19/2017 09:03 AM, RW wrote: On Tue, 19 Sep 2017 08:32:12 -0500 David Jones wrote: On 09/19/2017 08:20 AM, RW wrote: On Tue, 19 Sep 2017 08:11:03 -0500 David Jones wrote: header ENA_SUBJ_IS_SPACE Subject =~ /^ $/ The OP said there was a space after 'Subject:', so that

Re: MISSING_SUBJECT not triggered if subject contains whitespace

2017-09-19 Thread David Jones
On 09/19/2017 09:35 AM, RW wrote: On Tue, 19 Sep 2017 10:05:44 -0400 Kevin A. McGrail wrote: On 9/19/2017 9:11 AM, David Jones wrote: I have had these in place for years.  Maybe Kevin can consolidate and integrate this into his KAM.cf so I could remove them or we could eventually get them into

Re: MISSING_SUBJECT not triggered if subject contains whitespace

2017-09-19 Thread RW
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

Re: MISSING_SUBJECT not triggered if subject contains whitespace

2017-09-21 Thread Sebastian Arcus
On 19/09/17 15:05, Kevin A. McGrail wrote: On 9/19/2017 9:11 AM, David Jones wrote: I have had these in place for years.  Maybe Kevin can consolidate and integrate this into his KAM.cf so I could remove them or we could eventually get them into the default SA ruleset after some testing. Hi