[Dovecot] umask problem
Matteo
matteo at progettomio.net
Wed Jul 5 12:47:50 EEST 2006
Hi all,
i got a problem with the umask parameter.
I set it to umask=0007 because i need to access mail with another
process with different uid, but dovecot seems to ignore the directive
for files.
I'm using the last 1.0_rc2 release and i'm storing mail in maildir format.
Ex:
root at linux ~ # ls -al /var/domains/matteo/.maildir/.INBOX.test/
total 21K
drwxrwx--- 5 maildir maildir 232 Jul 5 11:21 .
drwx------ 23 maildir maildir 928 Jul 5 11:21 ..
drwxrwx--- 2 maildir maildir 48 Jul 5 11:21 cur
-rw------- 1 maildir maildir 144 Jul 5 11:21 dovecot.index
-rw------- 1 maildir maildir 11K Jul 5 11:21 dovecot.index.cache
-rw------- 1 maildir maildir 104 Jul 5 11:21 dovecot.index.log
drwxrwx--- 2 maildir maildir 48 Jul 5 11:21 new
drwxrwx--- 2 maildir maildir 48 Jul 5 11:21 tmp
for directories umask work! but for mail file... (i copied an e-mail to
the imap folder)
root at linux ~ # ls -al /var/domains/matteo/.maildir/.INBOX.test/cur/
total 56K
drwxrwx--- 2 maildir maildir 104 Jul 5 11:24 .
drwxrwx--- 5 maildir maildir 264 Jul 5 11:24 ..
-rw------- 1 maildir maildir 55K Jun 21 17:03
1152091443.P25455Q0M183478.linux:2,S
i would like the mail be stored with 0760 or 0770.
Could someone help me?
Thank you in advanced.
Matteo
P.S: sorry for my bad english
More information about the dovecot
mailing list