Transferred from https://projects.flaska.net/issues/94
you can use http://automx.org for testing such features
Trojitá is no longer maintained, please switch to a maintained alternative like https://apps.kde.org/kmail2/ Sorry for the inconveniences.