[Dovecot] autocreate plugin fails to subscribe mailbox in public namespace
Stefan Förster
cite+dovecot-users at incertum.net
Sun Aug 9 16:22:04 EEST 2009
Hi,
I'm one step away from replacing a 7 years old qmail/uw-imapd setup
with some state of the art soft- and hardware. We got migration
scripts and test almost done - just one thing that keeps failing:
The autocreate plugin is supposed to subscribe new users to different
mailboxes, one of them being in namespace "Public." - this
subscription to "Public.announcements" fails.
Below is a dovecot -n - and no, there are no error messages in the
logs.
# 1.2.2: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.30-bpo.1-amd64 x86_64 Debian 5.0.2
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps managesieve
listen(default): *:143
listen(imap): *:143
listen(managesieve): *
ssl_listen(default): *:993
ssl_listen(imap): *:993
ssl_listen(managesieve):
ssl_cert_file: /etc/ssl/owncerts/snakeoil.crt
ssl_key_file: /etc/ssl/private/snakeoil.key
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
verbose_proctitle: yes
mail_privileged_group: vmail
mail_location: maildir:~/Maildir
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_process_size: 384
mail_plugins(default): quota imap_quota fts fts_squat acl autocreate expire trash
mail_plugins(imap): quota imap_quota fts fts_squat acl autocreate expire trash
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
namespace:
type: private
separator: .
inbox: yes
list: yes
subscriptions: yes
namespace:
type: public
separator: .
prefix: Public.
location: maildir:/export/vmailboxes/public:INDEX=~/Maildir/public
list: yes
lda:
postmaster_address: postmaster at test.cite.lan
hostname: testvm06.test.cite.lan
mail_plugins: quota sieve expire trash
auth_socket_path: /var/run/dovecot/auth-master
auth default:
mechanisms: plain login cram-md5
passdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
userdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
socket:
type: listen
client:
path: /var/spool/postfix/private/auth
mode: 432
user: postfix
group: sasl
master:
path: /var/run/dovecot/auth-master
mode: 384
user: vmail
group: vmail
plugin:
quota: maildir:User quota
quota_warning: storage=90%% /usr/local/bin/quota-warning.sh 90
quota_warning2: storage=95%% /usr/local/bin/quota-warning.sh 95
sieve: ~/.dovecot.sieve
sieve_storage: ~/sieve
sieve_extensions: +imapflags
fts: squat
fts_squat: partial=4 full=10
acl: vfile
autocreate: Trash
autocreate2: Drafts
autocreate3: Sent
autocreate4: learn-spam
autosubscribe: Trash
autosubscribe2: Drafts
autosubscribe3: Sent
autosubscribe4: learn-spam
autosubscribe5: Public.announcements
autosubscribe6: INBOX
expire: Trash 60 Trash/* 60
expire_dict: proxy::expire
trash: /etc/dovecot/dovecot-trash.conf
dict:
expire: pgsql:/etc/dovecot/dovecot-dict-expire.conf
Any hints are really appreciated.
Cheers
Stefan
BTW: If anybody is interested, I could provide load and usage
statistics of our old and new software once step 1 of our migration
(new hardware is step 2) is done. Only ~1000 users, but still...
More information about the dovecot
mailing list