Introduction

Sickle is a general purpose email filter based on Dicemail. Dicemail uses Perl code to process mail messages and perform operations on them and Sickle is just a thin wrapper for these routines. You should read the the Mail::Dice man page after installing Dicemail for general information about accounts, filters and how to specify folders to process.

Typical uses are expected to be sorting or deleting email on a server, although since filters are written in Perl a wide range of possible tasks are possible. See the Dicemail examples for example filters.

Sickle is released under the BSD licence.

Sickle is not meant to be user friendly, and has the potential to cause data-loss if handled incorrectly. If you're not comfortable with Perl, best stop reading now.

Always happy to receive feedback.

Health warning

Sickle makes no attempts to remove harmful or disruptive instructions from the filter instructions. So, yes, it's possible to write a filter which wipes all your files. Make sure you trust the filter you're running. The input itself may be hostile, don't trust the values in the variables. Simply put, if you're not utterly comfortable with processing unchecked input, don't run Sickle. Plus, there may be bugs in Sickle itself.

Install

First off, existing users should read the changelog and upgrade guide. Changes in Sickle or Dicemail may alter the behaviour of your filters, which in turn could cause you to lose mail and make you a sad panda.

Debian

Gonéri Le Bouder has put together a Debian package. I've not tested it, but it's got to be worth a look. I understand that if you add the line below to your /etc/apt/sources.list file you can use apt-get install sickle and apt-get update:

deb http://orniere-du-globe.net/debian ./

Source

Pre-requisites

You will need:

Build

  1. Grab sickle-0.3.tar.gz
  2. Unpack
  3. make
  4. make install

Using

All the usage instructions are in the man page, man sickle for that. Simple usage examples include:

sickle
sickle -f dropold
sickle -f dropold _all