Read only mailbox - is it possible?

What do you mean by that? Read-only without deleting? Read-only without sending? Do you mean any exactly webmail?
 
What do you mean by that? Read-only without deleting? Read-only without sending? Do you mean any exactly webmail?

I want users to be able to read mail using Outlook etc but not to delete any message
 
Hi,

This is far fetched, no Idea if this might work or not, never tried, not gonna try it.

Mails are stored in /home/user/imap
If you can somehow make the permissions in those folders so that the users can't write, but only read (r-x).
altough, I wouldn't try this on a user / mailbox that you intend to keep, try it first on a test user.
Right know I can think of problems with clients not being able to set a mail as read, there are probably also going to be other problems with imap clients.

Wouldn't recommend this, and maybe there is another solution to your problem.

regards,
Stijn
 
@Kiekeboe100,

your idea might be not that bad, while:

Firstly, files and directories in /home/user/imap are owned by

user:mail and have 660 (files) and 770 (directories) permissions

Secondly, any flags as well as read would mean renaming of files.

Thirdly, I guess Dovecot and Exim are operating from mail user (or even root). So r-xr-x--- might not protect a message from deleting...

Anyway, as scsi has already mentioned it's better to create a forwarder to another email
 
Back
Top