Hi,
i had to full restore my mailcow from backup.
This has worked so far, but I no longer see the old emails. They are visible via IMAP/SOGo, but you can’t read/retrieve them anymore.
IMAP
imap(email@domain.tld)<980230><ubMlLwv1YKUAAAAAAAAAAAAAAAAAAAAB>: Error: Mailbox Trash: UID=146: read() failed: read(/var/vmail/domain.tld/email/Maildir/.Trash/cur/1671620783.M5139P450669.4ef82c376ee7,S=79923,W=80977:2,S) failed: Decryption error: no private key available (read reason=prefetch)
SOGo
[75]: [WARN] <0x55a451284eb0[SOGoMailFolder]:folderINBOX> IMAP connection is broken, trying to reconnect...
19.02.2023, 11:15:50 notice [75]: [ERROR] <0x0x55a45123d790[NGImap4Connection]> Error fetching 100 uids for url: imap://name%40domain.tld@172.22.1.250/INBOX/?tls=NO&tlsVerifyMode=none
identical behavior as here
however, i have not changed the container names
ls -al /var/lib/docker/volumes/mailcowdockerized_crypt-vol-1/_data/
total 16
drwxr-xr-x 2 root root 4096 Feb 19 03:34 .
drwx-----x 3 root root 4096 Feb 19 03:34 ..
-rw------- 1 401 root 241 Feb 19 03:34 ecprivkey.pem
-rw-r--r-- 1 401 root 178 Feb 19 03:34 ecpubkey.pem
old Mail (cant see content)
-rw------- 1 5000 5000 755 Feb 20 10:17 '1676884641.M10962P1562.cfe871345e10,S=708,W=732:2,S'
new Mail
-rw------- 1 5000 5000 1265 Dec 26 2016 '1669637562.M711261P34230.b66cd09be82d,S=1418,W=1450:2,Sa'
Any idea how to fix this