[Dovecot] Shared mailbox plans

Troy Engel tengel at fluid.com
Wed Apr 11 19:08:25 EEST 2007


Timo Sirainen wrote:
> 
> I think I'll also add a check to compare Maildir, new, cur and tmp
> directories' permissions and log a warning if they're not the same.

Just as a sanity check, mine differ (for whatever reason - I probably 
used 'maildirmake' from Courier) like so:

$ ls -gGld SpamTraining/
drwxrwxr-x  7 117 Feb  2 10:21 SpamTraining/

$ ls -gGld SpamTraining/[new,cur,tmp]*
drwxrwx---  2 6 Sep  9  2004 SpamTraining/cur
drwxrwx---  2 6 Sep  9  2004 SpamTraining/new
drwxrwx---  2 6 Sep  9  2004 SpamTraining/tmp

$ ls -gGld SpamTraining/.MissedSpam/
drwxrwxr-t  5 36 Apr  7 09:17 SpamTraining/.MissedSpam/

$ ls -gGld SpamTraining/.MissedSpam/[new,cur,tmp]*
drwxrwxrwt  2 6 Feb  3 02:06 SpamTraining/.MissedSpam/cur
drwxrwxrwt  2 6 Feb  2 10:26 SpamTraining/.MissedSpam/new
drwxrwxrwt  2 6 Feb  2 10:28 SpamTraining/.MissedSpam/tmp

So whether or not *my* permissions are correct (they actually look 
pretty screwed up), implementing that check would start blowing out 
warnings in the logfile; yet these folders work perfectly fine I suppose.

FYI only. :)
-te

-- 
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com


More information about the dovecot mailing list