lazy_expunge and public folder
Arne Hoffmann
arne at fish.in-berlin.de
Fri Aug 26 12:25:32 UTC 2016
Hi all,
I stumbled upon the lazy_expunge plugin and thought that it might be useful in
some cases. It works fine if I delete mails from my inbox. But it doesn't do
anything if I deleted mails from a public folder (and for the server I am
currently working on the public folder is _the_ _main_ _feature_).
Does lazy_expunge not work with public folders? Or am I using it wrong?
root at imap01 [~]# doveconf -n
# 2.2.24 (a82c823): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.13 (7b14904)
# OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.5 ext4
auth_debug = yes
auth_debug_passwords = yes
debug_log_path = /var/log/mail.debug
disable_plaintext_auth = no
doveadm_password = # hidden, use -P to show it
doveadm_port = 22001
mail_debug = yes
mail_location = maildir:/var/mail/vmail/%d/%n/Maildir:INBOX=/var/mail/vmail/%d/%n/Maildir
mail_plugins = " listescape lazy_expunge notify replication"
mail_privileged_group = vmail
namespace {
location = maildir:/var/mail/vmail/Öffentliche Ordner:INDEXPVT=~/Maildir/Öffentliche Ordner
mailbox "Gelöschte Elemente" {
auto = subscribe
special_use = \Trash
}
mailbox MirrorServer-Projekt {
auto = subscribe
}
prefix = Öffentliche Ordner/
separator = /
subscriptions = no
type = public
}
namespace {
hidden = yes
list = no
location = maildir:~/Maildir/expunged
prefix = .EXPUNGED/
separator = /
}
namespace inbox {
inbox = yes
location =
prefix =
separator = /
type = private
}
passdb {
args = /etc/dovecot/mysql.conf
driver = sql
}
plugin {
lazy_expunge = .EXPUNGED/
mail_replica = tcps:imap02.example.com
}
protocols = imap
service aggregator {
fifo_listener replication-notify-fifo {
user = vmail
}
unix_listener replication-notify {
user = vmail
}
}
service doveadm {
inet_listener {
port = 22001
ssl = yes
}
}
service replicator {
process_min_avail = 1
unix_listener replicator-doveadm {
group = vmail
mode = 0660
}
}
ssl = required
ssl_ca = </etc/ssl/os/cert-sub-ca1-and-root-ca.pem
ssl_cert = </etc/ssl/os/cert-imap01-example.com.pem
ssl_client_ca_file = /etc/ssl/os/cert-all.pem
ssl_client_cert = </etc/ssl/os/cert-imap01-example.com.pem
ssl_client_key = </etc/ssl/os/key-imap01-example.com.pem
ssl_key = </etc/ssl/os/key-imap01-example.com.pem
ssl_require_crl = no
userdb {
args = /etc/dovecot/mysql.conf
driver = sql
}
root at imap01 [~]#
More information about the dovecot
mailing list