Blacklist comlete email address

Questions and answers about how to do stuff
Post Reply
woundride
Posts: 52
Joined: 19 Mar 2015 14:34
Location: France
Contact:

Blacklist comlete email address

Post by woundride »

Hi,

I've blacklisted many domains, it's OK, but can you answer to me, is it possible to blacklist complete email address ?
So I've tested to add a personnal email address type myaddress@gmail.com, but, when I sent a message, EFA does not block my message...

By advance, thank you.

Sincerelly.

Charles.
User avatar
darky83
Site Admin
Posts: 544
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Blacklist comlete email address

Post by darky83 »

on the WebGui add it under lists as:

From: email@address.com
to: default @
List: Blacklist

Make sure to keep the second field for the 'to' address empty.
if you want it to activate right after adding (for testing) then reload mailscanner

Code: Select all

service mailscanner reload
Image
Version eFa 5.x now available!
woundride
Posts: 52
Joined: 19 Mar 2015 14:34
Location: France
Contact:

Re: Blacklist comlete email address

Post by woundride »

Hi darky83,

Thank you for your answer ;)

I've tested to add on Web Gui as you said and I've relaod, end even restart MailScanner service, the message is tagged "blacklisted" in the Web Gui, but I receive the message :
mail_bl_pass.jpg
mail_bl_pass.jpg (258.61 KiB) Viewed 8020 times
Sincerelly.

Charles.
woundride
Posts: 52
Joined: 19 Mar 2015 14:34
Location: France
Contact:

Re: Blacklist comlete email address

Post by woundride »

Now have the same problem with some domain names... :think:

The message is tagged {Spam?} and received in the mail box, so is indicated in blacklist.

Can do we adjust the cleanup in MailScanner.conf with option "Spam Action" ?

Sincerelly.

Charles.
woundride
Posts: 52
Joined: 19 Mar 2015 14:34
Location: France
Contact:

Re: Blacklist comlete email address

Post by woundride »

I've found solution, in MailScanner.conf I've add :

Code: Select all

High Scoring Spam Actions = delete
It's OK.

Thanks.

Sincerelly.

Charles.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Blacklist comlete email address

Post by shawniverson »

woundride wrote:
I've tested to add on Web Gui as you said and I've relaod, end even restart MailScanner service, the message is tagged "blacklisted" in the Web Gui, but I receive the message :
This is a MailScanner configuration problem. MailScanner "blacklists" emails by marking them as spam in its engine. If the spam action is set to deliver, it will still be delivered.

What does your "Spam Actions" and "High Spam Actions" have set?
woundride
Posts: 52
Joined: 19 Mar 2015 14:34
Location: France
Contact:

Re: Blacklist comlete email address

Post by woundride »

Hi shawniverson,

First, I kept default configuration :

Code: Select all

Spam Actions = store custom(spam)
And no High Scoring Spam Actions.

I've see the file :

Code: Select all

/usr/lib/MailScanner/MailScanner/CustomFunctions/CustomAction.pm
But it's not easy for me to configure with this file...

So, in MailScanner.conf, I kept :

Code: Select all

Spam Actions = store custom(spam)

Code: Select all

Definite Spam Is High Scoring = yes
And I've add :

Code: Select all

High Scoring Spam Actions = delete
Thanks.

Sincerelly.

Charles.
Post Reply