[Dovecot] lazy_expunge plugin and folder subscription trouble
Hello,
I wanted to test the lazy expunge plugin together with mdbox. It seems
to me that the folder subscriptions file in the mdbox directory was
overwritten with only a few folder names every time I added or removed
something in the list of subscribed folders, or even if I turned the
imap folder subscription feature off and on. Here is my setup:
# 2.0.16: /opt/local/etc/dovecot/dovecot.conf # OS: SunOS 5.10 sun4v
mail_location = mdbox:~/mdbox mail_plugins = mail_log notify quota lazy_expunge zlib
mdbox_rotate_interval = 1 days
mdbox_rotate_size = 16 M
namespace {
inbox = yes
location =
prefix =
separator = /
type = private
}
namespace {
hidden = yes
list = no
location =
prefix = Mail/
separator = /
subscriptions = yes
type = private
}
namespace {
location =
maildir:/var/mail/public:CONTROL=~/Maildir/public:INDEX=~/Maildir/public
prefix = Public/
separator = /
subscriptions = no
type = public
}
namespace {
location = mdbox:~/mdbox:MAILBOXDIR=expunged
prefix = .EXPUNGED/
separator = /
}
plugin {
autocreate = Trash
autocreate2 = caughtspam
autocreate3 = Sent
autocreate4 = Drafts
autosubscribe = Trash
autosubscribe2 = caughtspam
autosubscribe3 = Sent
autosubscribe4 = Drafts
fts = squat
lazy_expunge = .EXPUNGED/
mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
mail_log_fields = uid box msgid size
quota = fs:Home-Verzeichnis:noenforcing
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
zlib_save = gz
zlib_save_level = 3
}
protocols = imap pop3 lmtp sieve
quota_full_tempfail = yes
sendmail_path = /usr/lib/sendmail
service auth {
client_limit = 11120
}
service imap-login {
process_min_avail = 16
service_count = 0
vsz_limit = 640 M
}
service imap {
process_limit = 4096
vsz_limit = 1 G
}
ssl_cert =
fts fts_squat imap_quota imap_zlib
}
protocol lmtp {
mail_plugins = mail_log notify quota lazy_expunge zlib sieve
}
protocol pop3 {
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
pop3_uidl_format = %08Xv%08Xu
}
-- Hochschulrechenzentrum der | Mail: Juergen.Obermann@hrz.uni-giessen.de Justus-Liebig-Universitaet | WWW: http://www.uni-giessen.de/obermann/ Heinrich-Buff-Ring 44 | Tel: 0641-99-13054 (0641-99-13001) D-35392 Giessen, Germany | Fax: 0641-99-13009
On Wed, 2011-12-07 at 17:12 +0100, Jürgen Obermann wrote:
Hello, I wanted to test the lazy expunge plugin together with mdbox. It seems
to me that the folder subscriptions file in the mdbox directory was
overwritten with only a few folder names every time I added or removed
something in the list of subscribed folders, or even if I turned the
imap folder subscription feature off and on. Here is my setup: .. namespace { location = mdbox:~/mdbox:MAILBOXDIR=expunged prefix = .EXPUNGED/ separator = / }
Right, with this it thinks that it owns the ~/mdbox/subscriptions file, but that is the same path as for the inbox namespace. I think with subscriptions=no it should have worked ok, but if not, use a different subscriptions filename:
location = mdbox:~/mdbox:MAILBOXDIR=expunged:SUBSCRIPTIONS=subscriptions-expunged
participants (2)
-
Jürgen Obermann
-
Timo Sirainen