Mail rule (filter) by moving emails to a folder



  • A question. Would there be any way to trigger a filter by moving an email to a specific folder?

    Assume for example that I want to automatically forward to someone else all the emails that I move to a specific folder. Is this possible in any way?



  • @mcostan said in Mail rule (filter) by moving emails to a folder:

    I want to automatically forward to someone else all the emails that I move to a specific folder. Is this possible in any way?

    Not exactly a filter/ rule, but you could use the example of kopano-spamd.py as a starting point: There, the spam-folder is monitored by a daemon for new entries on an event-driven model.
    Newly placed items in this folder are processed (here for spam-learning) upon arrival.

    ++umgfoin.



  • Thanks, that would work from the back end, but of course not from the front end unless of course by writing a separate plugin.



  • Yes, that’s right. Your idea sounds interesting, anyway.



  • Thinking about it. Perhaps it should be an addition to the normal filter? I.e. the current email filters work by default on the folder “inbox”. Perhaps there could be a place where you create the rules where you can select which folder you want them to work on. I.e. they would integrate in the current Webapp settings.

    I am not sure how many people (other than me) would find this useful, though, and not sure how easy this would be to implement.


Log in to reply