On 16. Feb 2021, at 12.12, Ralf Hildebrandt wrote:
>
> I'm using
>
> % doveadm import -u restore@backup.invalid mdbox:/home/archive/mdbox ""
> mailbox INBOX header From $PATTERN
>
> sometimes, I mistype the pattern and immediately try to stop the
> doveadm command with CTRL-C - and this never succeeds.
>
> Is it inentional that I cannot interrupt the "doveadm import" command?
This has been in TODO for years, but we've never gotten around to implementing
it. Not specifically doveadm import, but anything that is processing multiple
mails should be able to stop on a signal (mailbox_search_next() would return
error).
For now you can use ctrl-z and kill -9 %1