Skip to Content
Mastering CentOS 7 Linux Server
book

Mastering CentOS 7 Linux Server

by Mohamed Alibi, BHASKARJYOTI ROY
January 2016
Beginner
298 pages
6h 8m
English
Packt Publishing
Content preview from Mastering CentOS 7 Linux Server

Installing and configuring SpamAssassin

SpamAssassin is one of the most powerful spam filters that work with Postfix to filter all mails that may present a threat.

We will use it to filter all Postfix mails on our mail server (as we described in Chapter 4, Mail Server with Postfix, about how to get one up and running).

First, we need to install it using the default package manager:

$ sudo yum install spamassassin

Then it is installed. Now we move on to the configuration part:

$ sudo nano /etc/mail/spamassassin/local.cf

We have some lines that we need to make sure are in the file. So, we'd rather write them or uncomment them if they are commented:

rewrite_header Subject ***SPAM***
required_hits 5.0
report_safe 0
required_score 5

Next, we create ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn CentOS Linux Network Services

Learn CentOS Linux Network Services

Antonio Vazquez
Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones

Publisher Resources

ISBN: 9781785282393Supplemental Content