Rspamd quarantine feature

rspamd

(Stéphane de Labrusse) #41

maybe in some case it is incompatible, quarantine@domain.tld is whitelisted but the end recipient is myaccount@domain.tld


(Rob Bosch) #42

That’s because it is an alias…

I will try to set it up with a dedicated account/mailaddress. But to be honest I am not convinced this will work that great, since there is a need to log into the spam account and then go through the list of spam mails.

In my mind I had the idea of getting a digest of spam mails from which I can choose (by clicking a link in that digest mail) to mark messages as not spam and thus they get delivered.


(Stéphane de Labrusse) #43

I am sorry but this is out of the scope due to the amount of work, or at least not now :frowning:

you could set up an imap account to your thunderbird or equivalent to receive spam


(Stéphane de Labrusse) #44

eventually we could set a specific account to receive the notification, instead of postmaster it could be robb@domain.com, with the title and the spam score you could understand what is the content


(Stéphane de Labrusse) #45

works also with a shared mailboxe, just created in Email addresses > Shared Mailboxes


(Stéphane de Labrusse) #46

I thought first that the email was not rejected and the side effect is that the spam sender continues to send again and again spam, I am not sure now… I can see the spam sent rejected by my server but of course moved to the quarantine account.

Erreur signalée : *550 5.7.350 Remote server returned message detected as spam -> 554 5.7.1 Spam message rejected*

So in short the spam is seen rejected for the sender, but moved to the quarantine account.

it works well for account on the NS, as a dedicated user mailbox or a shared mailbox


(Stéphane de Labrusse) #47

testers needed to validate the work, please read the QA at


and

really thank you in advance

PS: as a side note, a virus found goes to quarantine


(Davide Principi) #48

Should be added to the manual! There’s an open PR: who wants to do it? /cc @robb @GG_jr

:pencil2: Just follow this link and start edit it: https://github.com/stephdl/docs/edit/quarantine/administrator-manual/en/mail.rst?pr=%2FNethServer%2Fdocs%2Fpull%2F371


(Giacomo Sanchietti) #49

Released.


NethServer 7.6.1810 beta development
(LR) #50

What do I have to do to quarantine blocked office documents? does the user “spam” have to be an AD account? Is the user “spam” an IMAP user or can the user RSPAM login?
Sorry the question, the function is not really clear to me yet, I tried the documentation, but can’t get any further. Please give mnir some more startup help


(Stéphane de Labrusse) #51

http://docs.nethserver.org/en/latest/mail.html?highlight=quarantine#quarantine-beta

The documentation stated, create a real user or use a shared mailbox.


(LR) #52

Sorry, I thought it was a user and not a public folder.


(LR) #53

how can i best test it locally, so that an attachment runs in the spam folder, the signature “XJSC4JDBQADN1.NSBN32IDNENGTUBE-STANDARD-ANTI-UBE-TEST-EMAILC.34X” will not be sent at all


(Stéphane de Labrusse) #54

this is a special signature, well known to test antispam, the rspamd behaviour is not the same for this, for example even if you stop the spam filtering it is always rejected.

Wait some time, when you see a rejection in the rspamd history, then the quarantine must work