Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:snappymail [2025/04/15 15:57] – willy | services:snappymail [2025/04/15 16:22] (current) – willy | ||
---|---|---|---|
Line 2: | Line 2: | ||
[[https:// | [[https:// | ||
+ | |||
+ | **Note:** i installed SnappyMail on my // | ||
===== Installation ===== | ===== Installation ===== | ||
Line 7: | Line 9: | ||
Get your release [[https:// | Get your release [[https:// | ||
- | will install under / | + | will install under / |
<code bash> | <code bash> | ||
- | cd /home/web | + | mkdir -p /home/web/snappymail/frontend |
- | mkdir snappymail | + | cd /home/web/snappymail/frontend |
- | cd snappymail | + | |
wget https:// | wget https:// | ||
tar xvf snappymail-2.38.2.tar.gz | tar xvf snappymail-2.38.2.tar.gz | ||
find ./ -type d -exec chmod 755 {} \; | find ./ -type d -exec chmod 755 {} \; | ||
find ./ -type f -exec chmod 644 {} \; | find ./ -type f -exec chmod 644 {} \; | ||
- | chown web: | + | chown -R web: |
</ | </ | ||
+ | |||
+ | ==== Secure the data folder ==== | ||
+ | |||
+ | Move the data folder //outside// the document root can be a good idea. First of all, move it physically: | ||
+ | <code bash> | ||
+ | cd / | ||
+ | mv frontend/ | ||
+ | mv frontend/ | ||
+ | </ | ||
+ | |||
+ | Now edit the file **frontend/ | ||
+ | < | ||
+ | define(' | ||
+ | </ | ||
+ | |||
+ | The trailing "/" | ||
+ | |||
===== Reverse Proxy ===== | ===== Reverse Proxy ===== | ||
Line 28: | Line 46: | ||
index index.php; | index index.php; | ||
- | root / | + | root / |
access_log / | access_log / | ||
Line 73: | Line 91: | ||
You need to setup the domains you want to use in SnappyMail to allow users to login. | You need to setup the domains you want to use in SnappyMail to allow users to login. | ||
+ | ===== Upgrade ===== | ||
+ | |||
+ | To upgrade the installation, | ||
+ | All the additional reconfiguration will be done by the product on next run. | ||
+ | Then when everything works, you may remove any old version that resides in / | ||