How black/white listing works?


(Stefano Zamboni) #1

NethServer Version: 7.4

Hi there

I need to know how the email black/white listing stuff works.

I mean:

  • which BL are enabled? are them configurable?
  • how is supposed to work the whitelisting of an email address regarding the BLs? I mean… let’s say I have a customer which sends email from a blacklisted IP, can I whitelist his domain and receive his emails or BL will win?

any hint or documentation link is welcome

thank you in advance


(Markus Neuberger) #2

Hi Stefano,

I just found this:

http://docs.nethserver.org/projects/nethserver-devel/en/v7/nethserver-mail-filter.html

In my understanding whitelisting should win over blocklists to make sense but I didn’t try on NethServer…


(Alessio Fattorini) #4

AFAIK whitelist win but @davidep could deny me.


(Davide Principi) #5

The whitelisted domain should win against any other spam check. Please refer to

Yes, the doc is lacking here (a PR is welcome):

https://github.com/NethServer/nethserver-mail-common/blob/master/root/usr/share/nethesis/NethServer/Help/en/NethServer_Module_Mail_Common.rst#filter

Here is some info, at the end of the section

http://docs.nethserver.org/en/v7/mail.html#anti-spam

It’s possible to create an ‘Allow’ or ‘Block’ rule even for a complete email domain, not just for a single email address : you just need to specificy the desired domain (e.g. : nethserver.org).


(Alessio Fattorini) #6

@Stefano_Zamboni would you mind submitting a PR since that we answer your concerns?
Please help to clarify the topic so that no one else will have your same doubts in the future


(Stefano Zamboni) #7

Sorry Alessio: I’m just asking for clarification 'cause I’ve been requested to find a solution for a customer… we’re still in proposal phase… the choice of NS of another product is still to be made… I have to know how it works

thank you for your time