Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:roundcube [2025/02/18 19:31] – willy | services:roundcube [2025/03/06 13:15] (current) – willy | ||
---|---|---|---|
Line 9: | Line 9: | ||
Since i don't want to oberate the external server with containers, i will show you how to install Roundcube on bare metal. It's relatively easy anyway. | Since i don't want to oberate the external server with containers, i will show you how to install Roundcube on bare metal. It's relatively easy anyway. | ||
- | You need PHP and NGINX installed. PHP requires some extensions like PDO and zip, so: | + | You need PHP and NGINX installed. PHP requires some extensions like PDO and zip, also Roundcube requires aspell to be installed for syntax checking, which is controlled by L10N variable in / |
<code bash> | <code bash> | ||
echo app-eselect/ | echo app-eselect/ | ||
echo dev-lang/ | echo dev-lang/ | ||
- | emerge -vp php | + | echo ' |
+ | emerge -vp php aspell | ||
# The following is optional, if you haven' | # The following is optional, if you haven' | ||
# useradd --shell / | # useradd --shell / | ||
Line 35: | Line 35: | ||
Since i want to share PHP between Rouncube and other public services, due to the limited resources of the external server, i will not create a dedicated user, which would require also to run multiple PHP copies. | Since i want to share PHP between Rouncube and other public services, due to the limited resources of the external server, i will not create a dedicated user, which would require also to run multiple PHP copies. | ||
- | The webmail will be installed under **/ | + | The webmail will be installed under **/ |
<code bash> | <code bash> | ||
- | mkdir -p / | + | mkdir / |
- | cd /home/ | + | mkdir /var/log/ |
+ | chown web:web /var/log/roundcube | ||
</ | </ | ||
Line 46: | Line 47: | ||
<code bash> | <code bash> | ||
cd / | cd / | ||
- | mkdir db logs temp | + | mkdir db temp |
- | chown web:web db logs temp | + | chown web:web db temp |
+ | wget https:// | ||
+ | tar xvf roundcubemail-X.Y.Z-complete.tar.gz | ||
+ | ln -s roundcubemail-X.Y.Z-complete.tar.gz roundcubemail | ||
</ | </ | ||
Line 62: | Line 66: | ||
index index.php; | index index.php; | ||
- | root / | + | root / |
access_log / | access_log / | ||
Line 70: | Line 74: | ||
# location ~ / | # location ~ / | ||
# deny all; | # deny all; | ||
- | # alias / | + | # alias / |
# } | # } | ||
Line 101: | Line 105: | ||
Save the settings by copying the produced config file as **/ | Save the settings by copying the produced config file as **/ | ||
- | At this point the installation is complete, | + | Here is an example which works with Stalwart: |
+ | <file - config.inc.php> | ||
+ | $config[' | ||
+ | $config[' | ||
+ | $config[' | ||
+ | $config[' | ||
+ | $config[' | ||
+ | $config[' | ||
+ | $config[' | ||
+ | $config[' | ||
+ | $config[' | ||
+ | $config[' | ||
+ | $config[' | ||
+ | $config[' | ||
+ | $config[' | ||
+ | </ | ||
+ | |||
+ | At this point the installation is complete. | ||
+ | |||
+ | |||
+ | ===== CardDav Plugin ===== | ||
+ | |||
+ | To enable integration with your CardDav addressbook, | ||
+ | |||
+ | Download latest tarball from [[https:// | ||
+ | |||
+ | **Note:** it is critical that you LOGOUT from Roundcube before enabling the plugin, and LOGIN again after. This is because this will create the needed table. If you don't, you will get an internal error. | ||