cyrus.conf and imapd.conf installed by net-mail/cyrus-imapd (from files directory in portage tree, not upstream package) were last updated in 2004. With "expunge_mode" set to default "delayed" value this means that no deleted messages are ever removed from mailboxes, since the installed cyrus.conf is missing periodic calls to "cyr_expire -X". I would suggest installing master/conf/normal.conf from upstream package as default cyrus.conf instead since it contains all the necessary calls. imapd.conf has a similar problem, and some default values are a little bit scary (for example TLS client cert authentication is enabled by default since there is no "tls_client_certs: off" line), also parameters like "tls_ca_path" or "tls_cert_file" trigger depreciation warnings on every incoming connection. Tested with net-mail/cyrus-imapd-2.5*
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5932d124e6d6505b7bf5b230ee22444c4065345 commit d5932d124e6d6505b7bf5b230ee22444c4065345 Author: Eray Aslan <eras@gentoo.org> AuthorDate: 2018-04-30 08:05:27 +0000 Commit: Eray Aslan <eras@gentoo.org> CommitDate: 2018-04-30 08:05:27 +0000 net-mail/cyrus-imapd: bump to 3.0.6 and fix dependencies and file collisions Fixes: https://bugs.gentoo.org/650200 Fixes: https://bugs.gentoo.org/627168 Fixes: https://bugs.gentoo.org/619584 Fixes: https://bugs.gentoo.org/618846 Package-Manager: Portage-2.3.31, Repoman-2.3.9 net-mail/cyrus-imapd/Manifest | 1 + net-mail/cyrus-imapd/cyrus-imapd-3.0.6.ebuild | 221 ++++++++++++++++++++++++++ 2 files changed, 222 insertions(+)