Spoof email Blocking Help in Mailscanner

bilal.ahmed at kfueit.edu.pk bilal.ahmed at kfueit.edu.pk
Sun May 5 04:05:56 UTC 2019


But with this setting I fall in another trouble , because my own all valid
email are marked as spam due to this rule.

Even I whitelisted my own domain but SPF_NOT_PASS add high score..........
While my SPF is valid and  I verified from various testing tools as well.

Bilal Ahmad
Network Administrator



-----Original Message-----
From: MailScanner
<mailscanner-bounces+bilal.ahmed=kfueit.edu.pk at lists.mailscanner.info> On
Behalf Of bilal.ahmed at kfueit.edu.pk
Sent: Sunday, 5 May 2019 8:16 AM
To: 'MailScanner Discussion' <mailscanner at lists.mailscanner.info>
Subject: RE: Spoof email Blocking Help in Mailscanner

Yes but not work

Dear
Now I have added these lines /etc/spamassassin/local.cf           and its
working

meta      SPF_NOT_PASS       !(SPF_PASS || NO_RELAYS)
score     SPF_NOT_PASS       4.506 # flag 10% of non-spam that hits this
rule as spam.
describe  SPF_NOT_PASS       Not fully validated by SPF.

Bilal Ahmad


-----Original Message-----
From: MailScanner
<mailscanner-bounces+bilal.ahmed=kfueit.edu.pk at lists.mailscanner.info> On
Behalf Of Yu Wang
Sent: Sunday, 5 May 2019 7:15 AM
To: 'MailScanner Discussion' <mailscanner at lists.mailscanner.info>
Subject: RE: Spoof email Blocking Help in Mailscanner

Did you restart your mailscanner daemon?

-----Original Message-----
From: MailScanner
<mailscanner-bounces+yuwang=cs.fsu.edu at lists.mailscanner.info> On Behalf Of
bilal.ahmed at kfueit.edu.pk
Sent: Saturday, May 4, 2019 9:54 PM
To: 'MailScanner Discussion' <mailscanner at lists.mailscanner.info>
Subject: RE: Spoof email Blocking Help in Mailscanner

Dear Thanks

I have make sure that loadplugin Mail::SpamAssassin::Plugin::SPF  is loaded
.

Last question how to add score in /etc/MailScanner/spamassassin.conf or
/etc/spamassassin/local.cf  file.

I have simply write    score SPF_FAIL 15.0   

But its still not rejecting invalid SPF email and passing with clean 0.0
 

Bilal Ahmad


-----Original Message-----
From: MailScanner
<mailscanner-bounces+bilal.ahmed=kfueit.edu.pk at lists.mailscanner.info> On
Behalf Of Mark Sapiro
Sent: Sunday, 5 May 2019 1:36 AM
To: mailscanner at lists.mailscanner.info
Subject: Re: Spoof email Blocking Help in Mailscanner

On 5/4/19 12:37 PM, bilal.ahmed at kfueit.edu.pk wrote:
> 
> How to block in Mailscanner /spamassasian  a email with invalid or no 
> SPF record


Ensure you have

loadplugin Mail::SpamAssassin::Plugin::SPF

in one of your /etc/spamassassin/*.pre files and then set

score SPF_FAIL

to a big number in /etc/MailScanner/spamassassin.conf or
/etc/spamassassin/local.cf

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner




--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner




--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner




--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner




More information about the MailScanner mailing list