Harry Lachanas
2009-Feb-11 17:22 UTC
[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.
Thomas Hummel
2009-Feb-11 17:26 UTC
[Dovecot] Dovecot 1.1.11 imap namespaces .... access rights
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 at pasteur.fr> | P?le informatique - syst?mes et r?seau
Timo Sirainen
2009-Feb-11 17:30 UTC
[Dovecot] Dovecot 1.1.11 imap namespaces .... access rights
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-ctrlYou don't need to specify INBOX here, since this namespace has no INBOX.> passdb: > driver: pam > userdb: > driver: passwdSo you're using multiple UIDs? How about just removing filesystem write permissions from /home/Public? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090211/8c1343d6/attachment-0002.bin>
Harry Lachanas
2009-Feb-11 18:12 UTC
[Dovecot] Dovecot 1.1.11 imap namespaces .... access rights
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.
Charles Marcus
2009-Feb-11 18:44 UTC
[Dovecot] Dovecot 1.1.11 imap namespaces .... access rights
On 2/11/2009, Harry Lachanas (grharry at freemail.gr) wrote:> Here is my confPlease don't snip critical info from dovecot -n output... There hsould be a version line and a line with info about your system. -- Best regards, Charles