Enabling Spell Check for Roundcube
Roundcube's spell check feature uses a Google service to spell check messages. This is a major privacy issue for many system administrators.
How do I enable spell check for Roundcube?
/usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php with your preferred text editor.
- Set the
$rcmail_config['enable_spellcheck'] option (line
- Save the change to the
main.inc.php configuration file.
- Run the
/usr/local/cpanel/scripts/makecpphp script. This script will rebuild cPanel's internal PHP with an OpenSSL module.
If you attempt to enable spelling checking with a third-party spell checking service without completing step 4, you will see the following error in
[21-Jul-2011 09:30:58] PHP Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to ssl://www.google.com:443 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /usr/local/cpanel/base/3rdparty/roundcube/program/steps/utils/spell_googie.inc on line 48
If spell check does not seem to function properly, make sure that both OpenSSL and socket modules are enabled for PHP
. This is because the spell checking plugin attempts to communicate with Google over SSL. If OpenSSL and socket modules are not enabled for PHP
, you will see an entry in
that resembles the following:
PHP Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://www.google.com:443
(Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in <your_path>/program/steps/mail/spell.inc on line 34
If you are using TinyMCE, you must enable the Curl module for PHP
. If you attempt to use the TinyMCE HTML
editor without enabling Curl for PHP
, you will receive the following error:
Could not execute AJAX call, server didn't return valid a XML.
Topic revision: r6 - 02 Aug 2011 - 14:47:40 - Main.JustinSchaefer
AllDocumentation/WHMDocs.RoundcubeSpellCheck moved from Sandbox.RoundcubeSpellCheck on 02 Aug 2011 - 14:47 by Main.JustinSchaefer
- put it back