Can download eml but download each attachment is zero size file.

Issue #584 resolved
helly he created an issue

my piler system can download eml file. but can't download attrachment file. I check my config file. the "iv" parameter in piler.conf, and the piler.key file is existed.

I use pilerget to dump eml

$ /usr/bin/pilerget 400000005580db4e23baeb540008d7e14552

Return-Path: <xxxxxx>
Delivered-To: xxxxxx
Received: from localhost (unknown [127.0.0.1])
    by xxxxxx (Postfix) with ESMTP id 99B7A141AC9
    for <xxxxxx>; Mon, 10 Aug 2015 17:26:47 +0800 (CST)
X-Virus-Scanned: amavisd-new at xxxxxx
Received: from xxxxxx([127.0.0.1])
    by localhost (xxxxxx [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id X506sx5JvOha for <xxxxxx>;
    Mon, 10 Aug 2015 17:26:47 +0800 (CST)
Received: by xxxxxx (Postfix, from userid 2006)
    id 19268141AC2; Mon, 10 Aug 2015 17:26:47 +0800 (CST)
Received: from xxxxxxx(unknown [192.168.xx.xx])
    by xxxxx (Postfix) with ESMTPA id D2048141AAC;
......
3KyffGqdTgQOX0v9t8AqMfL/jWGaVi1vEPjr+ELpQAc68FvFzz7aRTbRfVXis9/RZ+/C+aVnVbfE
30L7q+107YPS/JJspTxpV799e26wG0LgOD7t+RhWBzrQgV8f/w9d+WoO8EohhQAAAABJRU5ErkJg
gg==

------=_001_NextPart308666562356_=------

but next command is error.

$ /usr/bin/pilerget 400000005580db4e23baeb540008d7e14552 1
zpipe: invalid or incomplete deflate data

bulk download all attrachments zip file is zero zip file too. I use piler-0.1.25

Comments (8)

  1. Janos SUTO repo owner

    Correct me if I'm wrong, but pilerget for complete emails, pileraget for attachments. Also please confirm, that the iv parameter hasn't changed after the installation.

  2. helly he reporter

    iv parameter changed after installation. I don't remember the specific time. but whether before or after archive email are the same result. pilerget can complete emails, but can't pileraget for attachments.

    I tried to rebuild the index with "reindex -a" and completion with no error.

  3. Janos SUTO repo owner

    Eh, you must be pretty desperate if you ran reindex. The piler binaries have nothing to do with sphinx data (except reindex which is a tool to repair the indices). If you need remote help, via teamviewer, then find me on skype (janos.suto) to discuss the details.

  4. helly he reporter

    So thinks for you help.
    I try to install teamviewer just now. but my offices network can't connect to teamviewer server.
    I Understand some c code, can you give me same ideas about pilerget.c code or other.

  5. Log in to comment