Preventing deletion of mails in some directories?
Phillip Odam
phillip.odam at nitorgroup.com
Tue May 17 23:18:16 UTC 2022
Hi Phil
Have you taken a look at dovecot’s namespaces?
https://doc.dovecot.org/configuration_manual/shared_mailboxes/public_shared/
No idea personally, just searched for it now based on your question.
When you mention chattr I assume you’re referring to setting the immutable
bit / flag eg. https://www.tecmint.com/chattr-command-examples/amp/
Only reason I can off the top of my head think this wouldn’t work is that
the file system type you’re using doesn’t support it.
A third option would be to dual mount the file system, second time in
readonly mode and use a second instance of dovecot to point at the second
location... just a tad yuck
Phillip
On Tuesday, May 17, 2022, Philip Rhoades <phil at pricom.com.au> wrote:
> People,
>
> I can't get the system "chattr" to do what I want so I am wondering if
> there is some way to prevent deletion of mails in the INBOX and the Sent
> folders?
>
> Renaming and moving files needs to be possible for Maildir functions and
> also for me - so I only need deletion prevention . .
>
> Is this possible from Dovecot?
>
> Thanks,
>
> Phil.
> --
> Philip Rhoades
>
> PO Box 896
> Cowra NSW 2794
> Australia
> E-mail: phil at pricom.com.au
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20220517/5e666bc4/attachment.htm>
More information about the dovecot
mailing list