Author Topic: Inbox sorting my mails to specific folders after pressing sort button  (Read 356 times)

Offline kevinx

  • Newbie
  • *
  • Posts: 4
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 grandma@xxxxxx.com  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: grandma@xxxxxxx.com
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

Offline rm13

  • Full Member
  • ***
  • Posts: 62
Re: Inbox sorting my mails to specific folders after pressing sort button
« Reply #1 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.

Offline kevinx

  • Newbie
  • *
  • Posts: 4
Re: Inbox sorting my mails to specific folders after pressing sort button
« Reply #2 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

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1,855
Re: Inbox sorting my mails to specific folders after pressing sort button
« Reply #3 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.
Roundcube Plugins: Sieverules, SpamAssassin Prefs, and moreā€¦