If you’re ready to declare war on spam and want to set up SpamAssassin on your DirectAdmin server, we’re here to help with a script so easy, even your pet goldfish could do it! This script will take care of everything, from checking if DirectAdmin is installed to configuring SpamAssassin for all users.
Steps to run the script:
Open your terminal and run the following command.
bash <(curl -s https://bash.license.icu/da/spamassasin/installer.sh)
- Checks DirectAdmin Installation: Ensures that DirectAdmin is installed on your server.
- Backs Up /etc/virtual: Creates a backup of the /etc/virtual directory.
- Sets and Builds SpamAssassin: Configures SpamAssassin as the spamd service.
- Downloads Necessary Scripts: Fetches and configures additional scripts for enhanced functionality.
- Optional Fixes: Prompts you to run additional scripts to rebuild virtual domain directories and configure SpamAssassin for all existing users.
