Some times while accessing the Webmail we may encounter errors like :
Horde Failed to connect to localhost:25
In that case we can change the SMTP port from 25 to 26.
In-order to change the SMTP port follow the below steps :
For Horde :
root@server[#] cd /usr/local/cpanel/base/horde/imp/config
root@server[#] vi conf.php
Search for the line
‘smtphost’ => ‘localhost’,
‘smtpport’ => 25,
and change it to
‘smtphost’ => ‘localhost’,
‘smtpport’ => 26,
For Squirelmail
root@server[#] cd /usr/local/cpanel/base/3rdparty/squirrelmail/config
root@server[#] vi config.php
Search for the lines
$smtpServerAddress = ‘localhost’;
$smtpPort = 25;
and change it to
$smtpServerAddress = ‘localhost’;
$smtpPort = 26;
For Roundcube
root@server[#] cd /usr/local/cpanel/base/3rdparty/roundcube/config
root@server[#] vi main.inc.php
Search for the line :
$rcmail_config['smtp_port'] = 25;
and change it to
$rcmail_config['smtp_port'] = 26;
That’s all you are done.
