Ben Kennedy wrote:

You could do a chmod a-w Maildir/cur/* ...



Write protect all of the mails that are read? No, surely you mean something like:


chmod -w Maildir/.

That will effectively disallow all folder creation and deletion

or, to still allow folders to be created:

chown root:someuser Maildir/.
chmod 1770 Maildir/.
chown root:someuser Maildir/.??*
chmod -R ug+rwX,o-rwx Maildir/.??*

Or something like that anyway, will not let folders be deleted... maybe could be followed up with a cron job that deletes old folders with no messages.

--
Sam Vilain, sam /\T vilain |><>T net, PGP key ID: 0x05B52F13
(include my PGP key ID in personal replies to avoid spam filtering)



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to