Dry run is not all that dry (pilerimport -D wipes imap data)
Hi,
I just got started with Mailpiler, and tried to import some messages using pilerimport, as described at http://www.mailpiler.org/wiki/current:importing-emails
However, the combination '-D -r' is not really a dry run. It actually does not import anything into mailpiler (expected), but it does remove the messages from my IMAP server (unexpected). Luckily I have a decent backup, but this is behaviour is not what users might expect when using the dry run option. (definition of a dry run: "a rehearsal of a performance or procedure before the real one" implies that it is non-destructive and that repeating the exact command without -D will still be possible).
Obligatory install details: fresh install:
root@dms:/usr/local/etc# piler -V piler 1.1.1, build 904, Janos SUTO sj@acts.hu
Build Date: Fri Jul 22 14:43:57 CEST 2016 ldd version: ldd (Debian GLIBC 2.19-18+deb8u4) 2.19 gcc version: gcc version 4.9.2 (Debian 4.9.2-10) Configure command: ./configure --localstatedir=/var --with-database=mysql --enable-starttls --enable-tcpwrappers
Comments (2)
-
repo owner -
repo owner - changed status to resolved
- Log in to comment
You are right, this bug has been fixed in the master branch. I'll plan to release the final 1.2.0, we includes this fix.