Add steps to enable local spell checking
Add steps to enable local spell checking, currently it uses spell.roundcube.net, which has been discontinued (due to funding), but as a self hosted service, most people would want spell checking to happen on their own servers not someone else's. I wasn't aware it was doing this until the service got discontinued.
Dieser Commit ist enthalten in:
Ursprung
60a30dd944
Commit
3f6e6f0058
1 geänderte Dateien mit 8 neuen und 0 gelöschten Zeilen
|
@ -9,6 +9,13 @@ mv roundcubemail-1.5-rc rc
|
||||||
chown -R root: rc/
|
chown -R root: rc/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Create a file `data/hooks/phpfpm/aspell.sh` with the following content, then `chmod +x data/hooks/phpfpm/aspell.sh`. This installs a local spell check engine.
|
||||||
|
```
|
||||||
|
#!/bin/bash
|
||||||
|
apk update
|
||||||
|
apk add aspell-en
|
||||||
|
```
|
||||||
|
|
||||||
Create a file `data/web/rc/config/config.inc.php` with the following content.
|
Create a file `data/web/rc/config/config.inc.php` with the following content.
|
||||||
|
|
||||||
**Change the `des_key` parameter to a random value.** It is used to temporarily store your IMAP password. The "db_prefix" is optional but recommended.
|
**Change the `des_key` parameter to a random value.** It is used to temporarily store your IMAP password. The "db_prefix" is optional but recommended.
|
||||||
|
@ -36,6 +43,7 @@ $config['plugins'] = array(
|
||||||
'archive',
|
'archive',
|
||||||
'managesieve'
|
'managesieve'
|
||||||
);
|
);
|
||||||
|
$config['spellcheck_engine'] = 'pspell';
|
||||||
$config['mime_types'] = '/tmp/mime.types';
|
$config['mime_types'] = '/tmp/mime.types';
|
||||||
$config['imap_conn_options'] = array(
|
$config['imap_conn_options'] = array(
|
||||||
'ssl' => array('verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true)
|
'ssl' => array('verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true)
|
||||||
|
|
Laden …
In neuem Issue referenzieren