I am trying to get the new QuotaClone plugin in Dovecot (2.2.18) working. The documentation says the configuration should be like this:
mail_plugins = $mail_plugins quota quota_clone
plugin {
quota_clone_dict = redis:127.0.0.1:6379
}
However, it does not say anything about the configuration file this should be in, so I assumed 20-lmtp.conf and 90-quota.conf are the appropriate locations. The Dovecot example immediately returned the following error "Error: quota_clone_dict: Failed to initialize 'redis:127.0.0.1:6379': dict redis: Unknown parameter: 6379".
After looking at the plugin code and the redis dict code, I changed it to the configuration below. It does not return any error now, but it does not work either (tcpdump shows no packages going to Redis).
90-quota.conf
plugin {
quota = maildir:User quota
quota_clone_dict = redis:host=127.0.0.1:port=6379
}
20-lmtp.conf
protocol lmtp {
postmaster_address = postmaster@company.com
mail_plugins = $mail_plugins quota quota_clone
}
I know the Quota Clone plugin is quite new, but maybe someone got it working already and can share some knowledge with me?