Hello
@Masimo,
There's an internal case open (FB-185645) regarding this topic. I'll update this thread with any updates on this case, but in the meantime, could you try making a change to the
/usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php file and let us know if it addresses the issue? You'd change the following entry:
Code:
// SMTP HELO host
// Hostname to give to the remote server for SMTP 'HELO' or 'EHLO' messages
// Leave this blank and you will get the server variable 'server_name' or
// localhost if that isn't defined.
$config['smtp_helo_host'] = '';
To:
Code:
// SMTP HELO host
// Hostname to give to the remote server for SMTP 'HELO' or 'EHLO' messages
// Leave this blank and you will get the server variable 'server_name' or
// localhost if that isn't defined.
$config['smtp_helo_host'] = 'localhost';
If this helps, you'd want to setup a post cPanel update hook to ensure the value is not overwritten using the commands below:
Code:
mkdir -p /root/custom/
touch /root/custom/postupcp.sh
chmod 0755 /root/custom/postupcp.sh
vi /root/custom/postupcp.sh
When editing this file, add a line such as this:
Code:
replace "$config['smtp_helo_host'] = '';" "$config['smtp_helo_host'] = 'localhost';" -- /usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php
Then, to have this script execute automatically after each cPanel update, run this command:
Code:
/usr/local/cpanel/bin/manage_hooks add script /root/custom/postupcp.sh --manual --category System --event upcp --stage post
This will ensure the custom value is preserved through cPanel updates. Once a resolution is published to fix this issue, you'd use the following commands to remove this hook:
Code:
rm /root/custom/postupcp.sh
/usr/local/cpanel/bin/manage_hooks delete script /root/custom/postupcp.sh --manual --category System --event upcp --stage post
Thank you.