How to enable Aspell spell cheking in Roundcube?

Created:

2016-11-16 12:39:58 UTC

Modified:

2017-08-16 16:33:19 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to enable Aspell spell cheking in Roundcube?

Applicable to:

  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux
  • Plesk Onyx

Question

How to enable Aspell spell checking in Roundcube?

Answer

  1. By default, Roundcube uses a public web service for spell checking email contents. To enable Aspell install spell, dictionary and php-bindings packages:

    # yum install aspell aspell-en php54w-pspell php-pspell
  2. Change Roundcube configuration to use pspell. Edit /usr/share/psa-roundcube/config/defaults.inc.php as below:

    // Set the spell checking engine. Possible values:
    // - 'googie' - the default (also used for connecting to Nox Spell Server, see 'spellcheck_uri' setting)
    // - 'pspell' - requires the PHP Pspell module and aspell installed
    // - 'enchant' - requires the PHP Enchant module
    // - 'atd' - install your own After the Deadline server or check with the people at http://www.afterthedeadline.com before using their API
    // Since Google shut down their public spell checking service, the default settings
    // connect to http://spell.roundcube.net which is a hosted service provided by Roundcube.
    // You can connect to any other googie-compliant service by setting 'spellcheck_uri' accordingly.
    $config['spellcheck_engine'] = 'pspell';

    // These languages can be selected for spell checking.
    // Configure as a PHP style hash array: array('en'=>'English', 'de'=>'Deutsch');
    // Leave empty for default set of available language.
    $config['spellcheck_languages'] = array('en' => 'English');
  3. Restart the Apache web service to apply changes:

    # /etc/init.d/httpd restart
Have more questions? Submit a request
Please sign in to leave a comment.