On 05/09/2025 04:46 EEST Zhang Huangbin via dovecot <dovecot@dovecot.org> wrote:
Dear all,
I'm configuring Dovecot 2.4.1 with per-user mailbox format support, but cannot get user shared mailbox working between different mailbox formats.
- Account mdbox@domain.com is a mdbox format mailbox, access with webmail is ok.
- Account maildir@domain.com is a maildir format mailbox, access with webmail is ok.
- mdbox@ shares its Sent folder to maildir@ with Roundcube webmail, grants all privileges (
akxeilprwts
).The result is maildir@ cannot see the shared folder.
- No error reported in Dovecot log file.
- mysql logs the queries performed to get user shared mailbox, i ran the query manually and it returns correct result like this:
MariaDB [vmail]> SELECT dummy,from_user FROM share_folder WHERE to_user = 'maildir@domain.com' \G *************************** 1. row *************************** dummy: 1 from_user: mdbox@domain.com
dovecot.conf snippet attached below. I think the "mail_*" parameters inside
namespace shared {}
block are incorrect to handle mixed mailbox formats because it hard-codes the mail_driver and mail_path, tried all possible parameters i can imagine, but failed.Thanks for helping. :)
Running mixed system with shared folders is going to indeed be very difficult and I would strongly recommend against it. It sounds to me that you should migrate to new server with new config and just one mailbox format first.
Aki