Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Softaculous not sending email on Install



Threaded Mode | Print  

 Softaculous not sending email on Install, No Installation Details received (5 Replies, Read 4406 times)
ramsaye
Group: Member
Post Group: Newbie
Posts: 3
Status:
Regardless of settings in the softaculous control panel or if I use the PHP mailer or SMTP I can't get Softaculous to send email on completion of install or removal of software.
It does install the software and if I install Joomla, for example, Joomla can successfully send email.

I did see the following in /var/log/exim_mainlog when I set the emailer to SMTP :

2014-02-08 06:47:18 SMTP connection from [::1]:50187 (TCP/IP connection count = 1)
2014-02-08 06:47:18 SMTP connection from localhost [::1]:50187 lost
2014-02-08 06:47:53 SMTP connection from [::1]:58776 (TCP/IP connection count = 1)
2014-02-08 06:47:53 SMTP connection from localhost [::1]:58776 lost
IP: --   

Softaculous not sending email on Install
ramsaye
Group: Member
Post Group: Newbie
Posts: 3
Status:
I can execute the following and it works just fine:
#!/usr/local/bin/php
<?php

mail('root@mysystem.com', 'Subject Goes Here', 'message goes here');

?>
IP: --   

Softaculous not sending email on Install
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5652
Status:
Hi,

Please try using the PHP mail setting from Softaculous Admin panel -> Email and check if it works.

If you are using SMTP please check if the login details are correct.

Also please make sure that the following settings are unchecked from Softaculous Admin panel -> Settings :
"Turn off all Emails sent to endusers", "Turn off Remove Installation emails", "Turn off New Installation emails"

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

Softaculous not sending email on Install
ramsaye
Group: Member
Post Group: Newbie
Posts: 3
Status:
No joy.
I've tried both SMTP (with correct settings) and PHP. I posted a little PHP script and it works great. All check-boxes are clear that would prevent Softaculous from sending mail.
I'm at a loss...
PHP: 5.4.24Softaculous 4.4.2CentOS 6.5WHM 11.42.0

IP: --   

Softaculous not sending email on Install
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5652
Status:
Hi,

Can you please open a support ticket with the WHM login details. We will check it asap.
https://www.softaculous.com/support/

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

Softaculous not sending email on Install
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5652
Status:
Hi,

Sir this is a bug with cPanel 11.42.x The cPanel team has opened a internal case id 91021
Here is the workaround suggested by cPanel team :

I recommend that you implement the following workaround while our developers look into this issue:

(). Create or modify the script hook, '/scripts/postupcp', that runs after cpanel updates:
- - - - - - - - - - - - - - - - - - - - - - - - -
vi /scripts/postupcp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Use the following code to update /usr/local/cpanel/3rdparty/php/54/etc/php.ini if it is detected that the path to sendmail is not already explicitly configured. I also added a command to propagate the change to the various applications' php.ini files in case one of them by chance also requires the correct path to sendmail:
- - - - - - - - - - - - - - - - - - - - - - - - -
#!/bin/bash

#
# Add 'sendmail_path' directive with appropriate value if no already set.
# Then, if any change is made, propagate the change to the php.ini files
# used by various applications
#
# This avoids the situation where cpanel php fails to discover the path to
# the sendmail binary
#
grep -q '^sendmail_path' /usr/local/cpanel/3rdparty/php/54/etc/php.ini || (echo 'sendmail_path = "/usr/sbin/sendmail -t -i"' >> /usr/local/cpanel/3rdparty/php/54/etc/php.ini && /usr/local/cpanel/bin/install_php_inis)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

(). Ensure that /scripts/postupcp is executable:
- - - - - - - - - - - - - - - - - - - - - - - - -
chmod +x /scripts/postupcp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

(). Run the script manually to apply the changes immediately:
- - - - - - - - - - - - - - - - - - - - - - - - -
/scripts/postupcp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

To quickly check that the various php.ini files have the "sendmail_path" line properly configured, you can run the following 'find' command:
- - - - - - - - - - - - - - - - - - - - - - - - -
root@xenu [~]# find /usr/local/cpanel/3rdparty/php -type f -name php.ini -print0 |xargs --null grep -H ^sendmail_path
/usr/local/cpanel/3rdparty/php/54/etc/php.ini:sendmail_path = "/usr/sbin/sendmail -t -i"
/usr/local/cpanel/3rdparty/php/54/etc/horde/php.ini:sendmail_path = "/usr/sbin/sendmail -t -i"
/usr/local/cpanel/3rdparty/php/54/etc/phpmyadmin/php.ini:sendmail_path = "/usr/sbin/sendmail -t -i"
/usr/local/cpanel/3rdparty/php/54/etc/phppgadmin/php.ini:sendmail_path = "/usr/sbin/sendmail -t -i"
/usr/local/cpanel/3rdparty/php/54/etc/roundcube/php.ini:sendmail_path = "/usr/sbin/sendmail -t -i"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 3, 2024, 7:46 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.026