Debian exim/dovecot email server with Saltstack – Spam Assassin

It isn’t really possible to run an email server without a spam filter these days – there is just too much spam. Spam Assassin does the job very well, even with just its default configuration. Once exim is configured to use it, configuration of Spam Assassin itself is easy.

srv/salt/spam-assassin.sls

# Install and configure Spam Assassin
spamassassin:
  pkg:
    - installed
  service.running:
    - enable: True

# Client for exim to use to connect to Spam Assassin
spamc:
  pkg:
    - installed

# No custom configuration files required

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.