Right, i somehow missed the bit where it says "global keys" in the mail subject...
Can you do these? Firstly, dewrap the file with https://github.com/dovecot/tools/blob/main/dbox-dewrap.pl perl dbox-dewrap.pl /var/vmail/mailboxes/example.com/username/mail/mailboxes/INBOX/dbox-Mails/u.5396 > encrypted then run doveadm dump -tdcrypt-file encrypted and doveadm dump -tdcrypt-key /path/to/private/key then see if the key digest matches? Aki > On 26/08/2023 19:46 EEST David Mehler <dave.meh...@gmail.com> wrote: > > > Hello Aki and all, > > Thanks for your reply. Yes I am still getting the error. Here's the > error and doveconf -n hope it helps. > > Suggestions welcome. > Thanks. > Dave. > > #tail -f mail.log > 2023-08-21T09:08:26.344272-04:00 hostname dovecot: imap-login: Login: > user=<usern...@example.com>, method=PLAIN, rip=xxx.xxx.xxx.xxx, > lip=xxx.xxx.xxx.xxx, mpid=713431, TLS, session=<sXHnkm4Da9ZoDWll> > 2023-08-21T09:08:38.521137-04:00 hostname dovecot: > imap(usern...@example.com)<713431><sXHnkm4Da9ZoDWll>: Error: Mailbox > INBOX: UID=5396: read() failed: > read(/var/vmail/mailboxes/example.com/username/mail/mailboxes/INBOX/dbox-Mails/u.5396) > failed: Decryption error: no private key available (read <snip/> > > > On 8/21/23, Aki Tuomi <aki.tu...@open-xchange.com> wrote: > > Do you still get same error? > > > > Can you send `doveconf -n`? > > > > Aki > > > >> On 12/08/2023 14:45 EEST David Mehler <dave.meh...@gmail.com> wrote: > >> > >> > >> Hello, > >> > >> Thanks for your reply. That didn't do it, still having the issue? Any > >> other suggestions? Is there any other information I can provide? > >> > >> Thanks. > >> Dave. > >> > >> > >> On 8/11/23, Aki Tuomi <aki.tu...@open-xchange.com> wrote: > >> > Seems like you are missing mail_attribute_dict? > >> > > >> > Aki > >> > > >> >> On 11/08/2023 11:32 EEST David Mehler <dave.meh...@gmail.com> wrote: > >> >> > >> >> > >> >> Hello, > >> >> > >> >> I'm using Dovecot v2.3 with the mail_crypt plugin and global keys. I > >> >> am seeing this error immediately after imap login then after this > >> >> error imap logs out. I'm hoping this is a simple permissions problem > >> >> and the key can not be read rather than an underlying configuration > >> >> issue. > >> >> > >> >> I do not know what this UID 5395 refers to. > >> >> > >> >> 2023-08-11T04:14:14.539308-04:00 hostname dovecot: > >> >> imap(usern...@domain.org)<492738><zO4WTKECnvRoDWll>: Error: Mailbox > >> >> INBOX: UID=5395: read() failed: > >> >> read(/var/mail/mailboxes/domain.org/username/mail/mailboxes/INBOX/dbox-Mails/u.5395) > >> >> failed: Private key not available: mailbox_attribute_get(INBOX, > >> >> /priv/vendor/vendor.dovecot/pvt/crypt/privkeys/e9f195fe9fd1953d08e815ba6fda9b6c5ae1ed692c9adade2f958c322552cbb0) > >> >> failed: Mailbox attributes not enabled (FETCH BODY[HEADER]) > >> >> > >> >> #ls -ld crypt > >> >> drwxr-xr-x 2 root root 4096 Jul 25 08:52 crypt/ > >> >> > >> >> # cd crypt > >> >> #ls -l * > >> >> -r-------- 1 root root 241 Jul 25 15:43 master.key > >> >> -rw-r--r-- 1 root root 178 Jul 25 15:43 master.pub > >> >> > >> >> Thanks. > >> >> Dave. > >> >> _______________________________________________ > >> >> dovecot mailing list -- dovecot@dovecot.org > >> >> To unsubscribe send an email to dovecot-le...@dovecot.org > >> > > >> _______________________________________________ > >> dovecot mailing list -- dovecot@dovecot.org > >> To unsubscribe send an email to dovecot-le...@dovecot.org > > > _______________________________________________ > dovecot mailing list -- dovecot@dovecot.org > To unsubscribe send an email to dovecot-le...@dovecot.org _______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org