Temporary disable push notifications while restoring a mailbox
We use "doveamd import" to restore mailboxes from a snapshot.
Since we use push with Dovecot 2.3.13:
mail_plugins = $mail_plugins mail_lua notify push_notification push_notification_lua
plugin { push_notification_driver = lua:file=/etc/dovecot/dovecot-push.lua push_lua_url = http://172.17.0.1/
the import creates a flood of push-notifications.
Therefore the questions: is there a possibility to disable push for "doveadm import" on the command line (not in general)?
Kind regards
Ralf
-- Ralf Becker EGroupware GmbH [www.egroupware.org] Handelsregister HRB Kaiserslautern 3587 Geschäftsführer Birgit und Ralf Becker Leibnizstr. 17, 67663 Kaiserslautern, Germany Telefon +49 631 31657-0
On 31/03/2021 11:00 Ralf Becker <rb@egroupware.org> wrote:
We use "doveamd import" to restore mailboxes from a snapshot.
Since we use push with Dovecot 2.3.13:
mail_plugins = $mail_plugins mail_lua notify push_notification push_notification_lua
plugin { push_notification_driver = lua:file=/etc/dovecot/dovecot-push.lua push_lua_url = http://172.17.0.1/
the import creates a flood of push-notifications.
Therefore the questions: is there a possibility to disable push for "doveadm import" on the command line (not in general)?
Kind regards
Ralf
doveadm -o plugin/push_notification_driver= import might work...
alternatively you can create /etc/dovecot/import.conf and use it with doveadm -c /etc/dovecot/import.conf import
Aki
participants (2)
-
Aki Tuomi
-
Ralf Becker