Skip to content

Instantly share code, notes, and snippets.

@ebertek
Created May 27, 2016 10:30
Show Gist options
  • Save ebertek/26d74e23cefdd2c58074e34e0219f750 to your computer and use it in GitHub Desktop.
Save ebertek/26d74e23cefdd2c58074e34e0219f750 to your computer and use it in GitHub Desktop.
Setting up the Lazy Expunge plugin for Dovecot v2.2 on a Mac running OS X v10.11 El Capitan + Server.app v5
# Setting up the Lazy Expunge plugin for Dovecot v2.2 on a Mac running OS X v10.11 El Capitan + Server.app v5
# Append the following to /Library/Server/Mail/Config/dovecot/dovecot.conf
namespace {
hidden = yes
list = no
location = maildir:/Library/Server/Mail/Data/mail/users/%u/expunged
prefix = .EXPUNGED/
}
mail_plugins = $mail_plugins lazy_expunge
protocol imap {
mail_plugins = $mail_plugins lazy_expunge
}
plugin {
lazy_expunge = .EXPUNGED/
lazy_expunge_only_last_instance = yes
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment