Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am jaltek on github.
  • I am jaltek ( on keybase.
  • I have a public key ASBHdldX-SAUl1t2j9QZyk0kgSRmzCCAUKncsI2CnIs59Qo

To claim this, I am signing this object:


uberspace, maildrop & MySQL

A simple maildrop sender filter with MySQL backend

This is a simple maildrop filter which filters incoming messages by the sender address and move it to the corresponding folder. E-Mail address and destination folder are both defined in a MySQL table.

This example is used in an uberspace environment.

Step 1: Create MySQL table

For convenience we use the already existing database corresponding to your uberspace account (e.g. your uberspace username is melanie there will be already a database called melanie.