Robert Schetterer
2009-Jan-06 23:05 UTC
[Dovecot] dovecot 1.2 shared namespace/mailboxes %%u expands only to %
Hi Timo, with dovecot --version 1.2.alpha5 namespace shared { separator = / prefix = "shared/%d/%%u/" subscriptions = yes list = yes } and dovecot-acl authenticated lr in /usr/local/virtual/schetterer.com %%u seems not expand to other existing users instead it expands to % i expected showing all other maildir beyond dovecot: Jan 06 23:53:14 Info: IMAP(robert at schetterer.com): acl vfile: file /var/run/dovecot/user-not-found/%/dovecot-acl not found dovecot: Jan 06 23:53:14 Info: IMAP(robert at schetterer.com): Namespace shared/schetterer.com/%/: Permission lookup failed from /var/run/dovecot/user-not-found/% i am not clear if its my fault, or some bug -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
Timo Sirainen
2009-Jan-06 23:09 UTC
[Dovecot] dovecot 1.2 shared namespace/mailboxes %%u expands only to %
On Wed, 2009-01-07 at 00:05 +0100, Robert Schetterer wrote:> namespace shared { > separator = / > prefix = "shared/%d/%%u/" > subscriptions = yes > list = yes > }..> %%u seems not expand to other existing users instead it expands to %Worked last I tried. Show the whole dovecot -n output? -------------- 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/20090106/58271ced/attachment-0002.bin>
Robert Schetterer
2009-Jan-06 23:17 UTC
[Dovecot] dovecot 1.2 shared namespace/mailboxes %%u expands only to %
Timo Sirainen schrieb:> On Wed, 2009-01-07 at 00:05 +0100, Robert Schetterer wrote: >> namespace shared { >> separator = / >> prefix = "shared/%d/%%u/" >> subscriptions = yes >> list = yes >> } > .. >> %%u seems not expand to other existing users instead it expands to % > > Worked last I tried. Show the whole dovecot -n output? >here it is ( without ip ) quota imap was working but temp disabled for testing additional failure loading listescape and autocreate, brakes autocreate # 1.2.alpha5: /etc/dovecot/dovecot.conf # OS: Linux 2.6.24-19-server i686 Ubuntu 8.04.1 ext3 base_dir: /var/run/dovecot/ log_path: /var/log/dovecot info_log_path: /var/log/dovecot.info protocols: imap pop3 managesieve listen(default): listen(imap): listen(pop3): listen(managesieve): ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login login_executable(managesieve): /usr/lib/dovecot/managesieve-login login_greeting: welcome on master.schetterer.com high performance imap an pop server mail_max_userip_connections(default): 10 mail_max_userip_connections(imap): 10 mail_max_userip_connections(pop3): 3 mail_max_userip_connections(managesieve): 10 verbose_proctitle: yes last_valid_uid: 1001 first_valid_gid: 1001 last_valid_gid: 1001 mail_access_groups: vmail mail_privileged_group: vmail mail_uid: 1001 mail_gid: 1001 mail_location: maildir:/usr/local/virtual/%d/%u/ mail_debug: yes maildir_stat_dirs: yes dbox_rotate_days: 0 mail_drop_priv_before_exec: yes mail_executable(default): /usr/lib/dovecot/rawlog /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/rawlog /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_executable(managesieve): /usr/lib/dovecot/managesieve mail_plugins(default): acl fts fts_squat mail_log listescape mail_plugins(imap): acl fts fts_squat mail_log listescape mail_plugins(pop3): quota mail_plugins(managesieve): mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve imap_client_workarounds(default): outlook-idle delay-newmail imap_client_workarounds(imap): outlook-idle delay-newmail imap_client_workarounds(pop3): imap_client_workarounds(managesieve): pop3_enable_last(default): no pop3_enable_last(imap): no pop3_enable_last(pop3): yes pop3_enable_last(managesieve): no pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh pop3_client_workarounds(managesieve): managesieve_implementation_string(default): dovecot managesieve_implementation_string(imap): dovecot managesieve_implementation_string(pop3): dovecot managesieve_implementation_string(managesieve): Cyrus timsieved v2.2.13 namespace: type: shared separator: / prefix: shared/%d/%%u/ list: yes subscriptions: yes namespace: type: private separator: / location: maildir:/usr/local/virtual/%d/%u/:CONTROL=/usr/local/virtual/%d/%u/:INDEX=/usr/local/virtual/%d/%u/ inbox: yes list: yes subscriptions: yes auth default: username_chars: verbose: yes debug: yes debug_passwords: yes passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf passdb: driver: sql args: /etc/dovecot/dovecot-sql-master.conf pass: yes master: yes userdb: driver: sql args: /etc/dovecot/dovecot-sql.conf 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 group: vmail plugin: quota_warning: storage=95%% /usr/local/bin/quota-warning.sh 95 quota_warning2: storage=80%% /usr/local/bin/quota-warning.sh 80 quota: dict:::proxy::quotadict acl: vfile acl_dict: file:/var/lib/dovecot/shared-mailboxes acl_shared_dict: file:/var/lib/dovecot/shared/mailboxes mail_log_events: delete undelete expunge copy mailbox_delete mail_log_fields: uid box msgid size fts: squat sieve: /usr/local/virtual/%d/%u/.dovecot.sieve mail_log_max_lines_per_sec: 0 autocreate: Trash autocreate2: Junk autocreate3: Sent autocreate4: Drafts autocreate5: Templates autosubscribe: Trash autosubscribe2: Junk autosubscribe3: Sent autosubscribe4: Drafts autosubscribe5: Templates home: /usr/local/virtual/%d/%u dict: quotadict: mysql:/etc/dovecot/dovecot-dict-quota.conf -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria