Re: [Dovecot] umask not applied
- original message - Subject: Re: [Dovecot] umask not applied From: Thomas lists@abelonline.de Date: 15/11/2007 00:46
Quoting Troy Engel tengel@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.
Quoting Nikolay Shopik shopik@inblock.ru:
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.
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.
Do you know if the current version of dovecot is implementing the
umask feature correctly?
This message was sent using IMP, the Internet Messaging Program.
On Thu, 2007-11-15 at 12:51 +0100, Thomas wrote:
Quoting Nikolay Shopik shopik@inblock.ru:
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.
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.Do you know if the current version of dovecot is implementing the
umask feature correctly?
It doesn't. dovecot-shared file should be enough to solve your problem.
Quoting Timo Sirainen tss@iki.fi:
It doesn't. dovecot-shared file should be enough to solve your problem.
OK, that was a good tip. It works. Now the only thing I need is
dovecot to create the file automatically when I create a new account.
Is there some way to let dovecot execute a script when it creates a
new account. I couldnt find anything in the documentation.
This message was sent using IMP, the Internet Messaging Program.
On 15.11.2007, at 17.03, Thomas wrote:
Quoting Timo Sirainen tss@iki.fi:
It doesn't. dovecot-shared file should be enough to solve your
problem.OK, that was a good tip. It works. Now the only thing I need is
dovecot to create the file automatically when I create a new account.
Depending how how you create the new account, you might be able to do
it there. For example if you have some add-mail-user script, you
could have that do it. Or add to /etc/skel/ if you use system users.
Is there some way to let dovecot execute a script when it creates a
new account. I couldnt find anything in the documentation.
Dovecot doesn't "create new accounts", but you can execute a script
that's run before each imap session: http://wiki.dovecot.org/
PostLoginScripting
Quoting Timo Sirainen tss@iki.fi:
On 15.11.2007, at 17.03, Thomas wrote:
Quoting Timo Sirainen tss@iki.fi:
It doesn't. dovecot-shared file should be enough to solve your problem.
OK, that was a good tip. It works. Now the only thing I need is
dovecot to create the file automatically when I create a new account.Depending how how you create the new account, you might be able to do it there. For example if you have some add-mail-user script, you could have that do it. Or add to /etc/skel/ if you use system users.
I thought of the process when dovecot creates a new maildir-folder for
a user. It does that when the first e-mail for this user arrives. The
following determines the path where this is done.
userdb static { args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes }
Is there some way to let dovecot execute a script when it creates a
new account. I couldnt find anything in the documentation.
Dovecot doesn't "create new accounts", but you can execute a script that's run before each imap session: http://wiki.dovecot.org/ PostLoginScripting
You are right it doesn't, but it creates the folders and files. See
above. PostLoginSripting is not a "nice" solution but I could check
the presence of dovecot-shared at every login though.
This message was sent using IMP, the Internet Messaging Program.
participants (3)
-
Nikolay Shopik
-
Thomas
-
Timo Sirainen