-
Notifications
You must be signed in to change notification settings - Fork 324
[Version 1.1] Rspamd, GPG, Unbound, ARC standard and Redis #122
Comments
https://www.mail-tester.com says that the message is not dkim signed on latest 1.1. How do I troubleshoot? |
"This is a valid DKIM key record" |
Thank you. So those are present and appear correct. Search in rspamd webui, History tab Errors pane for |
@AndrewSav the 1.1 isn't ready yet, I'll let you know when you can use it. You can ignore all rspamd/rspamd#1474 |
@hardware thank you for this. It's just you closed the issue about spam learning so I wrongly assumed that the rspamd part is ready. |
@AndrewSav The new version is ready ! Please read the migration procedure before upgrading your mail server : https://github.com/hardware/mailserver/wiki/Migrating-from-1.0-stable-to-1.1-beta I will merge the For the next 6 months, the Feel free to give your feedback, improve this new version and make suggestions :) |
1.0-stable -> |
@hardware thank you for that, appreciated. I'm testing it now. The former has the following and the latter does not:
Also, the former does not have Update: Also this is present in the former but not in the latter for
|
@denji Yeah it's better. |
@hardware everything seems to be working here. You might want to mention in the migration doco that one needs to set up certs for rspamd too. I know, it's kind of obvious, but I have a feeling that people would appreciate pointing that out. |
Done ;) New dovecot version takes more time to generate DH params (6 minutes...) on my tiny VM :
You think I should advise using haveged entropy daemon in the readme ? |
Uhm, I did not stumble across this. When does this happen? |
When the container start, dovecot hang completely during ssl parameters generation with a small CPU. But i think I will store the Diffie-Hellman parameters in |
Done : e3ce2c7 |
Is it safe/secure to have everyone use the same DH parameters? |
No one shares the same DH parameters, each instance has a different one. /var/mail is your docker volume. https://github.com/hardware/mailserver/tree/v1.1#filesfolders-tree |
Ah, it's symlinked, missed that bit. Gotcha. Also spam detection is so much better. I'm curious to see if the learning really works the way it's supposed to ;) |
i think it will nice to mark the rspamd port, actually it is only writen on the ngxproxy procedure. |
@arckosfr added in migration procedure ;) This new port is not needed in the docker-compose file if the webserver is on the same host because both containers are on the same local network. For security reasons, this port should not be public, even if the worker-controller is protected by a password. If this port is made public, your firewall should filter and accept only authorized external hosts. |
Correct, i don't expose the port but just for user that use another reverse than ngxproxy (especially with label support like Traefik or Xataz reverse per exemple). |
Works well on my setup. Running on 3 domains. Will let you know if I run into any issues. |
Now running with 1.1-stable. Also added the option to easily enable the GPG encryption when using the docker-mail-server setup. Question: Are rspamd stats persistent across reboots? |
https://github.com/hardware/mailserver/wiki/Migrating-from-1.0-stable-to-1.1-stable#known-issues Yes but there is a bug in Rspamd which causes the counters are not saved on the filesystem when rspamd terminated too quickly or unexpectedly. It seems Stats are stored in dbdir : I will open an issue on rspamd github repository. Only counters are affected by this problem. |
Thanks. That's exactly the behavior I noticed when I restarted the stack. |
Thanks for this procedure 🥇 On section "Update you docker-compose file" you point it out to mention the line to modify, I think you can also add the mention on the image line. When we upgrade the cert file we need to stop the nginx container before trying to upgrade, it can be relevant to add it to the doc
|
@Antexa added |
Migrated successfully, thanks! 🎉 |
@ksylvan I opened an issue on rspamd github repository : rspamd/rspamd#1823 |
I will update my current 1.0-legacy environment to the 1-1-stable version. Should I use the stable or the master branch for a production environment? (About 30-40 domains) |
|
hardware/mailserver - version 1.1
Migration steps from
1.0
to1.1-stable
:https://github.com/hardware/mailserver/wiki/Migrating-from-1.0-stable-to-1.1-stable
Changes
Upgrades
Links
https://rspamd.com/
https://github.com/vstakhov/rspamd
http://skarnet.org/software/s6/
https://github.com/skarnet/s6
Author : @vstakhov
Automatic GPG encryption
Zeyple catches email from the postfix queue, then encrypts it if a corresponding recipient's GPG public key is found. Finally, it puts it back into the queue.
More information in the readme : https://github.com/hardware/mailserver/#automatic-gpg-encryption-of-all-your-e-mails
Links
https://infertux.com/labs/zeyple/
https://github.com/infertux/zeyple
Unbound local DNS resolver
Unbound is a validating, recursive, and caching DNS resolver inside the container, you can control it with the remote server control utility.
Some examples :
Links
https://www.unbound.net/
ARC standard
ARC support added thanks to the Rspamd ARC module.
Links
http://arc-spec.org/
https://datatracker.ietf.org/doc/draft-ietf-dmarc-arc-usage/
https://dmarc.org/presentations/ARC-Overview-2016Q2-v03.pdf
https://blog.returnpath.com/how-to-explain-authenticated-received-chain-arc-in-plain-english-2/
Redis cache
Redis added for some features :
Links
https://redis.io/
https://github.com/antirez/redis
The text was updated successfully, but these errors were encountered: