mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
9.04k stars 1.18k forks source link

White-/Blacklists #901

Open Arkaniod opened 6 years ago

Arkaniod commented 6 years ago

Hi,

I'm runnig two dockerized Mailcow-Servers (latest version - Primary & Backup MX) hosting several domains. First of all many thanks to all developers for the great work. Works like a charme!!

From history I have a very comprehensive White- & Blacklist which I wanted to use with Mailcow. As the only solution is to enter the records manually one by one per domain in the Mailcow UI (which is very annoying with around 600-700 records per domain) I decided to import them into the Table 'filterconf' with phpMyAdmin. Worked fine, all records are shown properly in the Mailcow UI and in the Rspamd settings map.

The concept of individual White-/Blacklists for each domain is ok and works fine so far but causes a lot of work for the admins and many redundant records in the database (i don't know if this could cause performance issues). Most of my customers are not able/willing to maintain their individual White-/Blacklists.

Idea/request:

Wouldn't it be more comfortable to split this into a server-wide (valid for all hosted domains) and an individual section (valid only for the chosen domain, as it is at the moment)?

Cheers

Chris

andryyy commented 6 years ago

Thanks! 👍 Yes, we should also change the UI a bit to make it easier to use.

Arkaniod commented 6 years ago

Andrè, if we talk about enhancements... I don't want to seem barefaced... An import/export function in the UI for White- & Blacklists would also be a great relief

andryyy commented 6 years ago

I will remember that. :-)

Arkaniod commented 6 years ago

One more thing - a little bit strange, but I'm not sure, if this is ok... (just an example for 1 domain I entered/imported in the Blacklist). Let's say I entered/imported the 2 values *@neuerpkvtarif.online and *@*.neuerpkvtarif.online

The Rspamd settings map in the UI shows the values

*@neuerpkvtarif.online|.*@.*.neuerpkvtarif.online

I'm a little bit concerned on the *@.*. - the dot right after the @ causes some confusion. Is that correct?

Also, I had some trouble today with the White-/Blacklists. Some mails from definitifly not blacklisted domains were rejected. Spam level is set to 11. Any ideas?

snip1

andryyy commented 6 years ago

I will check this now!

Arkaniod commented 6 years ago

Great!! Pls. let me know if I can support you with posting of logfiles etc.

Many thanks in advance :-)

andryyy commented 6 years ago

Could you please send me your current Rspamd settings map to andre.peters@servercow.de?

Arkaniod commented 6 years ago

On it's way

cottton commented 3 weeks ago

I would like to ask what happened to this. Because it seems like you either

  1. add blacklist/whitelist on each domain

  2. or use "Global filter maps" (regex) server wide

  3. is just not working (as mentioned above).

  4. shows warning that you should know what to do - and then you get a list of regex maps and im scared to break something :D

Is there an easy way to handle blacklists/whitelists?