[BlueOnyx:11088] Re: SUPHP and WP form plugin - malformed header error

Jeff Jones jeffrhysjones at mac.com
Fri Aug 3 05:00:31 -05 2012


I didn't get any help back on this problem but I managed to track the issue down - though still not 100% sure as to the root cause as it seems like a BX smtp weirdness. So for anyone else having the same problem here we go.

Customer had a form when user filled out the form, emails of the form content were sent to the users on the sites domain eg 'john at mysite.com' . However the site users email was not being hosted on the BX site but elsewhere. 

So forms were going to john at mysite.com and BX was erroring out with the malformed header script. In addition a 'dead.letter' file was created on the suPHPs file owner /user/ folder. As mentioned before - when we switched off suPHP - we didn't get the error for some reason.

In the mail logs I could see 'no such user' resolving to localhost and not the external mail server. 

When we changed the email recipient of the form to another domain other than the site one - it worked - no malformed header error.

Now I know what you are all thinking - 'uncheck disable email for site!' - yes this was done. And we have no email aliases either. We're wise to those gotchas now. But BX behaviour is the same, just like we have the disabled check box on, and aliases - like the check box settings aren't working. We have tried clearing, checking, un-clearing to no avail. 

Does anyone know why I'm getting this behaviour  - even when I have the site set up properly? 

This is quite an old BX server that has been yummed quite a bit to take it up to the latest build - so it's possible there is some residue in a config file somewhere. I have looked in /etc/mail/access and there are no lines like:

www.mysite.com           ERROR:5.1.1:550 User unknown

In there. Is that right?

For the moment we are using different domains for email recipients, but if could get it working - that would be great.

Cheers,

Jeff

On 30 Jul 2012, at 11:22, Jeff Jones wrote:

> Hi all,
> 
> We have a Wordpress plugin called 'Formidable' - does anyone here use it? We use the pro version.
> 
> After switching a website using this form to suPHP recently, we notice that the form built on this plugin was error-ring out - even though the emails were still coming through.
> 
> The error (http error-log) is this:
> 
> [Mon Jul 30 10:53:02 2012] [error] [client x.x.x.x] malformed header from script. Bad header=/home/.sites/106/site3/.users/: index.php, referer: http://www.mysite.com
> 
> I noticed that this was something to do with the websites suPHP 'user' web space (/users/) - I took a look in there, and there was a dead.letter file and some other stuff. Seems like WP uses the suPHP users web space. 
> 
> For some reason Formidable (or WP?) is sending headers pointing to the suPHP user space, not the main website.
> 
> When we go back to non suphp using 'apache' as the owner, it works fine.
> 
> As you can see I'm not really sure how WP and suPHP fit together, but I don't think I've seen this mentioned before so I thought I would post it up. I know a lot of people on the group use WP and also a lot use suPHP. 
> 
> I would add that we use suPHP for a lot of sites, and don't have this problem. It's exclusively a plugin problem, and I have no problem with anyone telling me to sort it out with the maker of the plugin. But it would be handy if anyone on the list had any idea of why this was happening - so we could get the plugin vendor to fix it quicker. 
> 
> Cheers,
> 
> Jeff
> 
> 
> 
> 
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20120803/16365c73/attachment.html>


More information about the Blueonyx mailing list