Hi all! I am trying to get dovecot-1.0.rc15 to create files with mode 660 in my virtual mailboxes. I set umask=0007 in dovecot.conf, restarted dovecot (/etc/init.d/dovecot restart) and send me an e-mail but it is still 600. "dovecot -n" says "umask: 7" How come the zeros are not displayed? Is this by intention or is something wrong? Here is the complete output: # /etc/dovecot/dovecot.conf log_timestamp: %Y-%m-%d %H:%M:%S login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login mail_extra_groups: mail mail_location: maildir:/home/vmail/%d/%n umask: 7 auth default: mechanisms: plain login passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: static args: uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail I searched the wiki and googled but couldn't find anything helpful. Do you have any ideas? ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
Thomas wrote:> > I searched the wiki and googled but couldn't find anything helpful. Do > you have any ideas?I'll be the first to mention that 1.0rc15 is ancient by dovecot standards, upgrade to 1.0x first and see if it's still broken. -te -- Troy Engel | Systems Engineer Fluid, Inc | http://www.fluid.com
On Thu, 2007-11-15 at 00:30 +0100, Thomas wrote:> I am trying to get dovecot-1.0.rc15 to create files with mode 660 in > my virtual mailboxes. I set umask=0007 in dovecot.conf, restarted > dovecot (/etc/init.d/dovecot restart) and send me an e-mail but it is > still 600.umask setting is completely broken. I've since removed it from dovecot.conf. You can do this with dovecot-shared file though: http://wiki.dovecot.org/SharedMailboxes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20071115/553e3aca/attachment-0002.bin>
- original message - Subject: Re: [Dovecot] umask not applied From: Thomas <lists at abelonline.de> Date: 15/11/2007 00:46 Quoting Troy Engel <tengel at fluid.com>:> I'll be the first to mention that 1.0rc15 is ancient by dovecot > standards, upgrade to 1.0x first and see if it's still broken.I am running a debian etch server. Unfortunately 1.0rc15 is the lastest version available in the stable tree. I would really like to remain in stable if somehow possible since I think combining stable and unstable will lead to chaos. I'll check the changes in later version and if they mention something about umask. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. If you are stick with debian stable just use backports so you don't mess up anything and still will be running stable and almost latest packages.