Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 967 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 967 Bytes

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/