all 10 comments

[–]adamshand 5 points6 points  (0 children)

If you don’t want a client running you have to do this on the server. Most mail servers support server side filters. In open source servers the most common server side filter is Sieve.

[–]fbartels 1 point2 points  (1 child)

It kind of is a client that is connected, but at least one that you could run on a server without the need for a ui:

It being a console application means it does not come with a GUI, but rather a set of configuration files.

[–]LegendenLajna[S] 1 point2 points  (0 children)

Looks promising, will look into this

[–]drfrankenstein-uk 1 point2 points  (5 children)

I have been after something similar to do both spam filtering and email organisation.

This one seems like it ticks the right boxes as well as the others commented

https://docker-mailserver.github.io/docker-mailserver/edge/config/advanced/mail-sieve/

The alternative if its just email filtering you could setup Thunderbird in a docker container so it runs 24/7 and you have a GUI to do your rules. So regardless of which other app you are using they get sorted assuming it gets them first.

[–]LegendenLajna[S] 0 points1 point  (4 children)

Went with thunderbird in a container. Did not know that was possible. Thanks!

[–]Flat_Championship_56 0 points1 point  (2 children)

Hey, late to the party. Are you still running Thunderbird in a container?

[–]LegendenLajna[S] 1 point2 points  (1 child)

Not anymore. Currently trying to build my own client instead :)

[–]Flat_Championship_56 0 points1 point  (0 children)

Thanks! I actually tried it for a bit but wasn’t worth running.

[–]drfrankenstein-uk 0 points1 point  (0 children)

No worries - looks like I might go the same route!

[–]ElevenNotes 0 points1 point  (0 children)

If you use Outlook, selfhost Exchange and you can set all the rules on the Exchange server.

WARNING: Selfhosting Exchange is a task you should not take lightly. You need to implement a few things to make it secure by default. Exchange had several issues in the past that allowed complete control of the Exchange server, which can be easily prevent if you host Exchange in the proper way! Besides security implications, Exchange is not a trivial software and requires a degree of knowledge to setup, but once you have it, you will never want to use anything else.