rspamd: add neural module config#3833
rspamd: add neural module config#3833georglauterbach merged 14 commits intodocker-mailserver:masterfrom hanscees:master
Conversation
|
Without good justification, this looks like something @georglauterbach already added support for with rspamd integration. You can provide these configs yourself rather than upstream into DMS for everyone. I don't have much opinion on rspamd config, so I'll leave this up to @georglauterbach to decide if the configuration being contributed is really appropriate (not just the rspamd feature itself). Generally this is something we defer to as a docs contribution, and if there is enough interest from DMS users we look into bringing it into DMS. A PR that just provides a static config preset isn't really something I care much for. The neural module itself is still documented as experimental and has WIP tags. |
|
I actually asked for a PR in the corresponding issue #3816. This PR need more work, though: we need a ENV |
I have adjusted the files vi scripts/startup/variables-stack.sh vi scripts/startup/setup.d/security/rspamd.sh vi mailserver.env But do I know make a completely new PR? Hmm, I think the changes are already added. Can you check ? |
georglauterbach
left a comment
There was a problem hiding this comment.
Looks already very good. I added two comments, one has a suggestion. When you're on GitHub, you can commit my suggestion so you don't have to apply it manually.
What is left to do is to basically copy the information from mailserver.env to our documentation, specifically docs/content/config/environment.md.
Then I think we're good to go! 🚀
Co-authored-by: Georg Lauterbach <[email protected]>
Co-authored-by: Brennan Kinney <[email protected]>
|
Okay, last tasks @hanscees:
I have applied my latest review feedback myself, so you'll need to pull before working on the branch again. Then we can update this branch and merge. |
done. Please check for errors. |
I don't see the corresponding changes here on GitHub. Did you push the changes? |
|
I have no idea what to do. The base branch keeps changing (ie your branch). then I do locally I commit and it says To https://github.com/hanscees/docker-mailserver No clue what to do now. Teh code changes are sitting nicely on my disk and refuse to move ... After some fiddling with rebase no and what not it seems to work now .......... |
Just for future reference, it's usually best to have your master branch unmodified, just sync it with ours, then branch off that when you're making a contribution and send a PR of that branch. No merging or rebasing is needed with us, we can update the branch from Github here and we merge PRs via squash commit so we're not that concerned with commit history in a PR. We just review it until we're happy with the final diff. I am forgetful with the git CLI personally and find it much easier to manage operations via software like GitKraken. I rewrite history with interactive rebase feature there, manage my branches, commit messages and merge conflicts all through that. It avoids a lot of the headaches I had when using only CLI. |
|
Current test failure: |
I'd strongly advise checking out another branch before working on features (as it makes syncing to upstream way easier). This is my workflow: [master] $ git pull
[master] $ git checkout -b feature-branch
[feature-branch] $ # do some work
[feature-branch] $ git commit ...
[feature-branch] $ git push -u origin feature-branch
# then create a PR
# later, when changes / suggestions were applied
[feature-branch] $ git pull
[feature-branch] $ # do some work
[feature-branch] $ git commit ...
# in case you already commited something and forgot to pull earlier, try
[feature-branch] $ # do some work
[feature-branch] $ git commit ...
[feature-branch] $ git pull --rebaseFor feature branches on forked repositories, we can manage syncing with our upstream master here on GitHub, so you need not worry about this. Okay, so I am not 100% sure why the test did not fail earlier. One last change needs to happen:
|
|
We have a ton of changes now that warrant v14 IMO. This PR should go into v14, though. @casperklein @polarathene what are your thoughts on going for a release PR and a feature freeze after this PR has been merged? |
I have a docs PR to complete that I'd like to get in for v14. A week freeze should be enough time to get that in. Other than that I'm fine with a release 👍 |
As I said, this git stuff PR is first time for me. I didnt know offbranching existed until 2 minutes ago. Will try that for sure :). |
|
Documentation preview for this PR is ready! 🎉 Built with commit: b89c4a7 |
|
thanks for all your help! Great to see this fly! |
|
Thanks for the contribution 🚀 Always nice to see community contributions! |
PR - docker-mailserver/docker-mailserver#3833 Signed-off-by: Aldo Maria Vizcaino <[email protected]>
PR - docker-mailserver/docker-mailserver#3833 Also mentioned in docker-mailserver/docker-mailserver#3913 Signed-off-by: Aldo Maria Vizcaino <[email protected]>
Description
Added config to use neural networks to make spam detection better
Fixes #3816
Type of change
Checklist:
docs/)CHANGELOG.md