oliverlorenz / docker-imapfilter

imapfilter running in a docker container in a cron

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-imapfilter

This is a docker image running the awesome imapfilter as a cron in a docker container.

Motivation

I was searching for a solution to filter, tag, move and delete my emails independently from my server and client which is usable not only on a special provider. Its fully based on IMAP which most of the mailservers provide.

Usage

First you have to create config.lua which we mount later into the container. Don't be scared! LUA is not that hard! A very helpful source was this blogbost. It teachs me, how to configure imapfilter. A good documentation you can also find here

docker run -d \
  -e "IMAP_USERNAME=${IMAP_USERNAME}" \
  -e "IMAP_HOST=${IMAP_HOST}" \
  -e "IMAP_PASSWORD=${PASSWORD}" \
  -v $(pwd):/root/.imapfilter/

About

imapfilter running in a docker container in a cron

License:GNU General Public License v3.0


Languages

Language:Dockerfile 92.5%Language:Shell 7.5%