mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.95k stars 1.17k forks source link

mails in the trash are not deleted #4775

Closed Mastertomspirit closed 1 year ago

Mastertomspirit commented 2 years ago

Contribution guidelines

I've found a bug and checked that ...

Description

Hi,

my problem is that the mails are not deleted from the trash, they are just no longer displayed.

Logs

imap(xxx@xxx.xxx)<974><UjBpKvbpZqAqAjAzBBw4DdEMVv0ZhPVC>: delete: box=Trash, uid=115, msgid=<emm_kotte-zeller-shop_newsletter_kotte_zeller_22092022@kotte-..., size=19484

imap(xxx@xxx.xxx)<974><UjBpKvbpZqAqAjAzBBw4DdEMVv0ZhPVC>: expunge: box=INBOX, uid=120, msgid=<emm_kotte-zeller-shop_newsletter_kotte_zeller_22092022@kotte-..., size=19484

imap(xxx@xxx.xxx)<974><UjBpKvbpZqAqAjAzBBw4DdEMVv0ZhPVC>: delete: box=INBOX, uid=120, msgid=<emm_kotte-zeller-shop_newsletter_kotte_zeller_22092022@kotte-..., size=19484

imap(xxx@xxx.xxx)<974><UjBpKvbpZqAqAjAzBBw4DdEMVv0ZhPVC>: copy from INBOX: box=Trash, uid=115, msgid=<emm_kotte-zeller-shop_newsletter_kotte_zeller_22092022@kotte-..., size=19484

Steps to reproduce

I use PEP for Android as client. When I look at sogo, I no longer see any mails in the trash, but hundreds can still be seen on the admin page. Only if I click on empty recycle bin again via sogo, then they are gone.

I have the same behavior with Thunderbird. If I delete them one by one, the mails are only set to not visible, only by empty recycle bin they are really gone. It looks like the expunge: box=Trash step is missing when deleting it one by one.

How can that be changed if I don't always want to login with sogo or thunderbird to finally delete it? I don't want to empty the trash after X weeks, only manually.

System information

Question Answer
My operating system Debian 5.10.140-1
Is Apparmor, SELinux or similar active? Apparmor is active
Virtualization technology (KVM, VMware, Xen, etc - LXC and OpenVZ are not supported KVM
Server/VM specifications (Memory, CPU Cores) 4GB, 4 Cores
Docker version (docker version) 20.10.17
docker-compose version (docker-compose version) v2.9.0
mailcow version (git describe --tags `git rev-list --tags --max-count=1`) 2022-09a
Reverse proxy (custom solution) NO

Output of git diff origin/master, any other changes to the code? If so, please post them:

+smtpd_tls_dh1024_param_file = /etc/ssl/mail/dh2048.pem
+smtp_tls_ciphers = high
+smtp_tls_mandatory_ciphers = high
+smtpd_tls_ciphers = high
+smtpd_tls_mandatory_ciphers = high
+tls_high_cipherlist = tls_high_cipherlist = ECDHE-ECDSA-AES256-GCM-SHA384:TLS_AES_256_GCM_SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:TLS_CHACHA20_POLY1305_SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES256-GCM-SHA384:TLS_AES_256_GCM_SHA384:ECDHE-RSA-CHACHA20-POLY1305:TLS_CHACHA20_POLY1305_SHA256:ECDHE-RSA-AES128-GCM-SHA256:TLS_AES_128_GCM_SHA256
+smtpd_tls_eecdh_grade = ultra
milkmaker commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.