The github repository of mail-filter/dovecot_deleted_to_trash has a pull request pending to support dovecot 2.2 or newer: https://github.com/lexbrugman/dovecot_deleted_to_trash/pull/1 Please consider to add the patch to the ebuild and remove the hardmask.
Please attach patch to this bug
Created attachment 376322 [details, diff] dovecot-2.2-fix.patch
*** Bug 501602 has been marked as a duplicate of this bug. ***
+*dovecot_deleted_to_trash-0.6 (05 Jun 2014) + + 05 Jun 2014; Sergey Popov <pinkbyte@gentoo.org> + -dovecot_deleted_to_trash-0.3.ebuild, -dovecot_deleted_to_trash-0.5.ebuild, + +dovecot_deleted_to_trash-0.6.ebuild, -files/fix_names_and_destdir.patch: + Version bump, wrt bug #507716. Drop old versions