Re: Mark as spam if header does not exist/is missing

2016-01-24 Thread Don deJuan
On 01/24/2016 10:06 AM, Axb wrote: > On 01/24/2016 06:38 PM, Don deJuan wrote: >> header __XEXAMPLE_ABC X-Example ~= /^ABC$/ > > should use =~ and NOT ~= *face palm* ugh has not been my weekend on the small details. Thanks!

Re: Mark as spam if header does not exist/is missing

2016-01-24 Thread Axb
On 01/24/2016 06:38 PM, Don deJuan wrote: header __XEXAMPLE_ABC X-Example ~= /^ABC$/ should use =~ and NOT ~=

Re: Mark as spam if header does not exist/is missing

2016-01-24 Thread John Hardin
On Sun, 24 Jan 2016, Don deJuan wrote: Jan 24 11:49:58.515 [13952] warn: lint: 1 issues detected, please rerun with debug enabled for more information Not sure why it is telling me its having issues with delimiters, here is how I set mine up header __XEXAMPLE_ABC X-Example ~= /^ABC$/ Apologie

Re: Mark as spam if header does not exist/is missing

2016-01-24 Thread Don deJuan
On 01/23/2016 08:38 PM, John Hardin wrote: > On Sat, 23 Jan 2016, Don deJuan wrote: > >> On 01/23/2016 04:37 PM, John Hardin wrote: >>> >>> The rules will be different if you want to score "the header is >>> present but it does not contain specific text", which is one possible >>> way to interpret

Re: Mark as spam if header does not exist/is missing

2016-01-23 Thread John Hardin
On Sat, 23 Jan 2016, Don deJuan wrote: A huge thanks for the help and time!! I have it all working now. You're welcome. Happy to be of assistance. -- John Hardin KA7OHZhttp://www.impsec.org/~jhardin/ jhar...@impsec.orgFALaholic #11174 pgpk -a jhar...@impsec.org

Re: Mark as spam if header does not exist/is missing

2016-01-23 Thread Don deJuan
On 01/23/2016 08:38 PM, John Hardin wrote: > On Sat, 23 Jan 2016, Don deJuan wrote: > >> On 01/23/2016 04:37 PM, John Hardin wrote: >>> >>> The rules will be different if you want to score "the header is >>> present but it does not contain specific text", which is one possible >>> way to interpret

Re: Mark as spam if header does not exist/is missing

2016-01-23 Thread John Hardin
On Sat, 23 Jan 2016, Don deJuan wrote: On 01/23/2016 04:37 PM, John Hardin wrote: The rules will be different if you want to score "the header is present but it does not contain specific text", which is one possible way to interpret your initial example. Is that what you're actually trying for

Re: Mark as spam if header does not exist/is missing

2016-01-23 Thread Don deJuan
On 01/23/2016 04:37 PM, John Hardin wrote: > On Sat, 23 Jan 2016, Don deJuan wrote: > >> I am having trouble either finding the right documentation or just >> not understanding. What I am trying to achieve is that if there is >> not a specific header such as X-Example: ABC , it will then get >> mar

Re: Mark as spam if header does not exist/is missing

2016-01-23 Thread John Hardin
On Sat, 23 Jan 2016, Don deJuan wrote: I am having trouble either finding the right documentation or just not understanding. What I am trying to achieve is that if there is not a specific header such as X-Example: ABC , it will then get marked as spam. Currently I have been trying header ABC

Mark as spam if header does not exist/is missing

2016-01-23 Thread Don deJuan
I am having trouble either finding the right documentation or just not understanding. What I am trying to achieve is that if there is not a specific header such as X-Example: ABC , it will then get marked as spam. Currently I have been trying header ABC_HEADER exists:X-Example: ABC But I am think