Unofficial installation script for SnappyMail. Works with the latest version!
Read more about SnappyMail here. This script is not associated with the official SnappyMail Project.
- Zero-Configuration Installation: Automatically detects your installed PHP version and configures the Nginx socket for you.
- Performance Optimized: Configure to run on Nginx and PHP-FPM, consuming minimal resources on your server.
- Enhanced Security: blocking of access to the data folder and disabling hidden files, strict file and folder permission management.
- Lightweight: Includes no unnecessary dependencies, keeping your Debian system as clean as possible.
- PHP 8.x Compatible: Full support for the latest PHP versions and their extensions
- Server running Debian 11/12 (Clean installation recommended).
- Root or sudo access.
- An A DNS record pointing to your server's IP address (e.g., mail.nlimeres.com).
| Operating System | Version | Supported | PHP Version |
|---|---|---|---|
| Debian | 8 | 🔴 | |
| 9 | 🔴 | ||
| 10 | 🔴 | ||
| 11 | ✅ | 8.3 | |
| 12 | ✅ | 8.3 | |
| 13 | ✅ | 8.3 | |
| Rocky Linux | 8 | ✅ | 8.3 |
| 9 | ✅ | 8.3 | |
| AlmaLinux | 8 | ✅ | 8.3 |
| 9 | ✅ | 8.3 |
wget https://raw.githubusercontent.com/nlimeres/snappymail-installer/refs/heads/main/install.sh && chmod +x install.sh && sudo ./install.shSnappyMail does not have a default password for security reasons. Follow these steps after running the script:
- Open your browser and go to the administrative URL: http://your-domain.com/?admin
- When the page loads, the server will generate a unique password.
- Obtain this password by running this command in your terminal:
cat /var/www/snappymail/data/_data_/_default_/admin_password.txt- Log in with the admin username and the password you just saw
- IMPORTANT: Go to the Security tab, change the username, and set a new password. The temporary file will be deleted automatically.
snappymail-installer script tutorial ⇱ link
Copyright (C) 2026, nlimeres, hello@nlimeres.com
- Created by nlimeres
If you find any errors or want to add any improvements, feel free to open an issue or send a pull request.