1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Signed mail pkcs7

Discussion in 'Plesk for Linux - 8.x and Older' started by gregnvision, Dec 13, 2007.

  1. gregnvision

    gregnvision Guest


    I found something that i think is a bug in imp

    a customers receive a signed s/mime mail but it is not shown in IMP. We found an error about header and body split.
    So we search about it and find a function in /usr/share/psa-horde/pear/Mail/mimeDecode.php line 388 in the _splitBodyHeader

    Made a change in /usr/share/psa-horde/pear/Mail/mimeDecode.php

    if (preg_match("/^(.*?)\r?\n\r?\n?(.*)/s", $input, $match)) {

    before change // if (preg_match("/^(.*?)\r?\n\r?\n(.*)/s", $input, $match)) {

    So with this change it works fine but i would not this change cause trouble in IMP, so posted in Horde bug tracker but it is not a Horde file.

    Is it a plesk file and does this change sould cause trouble in IMP ?
  2. Monica@

    Monica@ Guest


    It is the file from psa-horde package:
    # rpm -qf /usr/share/psa-horde/pear/Mail/mimeDecode.php

    SWsoft uses their own patched Horde so you should try to contact them through bugreport@swsoft.com.
  3. gregnvision

    gregnvision Guest

    Thanks for the answers