Temporary disable push notifications while restoring a mailbox

Aki Tuomi aki.tuomi at open-xchange.com
Wed Mar 31 13:36:05 EEST 2021


> On 31/03/2021 11:00 Ralf Becker <rb at 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


More information about the dovecot mailing list