• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved SSLIt renewal notifications (email) sometimes have trailing cryptic characters

Bitpalast

Plesk addicted!
Plesk Guru
Username:

TITLE

SSLIt renewal notifications (email) sometimes have trailing cryptic characters

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

18.0.48
CentOS 7.9

PROBLEM DESCRIPTION

At the bottom of the SSLit/Let's Encrypt SSL certificate renewal notifications there are sometimes, not always, trailing cryptic characters. They are part of the HTML block of the mail:

Example how it looks in the mails

Example how this is represented in the source code of the mail

I think this is more likely to happen when the same mail lists more than one certificate that cannot be renewed.

STEPS TO REPRODUCE

It happens occasionally, so unable to reproduce here.
Receive SSL renewal notifications.

ACTUAL RESULT

Sometimes, not always, cryptic characters appear at the end of the html source code of the mail.

Example how it looks in the mails

Example how this is represented in the source code of the mail

EXPECTED RESULT

No cryptic characters at the end of the mail.

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Peter, could you please check if any custom templates are located in:
Code:
# ls -l /usr/local/psa/admin/conf/email_notification*
the file can be grepped in order to find non-ascii chars
Code:
# grep --color='auto' -P -n "[\x80-\xFF]" /usr/local/psa/admin/conf/email_notification_template.html.sample

#grep --color='auto' -P -n "[^\x00-\x7F]"  /usr/local/psa/admin/conf/email_notification_template.html.sample
 
[root@...]# ls -l /usr/local/psa/admin/conf/email_notification*
-rw-r--r-- 1 root root 8529 Oct 4 2021 /usr/local/psa/admin/conf/email_notification_template.html
-rw-r--r-- 1 root root 10370 Nov 3 10:10 /usr/local/psa/admin/conf/email_notification_template.html.sample

[root@...]# grep --color='auto' -P -n "[\x80-\xFF]" /usr/local/psa/admin/conf/email_notification_template.html
217: Sitz der Gesellschaft: Berlin. Eingetragen: Amtsgericht ..., HRB .... Geschäftsführer: Max Muster M.A. USt-ID: DE123456789.<br>

(Only the two chars marked; but these are regular umlauts.)

Tail of template:
Code:
                    </td>
                </tr>
                <tr>
                    <td height="40" style="height:40px; font-size: 0;">&nbsp;</td>
                </tr>
            </table>
            <!--[if (gte mso 9)|(IE)]>
            </td>
            </tr>
            </table>
            <![endif]-->
        </td>
    </tr>
</table>
</body>
</html>
 
What about the other command:
Code:
# grep --color='auto' -P -n "[^\x00-\x7F]"  /usr/local/psa/admin/conf/email_notification_template.html
 
The same with only one difference: The output starts with
1:<!DOCTYPE html>
The other line output is the same.
 
Looks like the issue isn't related to SSLIt extension because these characters appear after the end of email template layout.

What email client do you use? Is there something that can modify emails like anti-spam or antivirus checker? Maybe something spoils email message after sending?

Could you export that email as eml? It would be nice to create a ticket with these details.
 
Two control characters &#127 and &#17 (invisible characters) were found in the template file. Recommendation: recreate the template again in a new document, and do not use copy-paste for the first line .
 
Back
Top