March 2014

Powered by Drupal

Get In Touch

If you need to contact me for whatever reason, you can email me at the address below:

contact-samhobbs.png

(I've included it as an image to prevent bots from scraping it and spamming me. Probably futile, but worth a go!) If you want to send an encrypted email, here is my GPG publickey:

About Me

I’m a 26 year old Civil Engineering graduate from the University of Surrey. I'm a recent Linux convert, and spend a lot of my time tinkering with open source software. Whenever I get the chance I go on long-distance hiking trips. If you haven’t spent the night in a bivvy bag on the summit of a mountain in a storm, chances are you don’t appreciate the comforts of home! Camping in the Lake District

Raspberry Pi Email Server Part 5: Spam Sorting with LMTP & Sieve

Submitted by Sam Hobbs on

This is the fifth and final part of a five part tutorial that will show you how to install a full featured email server on your Raspberry Pi. This tutorial covers how to automatically sort spam emails into the spam folder using Dovecot’s Local Mail Transfer Protocol (LMTP) and Sieve rules.

The parts are:

The Introduction & Contents Page (read first)

Raspberry Pi Email Server Part 1: Postfix

Raspberry Pi Email Server Part 2: Dovecot

Raspberry Pi Email Server Part 3: Squirrelmail

Raspberry Pi Email Server Part 4: Spam Detection with Spamassassin

Raspberry Pi Email Server Part 5: Spam Sorting with LMTP & Sieve

Intro

If you followed the previous tutorial, you currently have an email server that automatically scans incoming emails using Spamassassin. However, in its current state, Spam and Ham alike are delivered to the inbox, which is annoying. Since Spamassassin only marks emails based on their spam score, we need to use an external program to handle sorting & delivery.