#1 2018-03-02 03:31:48

mwoodward-regal
Member
Registered: 2018-03-02
Posts: 1

XSIBackup emails received as raw html, not formatted.

Hi All
The emails I'm receiving from XSIBackup Pro arrive as raw HTML, not at all formatted, as per below (some text removed).
They go from the ESXi server to a CentOS box running Postfix, then relayed on to Office365, before arriving in my Outlook.
Can anyone suggest where to fix this or where the issue may be ?

---------------------------------------------------------------
XXXXXXXX =?utf-8?Q?=E2=9C=94_XSIBACKUP_no_errors_detected_in_backup_job?= | ESXi Backup Report. More OSS at http://33hops.com/free-open-source-soft … #xsibackup
XXX <#########@#########.com>
XXXXXXXXXXXXX text/html
XXXXXXXXXXXXX 1.0
XXXXX <##########-xsi@#######.com>
XXXXX Fri, 02 Mar 2018 02:33:20 +0000

XXXXXXXXX html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
        XXXXXXXXXXXX type="text/css">
       
        XXXXX
                  XXXXXXXXXX 14px;
                  XXXXXXXXXXXX arial;
                  XXXXXXXXXXXX 400;
          XXXXXX #333333;   
        X   
       
        XXXXXXXXX
          XXXXXXXXXXXXXX 
        X
       
        XXXXXX
          XXXXXXXXXXXXXX
        X

                XXXXXXX
                  XXXXXXXXXXXXXX
                X

                XXXXX
                  XXXXXXXXXXXXXX
                X

                XXXXXX
                  XXXXXXXXXXXXXX
                X
       
                XXXXXX
                  XXXXXXXXXXXXXX
                X
       
                XXXXX
                  XXXXXXXXXXXXXX
                  XXXXXXXXXXXXXXXXXXXXXXXXX
                  XXXXXXXXXXXXXXXX
                X

                XXXXX
                  XXXXXXXXXXXXXX
                  XXXXXXXXXXXXXXXXXXXXXXXXX
                  XXXXXXXXXXXXXXXX
                X
       
                XXXX
                  XXXXXXXXXXXXXX
                  XXXXXXXXXXXXXXXXXXXXXXXXX
                  XXXXXXXXXXXXXXXX
                X   
               
                XXXX
                  XXXXXXXXXXXXXX
                  XXXXXXXXXXXXXXXXXXXXXXXXX
                  XXXXXXXXXXXXXXXX
                X                   
           
        XXXXXXX td{
          XXXXXXXXXXXXXXX
          XXXXXXXXXXXXXXXXXX
          XXXXXXXXXXXXXXXX
          XXXXXXXXXXXXXXXXXXXXX
          XXXXXXXXXXXXX 1px 1px 1px 1px;
          XXXXXXXXXXXXXXXXXXXXXXXX
          XXXXXXXXXXXXXXXXXXXXXXXXX
          XXXXXXXXXXXXXXXXXXXXXXXXX
          XXXXXXXXXXXXXXXXXXXXXXXXXX
          XXXXXXXXX
          XXXXXXXXXXXX
        X
       
        XXXXXXX td.separator{
          XXXXXXXXXXXXX 0px;
        X
       
                XXX
                  XXXXXX left;
                X       
       
        XXX
          XXXXXX right;
        X
                   
        XXXXXXXXXXXXXX border="0">
              XXXX
                XXXX
                XX href="http://33hops.com/"><img src="http://33hops.com/downloads/?f=../images/logo1.gif&NGM0YzQ1NDQtMDAzMS0zODEwLTgwNGUtYjljMDRmNTI0YjMyMTUxOTk1NzkwMgo" /></a>
                XXXXX
                XXX width="70">
                    XXXXXX
                XXXXX
                            XXXX
                                XX href="https://twitter.com/intent/user?screen_name=xsibackup"><img src="http://33hops.com/images/follow_tw.jpg" /></a>
                            XXXXX
                            XXXX
                                XX href="https://www.facebook.com/xsibackup"><img src="http://33hops.com/images/follow_fb.jpg" border="0" /></a>
                            XXXXX
                            XXXX
                                XX href="https://es.linkedin.com/pub/daniel-j-garc%C3%ADa-fidalgo/21/b41/55b"><img src="http://33hops.com/images/follow_ln.jpg" border="0" /></a>
                XXXXX                           
                            XXXX
                                XXXX src="http://33hops.com/images/come-on_1.gif" border="0" />
                XXXXX
              XXXXX
            XXXXXXXX   
            XXX />
            XXXXXX width="700">
                          XXXX
                            XXX colspan="8" align="center">
                                XX href="http://33hops.com/?xsipancar"><img src="http://33hops.com/images/xsibackup_banner2.jpg?NGM0YzQ1NDQtMDAzMS0zODEwLTgwNGUtYjljMDRmNTI0YjMyMTUxOTk1NzkwMgo" /></a>
                            XXXXX
                          XXXXX
                          XXXX
                            XXX colspan="8" height="10" class="error">
                                XXXXXX
                            XXXXX
                         XXXXX
                        XXXXXXXX
                       
            XXXXXX border="0" width="700">
             XXXX
               XXX width="50%">
                   XXX Mar  2 02:31:45 UTC 2018<br />
                  XXXXXXXXXXXXXXXX 10.3.0 AT HOST:<br />

Offline

#2 2018-03-02 17:07:46

admin
Administrator
Registered: 2017-04-21
Posts: 1,366

Re: XSIBackup emails received as raw html, not formatted.

Well, you can easily check that XSIBackup declares content-type (at the SMTP protocol level) and document type (at the application level) correctly. In fact if you relay directly from XSIBackup to any mail server, your e-mail will be properly interpreted. Some e-mail clients like GMail will remove the table borders and padding, ignoring CSS, but that's something totally out of our control.

You are probably loosing the Content-type: text/html declaration somewhere in your relay chain. Check that your postfix is respecting it and parsing it to 365.

I guess some other changes Postfix could be making on the fly to some header could be the cause.

On the other side Microsoft is well known for going "their own way".

Offline

Board footer