Updated to 1.3.10 - security_header problem

Issue #1138 closed
T. Matyas created an issue

Since we updated from 1.3.7 to 1.3.10 all emails are discarded:
”piler[9954]: 6/VNL1MBRX0JCMEXD9: discarding: missing security header”
piler.conf has “security_header=”
At rc.piler start we get:
”piler[6885]: unknown key: "security_header"“

Strange! What is happening? Thank you for the help. We reverted to 1.3.9, seems ok…

Comments (5)

  1. Janos SUTO repo owner

    I’m confused. It seems that piler doesn’t know the security_header config parameter (unknown key), and at the same time it discards an email based on the security header value. I think something went south during the upgrade.

    Please create a clean install (not upgrade) on a new host (even in docker or a virtual machine), and verify that piler doesn’t discard anything based on the security_header value. I couldn’t reproduce this issue and not even the other ‘not in mydomains’ problem either.

  2. T. Matyas reporter

    Just found the root of the problems:

    On our 64 bit multilib gentoo we have /usr/local/lib and /usr/local/lib64. The interesting thing is, that the “very old” 1.3.7 libs were installed under /usr/local/lib64

    Two weeks ago we compiled the version 1.3.10 and haven’t noticed that the new libs were installed (make install) onto /usr/local/lib. BUT(!) verified with ldd that the new binaries are linked against /usr/local/lib64/libpiler.so → the library of 1.3.7!

    That was the problem with 1.3.8, 1.3.9, 1.3.10….
    Possibly a gentoo specific issue, few months ago there was a symlinked lib profile update https://wiki.gentoo.org/wiki/Project:AMD64/Multilib_layout

    Because on that server the only one sw on the /usr/local/ level is mailpiler, lib is a symlink now to lib64 → fixed. 1.3.10 is working nice now.

    Anyway, we “lose” the emails that two weeks, so fired up pilerimport:
    for some emails we got:

    processing: /PILERIMPORT/FAILED/1611493445.M590087P19746.mail,S=16358,W=16627:2,S
    failed to import: /PILERIMPORT/FAILED/1611493445.M590087P19746.mail,S=16358,W=16627:2,S (id: 500000006011bd0a2c8ba9e40013e79c6c9b)
    ERROR: error importing: '/PILERIMPORT/FAILED/1611493445.M590087P19746.mail,S=16358,W=16627:2,S'

    Typically emails with winmail.dat and gpg encoded contents. tnef is installed.
    May I send you some of the emails to analyze what the problem could be?

    Thank you Janos!

  3. Janos SUTO repo owner

    Yes, please. Assuming you wouldn’t attached them to this Bitbucket issue, then you may use some file sharing method, and send me the link to my address, see piler -V for that. I assume, the other issue has been solved as well.

  4. Log in to comment