Is it possible to use MailScanner
Peter Lemieux
mailscanner at replies.cyways.com
Fri May 20 19:28:17 UTC 2016
Whoops. Replace the word "description" with "describe" in the rule below.
P
On 05/20/2016 03:26 PM, Peter Lemieux wrote:
> If you don't have a pre-existing rule for this, you can add one by creating
> a file in /etc/mail/spamassassin/, say myrules.cf, with these lines
>
> # add high score to messages without subjects
> header NO_SUBJ Subject =~ /^$/
> score NO_SUBJ 10
> description NO_SUBJ Message has no subject line
>
> The regular expression "^$" matches the empty string.
>
> When you add or edit rules, it's best to test them with the command
>
> spamasssassin --lint
>
> to make sure there were no errors.
>
> I don't recall if you need to restart MailScanner to have it read the SA
> rulesets again, but it doesn't hurt to do so.
>
> Peter
>
>
> On 05/20/2016 03:11 PM, Philip Parsons wrote:
>> My system does not seem to be scoring no subject do you know which rule it
>> is in or the name of it ?
>>
>> *From:*MailScanner
>> [mailto:mailscanner-bounces+pparsons=techeez.com at lists.mailscanner.info] *On
>> Behalf Of *Jerry Benton
>> *Sent:* Friday, May 20, 2016 11:54 AM
>> *To:* MailScanner Discussion <mailscanner at lists.mailscanner.info>
>> *Subject:* Re: Is it possible to use MailScanner
>>
>> Change the score on the spamassassin rule for no subject to a high score.
>> Easiest method.
>>
>>
>> -
>>
>> Jerry Benton
>>
>> www.mailborder.com <http://www.mailborder.com>
>>
>> On May 20, 2016, at 2:53 PM, Philip Parsons <pparsons at techeez.com
>> <mailto:pparsons at techeez.com>> wrote:
>>
>> To block/quarantine emails that have no subject line? Is so some hints
>> on how to accomplish this..
>>
>> Thank you.
>> Philip Parsons
>>
>>
>>
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> <mailto:mailscanner at lists.mailscanner.info>
>> http://lists.mailscanner.info/listinfo/mailscanner
>>
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
>> believed to be clean.
>>
>>
>>
>>
>>
>
>
More information about the MailScanner
mailing list