Next, you need to create a variable named SAHOME with the below value: $ SAHOME="/var/log/spamassassin/" $ sudo nano /etc/default/spamassassinįirst change the value of ENABLED directive from 0 to 1: We are going to edit this file using a nano editor to change a few parameters. Once SpamAssassin is installed, it has a default configuration file located at /etc/default/spamassassin. Is the information correct? Y Step 3: Editing SpamAssassin Configuration File Enter Y and press Enter to continue Full Name : Press Enter to skip Towards the end of the prompt, you will be asked to confirm if the details are correct. You will be prompted to enter more details about the user, just hit Enter key to skip the details. ![]() So we are going to add a new user on the system using the command below: $ sudo adduser spamd -disabled-login SpamAssassin requires a system user to work. Press Y and hit Enter when prompted to confirm the installation Step 2: Adding SpamAssassin System User Then, run the command below to install SpamAssassin: $ sudo apt-get install spamassassin spamc Before that, let us first update the package list information: $ sudo apt-get update We are going to install SpamAssassin using apt-get command. In this guide, we will show you how to install SpamAssassin on your mail server hosted on Ubuntu 18.04 server… Prerequisite SpamAssassin is free and Open-source and relies on Perl language to scan and identify email headers, subject lines, and body to keep a server from spam. The utility runs on top of a Mail Transfer Agent (MTA) like Postfix to classify and block unwanted emails. ![]() Apache SpamAssassin is an intelligent software application for filtering unsolicited emails from telemarketers and hackers.
0 Comments
Leave a Reply. |