Last active
January 24, 2025 15:45
-
-
Save Razuuu/20ef51322acba875a452685d3d66d21c to your computer and use it in GitHub Desktop.
Install rspamd stable - Debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# See https://rspamd.com/downloads.html | |
apt update | |
apt-get install sudo | |
sudo apt-get install -y lsb-release wget gpg | |
CODENAME=`lsb_release -c -s` | |
if [ $CODENAME = "trixie" ]; then | |
CODENAME="bookworm" | |
fi | |
sudo mkdir -p /etc/apt/keyrings | |
wget -O- https://rspamd.com/apt-stable/gpg.key | gpg --dearmor | sudo tee /etc/apt/keyrings/rspamd.gpg > /dev/null | |
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rspamd.gpg] http://rspamd.com/apt-stable/ $CODENAME main" | sudo tee /etc/apt/sources.list.d/rspamd.list | |
echo "deb-src [arch=amd64 signed-by=/etc/apt/keyrings/rspamd.gpg] http://rspamd.com/apt-stable/ $CODENAME main" | sudo tee -a /etc/apt/sources.list.d/rspamd.list | |
sudo apt-get update | |
sudo apt-get --no-install-recommends install rspamd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
good job