mlsmili.blogg.se

Train spamassassin
Train spamassassin






train spamassassin
  1. #Train spamassassin how to#
  2. #Train spamassassin install#

Once logged into SSH run the following commands: cd /home/USERNAME/.spamassassin Now log in in SSH with the DirectAdmin user. This is possible if you log in to DirectAdmin as a reseller or admin and change the user and check the box for SSH. Chances are you still need to enable SSH in DirectAdmin for the user. The permissions of the file are then immediately correct. To create the cronjob script you can do this via root but it is recommended to log in as the user in DirectAdmin where you just created the two new spam training folders. You can change the names to your own liking, but pay attention in the next step to change the names there as well.

train spamassassin

In the spamtraining-false folder, place messages that are marked as spam but are not spam messages. In the spamtraining-true folder you place all messages that have arrived in your inbox but which are spam. In the INBOX folder create two new folders (this can be done with a webmail client such as roundcube or your desktop mail client). The first step is to create two new IMAP folders in which you can place the spam messages. More information about Easy Spam Fighter can be found here and more information about Blockcracking can be found here.

#Train spamassassin install#

Run the following commands in SSH as root to install these tools: cd /usr/local/directadmin/custombuildĪfter compiling exim_conf there should appear a message that Easy Spam Fighter and BlockCracking are installed. To install these tools together with SpamAssassin, we use the handy CustomBuild tool that comes with every DirectAdmin installation. These are the Easy Spam Fighter and Blockcracking tools. With the latest versions of DirectAdmin, in addition to SpamAssassin, new tools are available to combat spam. Note: Always make a snapshot and/or backup of your system before you upgrade the software! This way you can always fall back on a working configuration if something goes wrong. This tutorial was written for RHEL / RockyLinux / AlmaxLinux / CentOS 8 in combination with DirectAdmin.DirectAdmin (latest version) installation with CustomBuild 2.0 or higher.SpamAssassin analyzes and learns to recognize common spam and blocks it the next time.

#Train spamassassin how to#

It also explains how to let an antivirus program such as ClamAV scan your e-mail messages. This tutorial explains how to set up a cron job that updates the spam filters regularly and how to train SpamAssassin what is and what is not spam. SpamAssassin already works well with the default settings, but there is still a lot that can be improved to optimize SpamAssassin to prevent spam.








Train spamassassin