Last active
January 24, 2025 15:45
-
-
Save Razuuu/20ef51322acba875a452685d3d66d21c to your computer and use it in GitHub Desktop.
Revisions
-
Razuuu renamed this gist
Aug 28, 2023 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Razuuu created this gist
Aug 28, 2023 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ #!/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