pilerimport crashes while importing from pop3 server

Issue #692 closed
Ralf Schwarzmaier created an issue

Hi,

pilerimport is crashing while importing from pop3 account.

The most Mails are getting imported without any problem, but some mails are forcing pilerimport down.

I attached the last lines of an strace until it crashes.

Piler: 1.2.0-master BUILD 945 OS: Debian 8.4

If you need more information let me know.

Thanks

Comments (4)

  1. Janos SUTO repo owner

    Can you try downloading the problematic message as an eml file, then try to import it? Eg. pilerimport -e /path/to/1.eml

  2. Ralf Schwarzmaier reporter

    OK, if I do it in two steps it works and I can see 3 Mailobjects with 0 Bytes.

    pilerimport -K Server -u user -p password -r -o #is fetching all the mails in a folder an deleteing them from pop3 account (3 files with 0 Bytes) pilerimport -d . -r # importing ale the files to piler an deleting them. 3 Files left with 0 Bytes and the following error message while importing:

    pop3-tmp-9828-1.txt is too short: 0 bytes error importing: 'pop3-tmp-9828-1.txt'

    So pilerimport crashes at these objects while trying it in one step.

  3. Janos SUTO repo owner

    It seems that there might be a problem with the pop3 communication, however you have removed this message. Next time, please try running ngrep -X port 110 to see what happens on the wire.

  4. Log in to comment