New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SpamAssassin KAM #2418
Add SpamAssassin KAM #2418
Conversation
If SpamAssassin is enabled, we can also enable KAM with a new environment variable (`ENABLE_SPAMASSASSIN_KAM`). This is a simple addition to the mail server.
I can only speak for myself, but I never heared about KAM before the mentioned issue. So a quick explanation what KAM is or at least a link to the homepage/documentation should be in |
I will add this. I can, if you like, change the default to 0 too, if you think this is more appropriate? |
Oh, I didn't see that you answered meanwhile 😉 |
I think that's a good idea. I don't use KAM and don't see a reason to do so at the moment. I am very satisfied, how SA performs in the current state. Enabling KAM per default might lead to new problems / more false positives for new users. |
Co-authored-by: Casper <casperklein@users.noreply.github.com>
The Dockerfile was lacking a `&&` and CI failed because of this.
Co-authored-by: Casper <casperklein@users.noreply.github.com>
Co-authored-by: Casper <casperklein@users.noreply.github.com>
Co-authored-by: Casper <casperklein@users.noreply.github.com>
Co-authored-by: Casper <casperklein@users.noreply.github.com>
Documentation preview for this PR is ready! 🎉 Built with commit: 1fa81ef |
Hey @georglauterbach Did you test For some reason,
So I had to change the command to
|
I experienced a similar issue, but (as I did with this PR) I did not use |
ah nice one! Thanks very much. 👍👍 |
cat >"${SPAMASSASSIN_KAM_CRON_FILE}" <<"EOM" | ||
#! /bin/bash | ||
|
||
sa-update --gpgkey 24C063D8 --channel kam.sa-channels.mcgrail.com && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the GPG key is a bit small, could a full one be used ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you find the complete key, please, feel free to open a PR :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://mcgrail.com/template/kam.cf_channel
I will let you do it if you want ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link you posted shows the very same key this PR uses...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, but for some reason they do use a short version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this to be fine :D
Description
Adds KAM (https://mcgrail.com/template/projects#KAM1) to SpamAssassin (SA) if SA is enabled. If not, there is no effect.
Closes #2412
Type of change
Checklist:
docs/
)