Hi,

I'm using courier-imap as the mailserver of the domain, this is OK for
several years, thanks courier! :-)

I have one "weird" need at work... to have some documents that are
received by e-mail available to a group of people, and prevent them to
be erased.

So, I have one idea:
 - create a mail account "[email protected]"
 - make some smtp/procmail filter to "write them to disk" using an imap
maildir directory structure
 - the files and directories of this maildir structure would be
read+write by the user that delivers (probably some procmail setuid
script will deliver)
 - the files and directories of this maildir structure would be readonly
by the user that reads the mail (imap)

Then I configure the mail client of the group of persons that need
access to this documents and they would only be allowed to read the email.
Not allowed to do things like this: move folders, delete, mark as read, ...

I did some test by changing a current user maildir folders to chmod 555
and the files to chmod 444,
however, the courier-imap server gives an error when the folders/files
are readonly.

I need hists about:
    - is my idea too weird, any other method of acessing mails without
permission to change/delete things?
    - any workaround to make courier-imap work well with read-only
folders/files?
    - any workaround could be done to make courier-imap prevent changes
to mails (just for some users, not for all users of the domain)?

Thanks in advance,
Pedro


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to