how about to chown of
~/.maildir/.foo
to an other user than defined as mail_uid / mail_gid in dovecot's config? So dovecot should not "see" this folders. Additional you have to edit in each users mail locations root the subscriptions file and remove the line, pointing to ~/.maildir/.foo
Frank
Am 25.10.2024 um 00:29 schrieb Ralph Seichter via dovecot:
Consider Dovecot with "mail_location = maildir:~/.maildir".
Is it possible to configure Dovecot to completely ignore directories like ~/.maildir/.foo ? The subdirectory .foo is created by third party software and the name cannot be changed. Because of the leading dot, Dovecot interprets ~/.maildir/.foo as IMAP folder /foo by default, creates the typical subdirectory structure with cur/new/tmp, and exposes ~/.maildir/.foo to IMAP clients.
Not being able to change the name or location of .foo, I would like to tell Dovecot to ignore .foo's presence altogether. So far I have not found documentation about how that can be done (or if it can). Helpful pointers are appreciated.
-Ralph
dovecot mailing list --dovecot@dovecot.org To unsubscribe send an email todovecot-leave@dovecot.org