Email messages are not signed with DKIM if they are sent not via SMTP: DKIM Feed: Syntax error

Follow

Comments

20 comments

  • Avatar
    Daniel (Edited )

    It looks like the SMTP.php file is working pretty nice.

    This heavy bug is still not fixed and can cause a lot of trouble if using your own mailserver,

     

    Just one bug in the SMTP.php file i found, you forget to add the subject into the fputs.

    Fix:

    adding after: fputs($smtp_conn,"DATA\r\n");

    This lines:

    fputs($smtp_conn,"Subject: $YOURSUBJECT\r\n");
    $data = get_data($smtp_conn);

    0
    Comment actions Permalink
  • Avatar
    Pavel Rozental

    Hello Daniel,

    Thank you for your notice. SMTP.php has been updated with Subject line.

    0
    Comment actions Permalink
  • Avatar
    George Klissiaris (Edited )

    The same happens with emails that are being sent from the server when auto-reply is enabled in an email account. The email is being sent but not signed with DKIM. I just test it with Plesk Onyx Version 17.8.11 Update #38 on CentOS 6.10.

    Do you think it is the same issue or should i post it on a new thread?

    0
    Comment actions Permalink
  • Avatar
    Artyom Baranov

    @George Klissiaris,

    Hello! Seems like a different issue. Please check /var/log/maillog and use errors from there to find an appropriate article.

    If no solution is found, you may contact support according to the article: https://support.plesk.com/hc/en-us/articles/213608509

    0
    Comment actions Permalink
  • Avatar
    Lars Doe

    This bug is from 2017. When will it finally be fixed?

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello @Lars,

    Currently, there is no ETA for this issue.

    After fix being released this article will be updated.

    Also, the information will be available at Plesk change log.

    0
    Comment actions Permalink
  • Avatar
    Daniel (Edited )

    @Ivan 

    This is a huge bug, i mentioned a few times at the forum already and talked with developers on your help center months ago.

    It really deserves a LOT more attention.

     

    Your unable to use your own mailserver over PLESK for sending newsletter/order mails or even simple mails.

    Some mailservers block not dkim signed messages or mark them as spam. For sure you wont have success like that if you dont implement a workaround.

    0
    Comment actions Permalink
  • Avatar
    Koert Van Malderen (Edited )

    Then just tell us: why so long? It's such a basic feature with big consequences.

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello @Daniel and @Koert!

    Thank you both for the feedback. Indeed the functionality is useful and vital for you.

    Currently, the Development Team is concentrated on other functionality improvements and bugs. However, this issue is not abandoned and will be resolved, for now without the exact ETA. 

    0
    Comment actions Permalink
  • Avatar
    Nucleus

    any updates on this ? 

    0
    Comment actions Permalink
  • Avatar
    Anzhelika Khapaknysh

    @tech,

    We still have no ETA about the update.
    Follow the article to be notified once it's updated.

    0
    Comment actions Permalink
  • Avatar
    Max Bauer

    I can not understand why this bug has not been fixed until today.
    We have over 5 servers with PLESK in operation and sendmail is an essential function for us and our customers.

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Max Bauer

    According to Sendmail in particular, such emails are signed by DKIM since Plesk 18.0.22.

    0
    Comment actions Permalink
  • Avatar
    Max Bauer

    Hella Ivan Postnikow

    Many thanks. We have upgraded to 18.0.27. Now sendmail DKIM seems to be working too.

    0
    Comment actions Permalink
  • Avatar
    Peter Ilias

    What about for Postfix if you are not using Sendmail for the MTA?  Seems not to be signing email.  We have installed 18.0.28. 

    0
    Comment actions Permalink
  • Avatar
    Anton Maslov

    Hello Peter Ilias the issue occurs if you have Postfix mail server running and mail() PHP function to send mail. 

    0
    Comment actions Permalink
  • Avatar
    Kathy Sechrist

    Just realized I have this problem - using postfix and mail()

    The SMTP.php script above along with links to 2 different articles detailing how to use a script with PEAR is a bit confusing. Is there a better description somewhere about how to use this? I have a VERY long and complex mail script that generates 2 different emails - one comes to us so I don't care how it's sent, but the other email goes to customers and those are now landing in the spam folder since I moved this domain onto my Plesk server.

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Kathy Sechrist

    These instructions are everything we have available as this task is generally to be done by the website developer.

    In case you have issues with the script, I suggest creating a topic at StackOverflow. Due to its huge community, there're high chances that you'll be provided with correct hints.

    0
    Comment actions Permalink
  • Avatar
    b_p

    Dear Ivan Postnikov I can confirm this bug still happens when sending mails from the command line, which sometimes cannot be avoided. The duration it takes to fix such bugs is clearly something which needs to be improved - or otherwise make part of your software open source so that we developers can do it ourselves (or rely more on open source components, e.g. for DKIM signing).

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    b_p 

    Indeed, this bug isn't fixed yet.

    Thank you for the feedback, it will be delivered. RnD is resolving bugs in accordance with their impact and reoccurrence among the customers.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request