Roundcube Community Forum

Release Support => Requests => Topic started by: kevinx on December 29, 2016, 08:04:27 AM

Title: Inbox sorting my mails to specific folders after pressing sort button
Post by: kevinx on December 29, 2016, 08:04:27 AM
Hello,

I wonder if it is possible to sort mail to the specific folders. So, when I press the Sort-inbox-button (or a sort-inbox-hyperlink), that e.g.

mail(s) from *@amazon.com goes to my excisting folder Amazon
mail(s) from *@twitter.com goes to my excisting folder Twitter.com
mail(s) from [email protected]  to my excisting folder MyGrandma
etc.

Ofcourse, which mails has to go to which folder has to manually specified by the user.
It would be nice if it the sort-by can be like:
emailaddress:
- contains: @amazon
- is equal to: [email protected]
or
subject:
- contains: newsletter amazon
- is equal to: birthdayinvitation

I'll hope I did explain my request good enough. My english is not so good. Sorry for that.

Kind regards,
Kevinx
Title: Re: Inbox sorting my mails to specific folders after pressing sort button
Post by: rm13 on December 29, 2016, 12:17:38 PM
Sounds like the managesieve plugin.

If your IMAP server supports sieve (e.g. Dovecot) this plugin gives you a way to create the sieve filter rules so that incoming email is sorted on various criteria.
Title: Re: Inbox sorting my mails to specific folders after pressing sort button
Post by: kevinx on December 31, 2016, 05:51:30 AM
Thanks for your reply.

I'm asking this option in case the managesieve plugin is not working with the IMAP-mailserver. I do not know how difficult it is to make it. I don't know if the managesieve plugin could be modified so that it also could would in case the mailserver does not supports sieve.

Kind regards,
Kevinx
Title: Re: Inbox sorting my mails to specific folders after pressing sort button
Post by: JohnDoh on January 01, 2017, 10:51:19 AM
There are a couple of client side filtering plugins here: and https://plugins.roundcube.net/packages/roundcube/filters and https://plugins.roundcube.net/packages/eagle00789/rcfilters. I have not tried either of them but perhaps they will help you.