Full Version: Customer Portal Notification message goes out Empty
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Really off behavior and I've tested it a few different ways with a few different SMTP servers including sending it thought my Exchange server that uses AVG CloudCare services smart host for delivery. (CoreBOS 7)

All the results are the same. The message arrives with no subject and no message body. Only the message header information arrives:

Received: by with SMTP id m11csp116867wmc;
        Fri, 10 Mar 2017 07:28:53 -0800 (PST)
X-Received: by with SMTP id q2mr21321917qta.130.1489159733506;
        Fri, 10 Mar 2017 07:28:53 -0800 (PST)
Return-Path: <>
Received: from ( [])
        by with ESMTPS id 39si8310486qkv.128.2017.
        for <>
        (version=TLS1 cipher=AES128-SHA bits=128/128);
        Fri, 10 Mar 2017 07:28:53 -0800 (PST)
Received-SPF: fail ( domain of does not designate as permitted sender) client-ip=;
       spf=fail ( domain of does not designate as permitted sender)
Received: from ( [])
by (8.13.8/8.13.8) with ESMTP id v2AFSq2B027255
for <>; Fri, 10 Mar 2017 10:28:52 -0500
Date: Fri, 10 Mar 2017 15:28:52 +0000
From: Mark Weaver <>
Message-ID: <>
X-Mailer: PHPMailer 5.2.19 (
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8

When I first noticed the behavior I thought perhaps there was something wrong on the new LAMP server because I've been working on things. But, when I tried other SMTP servers including my Exchange server as Outgoing server, the results are the same. I checked the workflow task and everything appears to be in order. The template is displayed and all the fields have the correct data in them.

Another mystery.
fail ( domain of does not designate as permitted sender)

does that have anything to do with it? Do you have the SPF entry in your domain?
(03-11-2017, 10:26 AM)joebordes Wrote: [ -> ]fail ( domain of does not designate as permitted sender)

does that have anything to do with it? Do you have the SPF entry in your domain?

No... I've seen those header entries in google message headers for as long as I can remember. Essentially what's happening is happening is only a partial message is being constructed and sent. It builds the message up to but not including the subject header and then sends. This one really has me perplexed. I sent you a copy of the message generated by the system. It happens no matter what SMTP service I use as outgoing server.

At the moment I'm looking around to enable logging so I can tail the log directly from CoreBOS and see whats getting logged while this process is happening. The only changes I've made to the system (CoreBOS) is doing to data import the other day, running cbupdater twice after that, and then one git pull and cbupdater since then. Apart from that I haven't changed anything.
I checked my SPF record and I remember now why google is complaining about it. I have the SPF record looking at the URL for my exchange server ( and not my Linux server ( Kind of sloppy and I'm going to have to clean that up.
I've got the logging set to debug and the level is A1, so unless I don't have the level set high enough the log doesn't ever show the message being build, but it is still showing up as a partial message: everything down to where the Subject header would be and it's missing that and the body section.

i've attached the debug log section that showed up as I tailed it during the process of saving the contact record after checking the portal checkbox for the contact to generate a portal notification. Can't attach... file too large... You can view it here:

I've just spent the better part of 2 days going over my Sendmail configuration on Merlin and as far as I can tell everything is configured right. I've got SMTP Authentication working, and for a while TLS but have since turned that off, and still Customer Portal notifications are going out with only part of the message built; that would be everything up to the Subject line and nothing more. The results are the same when using the Gmail SMTP...

At this point I'm really not sure what else to do. Below is a list of the PHP packages I've got installed on here:



Is it possible this is a problem with the version of PHP I'm running, or is there a package missing?

I'm stumped.

I was going over the docs on doku and something got my attention about workflows so I checked them. Of course the one for portal notification wasn't correct or active, so I setup the condition and made it active. Now it's not sending anything. Ugh!