Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Those who run proxied mod_perl and GT V3 products on cPanel servers

Quote Reply
Those who run proxied mod_perl and GT V3 products on cPanel servers
It has been an experience in the past with Glinks 3 and now even with the recently purchased GMail 3.x running on cPanel servers. use of sendmail wrapper (cpanel has EXIM as MTA) would give following error:

sendmail: sendmail cannot be called directly from a shell with the current user id
sendmail: sendmail cannot be called directly from a shell with the current user id
[notice] child pid 12180 exit signal Broken pipe (13)

[notice] is crashed httpd-perl so one would see proxy error.

Now to get over this there's one setting which has to be disabled on cPanel servers:
"Track email origin through X-Source email headers"

On disabling this everything works fine.
Once you enable that the above would reappear reproducibly.

This is a temporary solution till there's some fix on this from GT

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================
Quote Reply
Re: [HyperTherm] Those who run proxied mod_perl and GT V3 products on cPanel servers In reply to
To elaborate on above further:

Server A:
=========
GMail 2.2.x
cPanel /WHM : WHM 11.23.2 cPanel 11.23.6-R26881
Track the origin of messages sent though the mail server by adding the X-Source headers (exim 4.34+ required) : Enabled
httpd (2.2x)+ httpd-perl (1.3.x/mod_perl 1.29)
Exim-4.69

Sending Mail works fine

Server B
========
Gmail 3.x
cPanel/WHM: WHM 11.23.2 cPanel 11.23.6-R26881
Track the origin of messages sent though the mail server by adding the X-Source headers (exim 4.34+ required) : Disabled
httpd (1.3.x)+httpd-perl(1.3.x/mod_perl1.30)
Exim-4.69

Sending Mail works fine

If Disabled is switched to Enabled (as on Server A) then the situation as reported in previous post occurs. Server B scenario we tested on 2 servers and it's reproducible. Unfortunately cPanel/WHM wouldn't change anything to make GMail3.x workable with that setting on.

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================

Last edited by:

HyperTherm: Aug 31, 2008, 6:49 AM
Quote Reply
Re: [HyperTherm] Those who run proxied mod_perl and GT V3 products on cPanel servers In reply to
Is there anything that can be done on the software (gmail) side of things? It sounds like a server issue that we wouldn't be able to work around.

Adrian
Quote Reply
Re: [brewt] Those who run proxied mod_perl and GT V3 products on cPanel servers In reply to
As stated above, GM2.2x works and 3.x doesn't on identical server setup.
That's tried on "N" number of cPanel servers with identical OS/Identical Perl version.
You had checked long back on Glinks 3.

We have one server with Gmail (2.2) and Glinks (3.x) installed.
Glinks 3 on same server doesn't work whereas
GM 2.2x on same server has no issues wrt sendmail

If it was server issue both would have failed identically for sure.

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================

Last edited by:

HyperTherm: Aug 31, 2008, 7:08 PM
Quote Reply
Re: [HyperTherm] Those who run proxied mod_perl and GT V3 products on cPanel servers In reply to
Without knowing the specific cause of the issue, there's not much we can do. Did we come up with anything when we previously discussed this problem with glinks?

Adrian
Quote Reply
Re: [brewt] Those who run proxied mod_perl and GT V3 products on cPanel servers In reply to
No nothing specific as you noted that time that "thing is not clear why this is happening under mod_perl so use SMTP Auth". We abandoned all mailing operations through Glinks as we never wanted to use SMTP Auth for some reasons.

Normally all cPanel servers have nothing very specific wrt server setup as it's a plain dumb installer which does destructive integration with the OS and as i said earlier, GMail 2.2x works all fine. By destructive integration i mean if you want to move away from cPanel, it's a OS reload.

That said, we can live with this setting off as this server is setup just for single client.

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================