Skip to main content

HELO name problem on roundcube

Comments

3 comments

  • cPanelMichael
    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:
    // 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:
    // 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:
    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:
    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:
    /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:
    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.
    0
  • Masimo
    Thank you very much. Your reply helped me to fix this issue.
    0
  • cPanelMichael
    Hello, To update, this is fixed as part of internal case CPANEL-17772 in cPanel version 70: Fixed case CPANEL-17772: Update cpanel-roundcubemail to 1.3.3-2.cp1164. This will ensure Roundcube uses the hostname for the HELO name. Thank you.
    0

Please sign in to leave a comment.