Emails are removed from IMAP server when using -D
Issue #593
resolved
Emails are deleted from an IMAP server when using -r (remove after import) and -D (dry run) together, like pilerimport -i someserver -u foo -p bar -P 993 -R -r -D
. When using this command line, the mails aren't imported but deleted from the remote server.
I definitely expect that a argument called "dry run" prevents all destructive operations on a system.
Comments (2)
-
repo owner -
reporter - changed status to resolved
Wow, thanks for this quick patch!
I can confirm that the emails aren't deleted anymore with -D.
- Log in to comment
You are right. Please apply the following (fixed) diff, and recompile: