[Dovecot] Dovecot 1.1.11 imap namespaces .... access rights
Hi all,
Is there a way to prohibit users of creating subfolder(s) under a Public Namespace ???
Here is my conf #------------------------------------------------------------------------------------------ log_timestamp: %Y-%m-%d %H:%M:%S protocols: imaps ssl_ca_file: /etc/postfix/sasl/cacert.pem ssl_cert_file: /etc/postfix/sasl/cert.pem ssl_key_file: /etc/postfix/sasl/key.pem login_dir: /var/run/dovecot//login login_executable: /usr/local/dovecot-1.1.11/libexec/dovecot/imap-login valid_chroot_dirs: /var/mail mail_privileged_group: mail mail_location: maildir:~/Maildir mail_debug: yes imap_client_workarounds: outlook-idle namespace: type: private separator: / location: maildir:~/Maildir inbox: yes list: yes subscriptions: yes namespace: type: public separator: / prefix: Public/ location: maildir:/home/Public:INBOX=~/Maildir:INDEX=~/Maildir/p-idx:CONTROL=~/Maildir/p-ctrl list: yes auth default: mechanisms: plain login passdb: driver: pam userdb: driver: passwd socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix #----------------------------------------------------------------------------------------------------------------
Cheers Harry.
On Wed, Feb 11, 2009 at 07:22:50PM +0200, Harry Lachanas wrote:
Is there a way to prohibit users of creating subfolder(s) under a Public Namespace ???
Isn't that (for users (as opposed to admins) to create subfolders in a public namespacejust impossible with 1.1.x) ?
-- Thomas Hummel | Institut Pasteur hummel@pasteur.fr | Pôle informatique - systèmes et réseau
Thomas Hummel wrote:
On Wed, Feb 11, 2009 at 07:22:50PM +0200, Harry Lachanas wrote:
Is there a way to prohibit users of creating subfolder(s) under a Public Namespace ???
Isn't that (for users (as opposed to admins) to create subfolders in a public namespacejust impossible with 1.1.x) ?
You got me ! :-( .... puzzled ? .... ???? er.....! Now I am not so sure what I really meant when I asked the question! :-) :-) Not to mention yours !!!
Cheers Harry
On Wed, 2009-02-11 at 19:22 +0200, Harry Lachanas wrote:
Is there a way to prohibit users of creating subfolder(s) under a Public Namespace ??? .. namespace: type: public separator: / prefix: Public/ location: maildir:/home/Public:INBOX=~/Maildir:INDEX=~/Maildir/p-idx:CONTROL=~/Maildir/p-ctrl
You don't need to specify INBOX here, since this namespace has no INBOX.
passdb: driver: pam userdb: driver: passwd
So you're using multiple UIDs? How about just removing filesystem write permissions from /home/Public?
Kiitos Timo ,,,
On Wed, 2009-02-11 at 19:22 +0200, Harry Lachanas wrote:
Is there a way to prohibit users of creating subfolder(s) under a Public Namespace ???
..
namespace: type: public separator: / prefix: Public/ location: maildir:/home/Public:INBOX=~/Maildir:INDEX=~/Maildir/p-idx:CONTROL=~/Maildir/p-ctrl
You don't need to specify INBOX here, since this namespace has no INBOX.
passdb: driver: pam userdb: driver: passwd
So you're using multiple UIDs? How about just removing filesystem write permissions from /home/Public?
But this would disable users from dumping mails into the folders right .... ???
Thanks Harry.
On Wed, 2009-02-11 at 20:12 +0200, Harry Lachanas wrote:
So you're using multiple UIDs? How about just removing filesystem write permissions from /home/Public?
But this would disable users from dumping mails into the folders right .... ???
No, for example if you had a folder called "box" it would exist in /home/Public/.box/ directory and that would need to have write permissions. Dovecot doesn't need to write anything directly under /home/Public/.
participants (4)
-
Charles Marcus
-
Harry Lachanas
-
Thomas Hummel
-
Timo Sirainen