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:
FingerlessGloves 2021-09-06 14:27:17 +01:00 committet von GitHub
Ursprung 60a30dd944
Commit 3f6e6f0058
Es konnte kein GPG-SchlĂĽssel zu dieser Signatur gefunden werden
GPG-SchlĂĽssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -9,6 +9,13 @@ mv roundcubemail-1.5-rc 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.
**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',
'managesieve'
);
$config['spellcheck_engine'] = 'pspell';
$config['mime_types'] = '/tmp/mime.types';
$config['imap_conn_options'] = array(
'ssl' => array('verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true)