Skip to content

SmBe19/uberspace-mailfilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

uberspace-mailfilter

Mailfilter for Uberspace

Write a config file mailfilter.cfg, then call ./generate.py to generate the maildrop configuration file.

The config file consists of several rule groups. Each rule group consists of one rule per line, followed by a destination. For rules of the same type, only one of them has to hold, for different types all have to hold. For the rules, regex are allowed. Comments with # are allowed at the line start.

  • f:: From header
  • t:: To header
  • s:: Subject
  • b:: Body
  • ->: Destination

Example config:

t: my-app@example.com
-> .INBOX.App
f: a@example.com
f: b@example.com
s: .*Spam.*
b: This is spam
-> .Spam

About

Mailfilter for Uberspace

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages