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?
Using 2.3.13 here.
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | https://www.charite.de
On 16. Feb 2021, at 12.12, Ralf Hildebrandt Ralf.Hildebrandt@charite.de 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
participants (2)
-
Ralf Hildebrandt
-
Timo Sirainen