# Store METADATA information in a file dovecot-metadata in user's home
mail_attribute_dict = file:%h/dovecot-metadata

# enable metadata
protocol imap {
  imap_metadata = yes
}

# add necessary plugins for Lua push notifications
mail_plugins = $mail_plugins mail_lua notify push_notification push_notification_lua

# Lua notification script and URL of EGroupware push server
plugin {
  push_notification_driver = lua:file=/etc/dovecot/dovecot-push.lua
  #push_lua_url = https://Bearer:<push-token>@<egroupware-domain>/egroupware/push
  push_lua_url = http://Bearer:bK0TZ1wUYQRaAW2U@push:9501/
}