[Dovecot] moving mail from private inbox to public folder kills the latter

Timo Sirainen tss at iki.fi
Thu Aug 12 16:02:11 EEST 2010


On Wed, 2010-08-11 at 17:52 +0200, Tamas Kadar wrote:

> I've ran into something rather nasty: if a user moves a mail from its 
> inbox to a public folder, the folder becomes inaccessible for others, 
> because the moved file will have the the permission 600 instead of 777 
> (or 666) which the rest of the emails have in the folder.

The destination permission is taken from the destination maildir
directory. For example:

> open(/home/_shared/projects/.Long.Folder/cur/1281535484.M3B5A7P15183Q0.mail_espell_com:2,Sb) 

Here if you wanted this mail file to be
0666, /home/_shared/projects/.Long.Folder must be 0777.




More information about the dovecot mailing list