Deleting emails after pilerimport

Issue #383 resolved
Former user created an issue

Hi,

I would like the ability to delete emails after importing them from a mailbox (either via POP3 or IMAP using pilerimport).

I tried to use the following, however the mails items are not deleted after a successful import

pilerimport -K <imap server> -u <username> -p <password> -r pilerimport -i <imap server> -u <username> -p <password> -r

The server was built using the latest OVA available for download

Can you please confirm if it is possible to delete mail items using pilerimport, if so, how.

Santosh

Comments (7)

  1. Janos SUTO repo owner

    Hello, yes, it's possible to delete an email from the imap or pop3 server after importing. Use the -r command line option.

  2. hard islander

    Hi,

    I tried the -r option (as below), however, this does not seem to be working.

    pilerimport -K <imap server> -u <username> -p <password> -r

    I am pulling emails from an exchange mailbox if this makes any difference.

    Santosh

  3. Janos SUTO repo owner
    • changed status to open

    OK, I setup exchange, and try importing then removing some emails from a pop3 account

  4. Janos SUTO repo owner

    I've tested with the latest stable version (1.1.0) against an exchange 2013 server. And by using the -r option removed the emails after processing in case of both pop3 and imap. Check your piler version, if it's 1.1.0, build 884. I suspect that you deployed 0.1.24. And it's my fault that I delayed the ova announcement, sorry.

  5. hard islander

    Thank you for looking into this and apologies for the late reply.

    I am currently using 0.1.24. I plan to try the latest ova 1.1.0 over the next 24 hrs and will update again.

    Santosh

  6. Log in to comment