Robert Schetterer
2009-Apr-26 15:49 UTC
[Dovecot] dovecot 1.2 plugin virtual and shared namespace with thunderbird
Hi Timo, using latest dovecot 1.2 and latest thunderbird i noticed if using virtual plugin like here with mysql http://wiki.dovecot.org/Plugins/Virtual everthing works like expected until i add a shared namespace Tb then looses its subscriptions under imap to the private namespace only the shared namespace gets shown up , any idea? I dont see something special in the logs why this happens -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
Robert Schetterer
2009-Apr-26 21:40 UTC
[Dovecot] dovecot 1.2 plugin virtual and shared namespace with thunderbird
Robert Schetterer schrieb:> Hi Timo, > using latest dovecot 1.2 and latest thunderbird > i noticed if using virtual plugin > like here with mysql > http://wiki.dovecot.org/Plugins/Virtual > everthing works like expected > until i add a shared namespace > Tb then looses its subscriptions > under imap to the private namespace > only the shared namespace gets shown up , any idea? > I dont see something special in the logs why this happens >by debug, i tried using rawlog, but it doesnt work anymore without logging something , is something known broken with rawlog in the last dovecot 1.2 ?
Timo Sirainen
2009-Apr-29 18:31 UTC
[Dovecot] dovecot 1.2 plugin virtual and shared namespace with thunderbird
On Sun, 2009-04-26 at 17:49 +0200, Robert Schetterer wrote:> using latest dovecot 1.2 and latest thunderbird > i noticed if using virtual plugin > like here with mysql > http://wiki.dovecot.org/Plugins/Virtual > everthing works like expected > until i add a shared namespace > Tb then looses its subscriptions > under imap to the private namespace > only the shared namespace gets shown up , any idea? > I dont see something special in the logs why this happensDoes this happen without virtual plugin? I don't really see a connection between them. Anyway dovecot -n output of the broken configuration would be helpful.. -------------- 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/20090429/e69673a9/attachment-0002.bin>
Robert Schetterer
2009-Apr-29 18:59 UTC
[Dovecot] dovecot 1.2 plugin virtual and shared namespace with thunderbird
Timo Sirainen schrieb:> On Sun, 2009-04-26 at 17:49 +0200, Robert Schetterer wrote: >> using latest dovecot 1.2 and latest thunderbird >> i noticed if using virtual plugin >> like here with mysql >> http://wiki.dovecot.org/Plugins/Virtual >> everthing works like expected >> until i add a shared namespace >> Tb then looses its subscriptions >> under imap to the private namespace >> only the shared namespace gets shown up , any idea? >> I dont see something special in the logs why this happens > > Does this happen without virtual plugin? I don't really see a connection > between them. Anyway dovecot -n output of the broken configuration would > be helpful.. >no ,without virtual setup all works ok i.e normal private namespace and shared namespace it works with private and virtual setup but adding shared namespace then i get loose the private namespace with tb, specially subdirs of INBOX here comes dovecot -n # 1.2.rc3: /etc/dovecot/dovecot.conf # OS: Linux 2.6.24-23-server i686 Ubuntu 8.04.2 ext3 base_dir: /var/run/dovecot/ log_path: /var/log/dovecot info_log_path: /var/log/dovecot.info protocols: imap pop3 managesieve listen(default): 212.52.224.50:143 listen(imap): 212.52.224.50:143 listen(pop3): 212.52.224.50:110 listen(managesieve): 212.52.224.50:2000 ssl: no 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 ... 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(default): maildir:/usr/local/virtual/%d/%u/:CONTROL=/usr/local/virtual/%d/%u/:INDEX=/usr/local/virtual/%d/%u/:INBOX=/usr/local/virtual/%d/%u/ mail_location(imap): maildir:/usr/local/virtual/%d/%u/:CONTROL=/usr/local/virtual/%d/%u/:INDEX=/usr/local/virtual/%d/%u/:INBOX=/usr/local/virtual/%d/%u/ mail_location(pop3): maildir:/usr/local/virtual/%d/%u/:CONTROL=/usr/local/virtual/%d/%u/:INDEX=/usr/local/virtual/%d/%u/:INBOX=/usr/local/virtual/%d/%u/ mail_location(managesieve): maildir:/usr/local/virtual/%d/%u/ mail_debug: 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/rawlog /usr/lib/dovecot/pop3 mail_executable(managesieve): /usr/lib/dovecot/managesieve mail_plugins(default): virtual quota imap_quota imap_acl acl fts fts_squat mail_log autocreate mail_plugins(imap): virtual quota imap_quota imap_acl acl fts fts_squat mail_log autocreate mail_plugins(pop3): virtual quota mail_log fts fts_squat 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/modules/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: private separator: / location: maildir:/usr/local/virtual/%d/%u/:CONTROL=/usr/local/virtual/%d/%u/:INDEX=/usr/local/virtual/%d/%u/:INBOX=/usr/local/virtual/%d/%u/ hidden: yes list: yes ---- subscriptions: yes ---- changing or not have this has no effect namespace: type: private separator: / prefix: virtual/ location: virtual:/etc/dovecot/virtual:LAYOUT=maildir++ hidden: yes list: no namespace: type: private separator: / prefix: RealMails/ location: maildir:/usr/local/virtual/%d/%u/:CONTROL=/usr/local/virtual/%d/%u/:INDEX=/usr/local/virtual/%d/%u/:INBOX=/usr/local/virtual/%d/%u/ hidden: yes list: no ---- subscriptions: yes ---- changing or not have this has no effect namespace: type: shared separator: / prefix: shared/%%d/%%u/ location: maildir:/usr/local/virtual/%d/%%u/:INDEX=~/shared/%%d/%%u/ list: children 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_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
Robert Schetterer
2009-May-02 18:50 UTC
[Dovecot] dovecot 1.2 plugin virtual and shared namespace with thunderbird dump backtrace
Robert Schetterer schrieb:> Timo Sirainen schrieb: >> On Wed, 2009-04-29 at 23:07 +0200, Robert Schetterer wrote: >>> dovecot: Apr 29 23:04:26 Panic: IMAP(robert at schetterer.com): file >>> shared-storage.c: line 196 (shared_storage_get_namespace): assertion >>> failed: (username != NULL) >> Fixed: http://hg.dovecot.org/dovecot-1.2/rev/4fd7b98bcff9 >> > Hi Tino > ups , i will test and report > RegardsHi Timo, this is fixed but the shared namespace problem with virtual plugin and tb stays ( after all i have not tested it yet with telnet imap logins ), i also have no rawlog yet ( and no verbose logging why there is no rawlog anymore ) i will do more testing now and report Regards
Possibly Parallel Threads
- v1.2Autocreate
- dovecot 1.2 shared namespace/mailboxes %%u expands only to %
- Panic: file maildir-uidlist.c: line 1242 (maildir_uidlist_records_drop_expunges): assertion failed
- pop3+leave messages on server
- Sometimes Dovecot v1.0.3 does not accept new connections