Attachments 0 byte – zpipe: invalid or incomplete deflate data

Issue #1099 resolved
Kevin Lieser created an issue

I have installed piler on a second server. Here I have another issue (newer Debian, installed with apt-get).

When I download an attachment it has 0 byte.
When I download the eml file everything is fine.

After debugging the WeGUI Code it fires

/usr/bin/pilerget 400000005f32d52d0152285c00be2046dc83 1
zpipe: invalid or incomplete deflate data

While

/usr/bin/pilerget 400000005f32d52d0152285c00be2046dc83

Works fine.

Here (Ticket #333) you stated the iv parameter in piler.conf – but my piler.conf at /etc/piler/piler-conf do not have an setting “iv”.

Comments (5)

  1. Janos SUTO repo owner

    Check the $config['DECRYPT_ATTACHMENT_BINARY'] settings. It should refer to pileraget.

    Also check if /usr/bin/pileraget 400000005f32d52d0152285c00be2046dc83 1 works properly.

  2. Kevin Lieser reporter

    Now I see. With

    $ pilerconf
    ...
    iv=
    ...
    

    Is that good or is this bad?
    On the other server all mails are already imported.

    What should I do now?

  3. Kevin Lieser reporter
    /usr/bin/pileraget 400000005f32d52d0152285c00be2046dc83 1
    

    Works and change the setting did the trick.
    But is it good with

    iv=
    

    ?

  4. Janos SUTO repo owner

    Yes, it should work with any iv settings as long as it’s consistent and doesn’t change. Though you don’t have to specify it in piler.conf.

  5. Log in to comment