A simple Webmail client that does not require a DB. SquirrelMail was famous, but I used it conveniently with a multi-account Webmail client. I would like to summarize the procedure with the introduction of CentOS8.
SELinux
~~ I can't use it ~~ I can't use it.
Originally, let's enable SELinux. I would like to say, If it stumbles around SELinux, I will skip it because I want to move it first and huh. Noodles cannot be hardened due to lack of so-called skill. That's it. Please eat deliciously. (It's for internal release, but when you open it to the outside, please judge whether it can be adopted or not.)
# dnf install -y epel-release
# dnf install -y https://rpms.remirepo.net/enterprise/remi-release-8.rpm
# dnf install -y dnf-utils
# dnf module install php:remi-7.4
# cp -p /etc/php.ini{,.bak.`date +%Y%m%d`}
# vi /etc/php.ini
# diff /etc/php.ini{,.bak.`date +%Y%m%d`}
694c694
< post_max_size = 10G
---
> post_max_size = 8M
846c846
< upload_max_filesize = 10G
---
> upload_max_filesize = 2M
924d923
< date.timezone = "Asia/Tokyo"
# dnf module install -y httpd
# systemctl enable --now httpd
# firewall-cmd --add-service=http --permanent
# firewall-cmd --reload
# cd /var/www/html
# curl -sL https://repository.rainloop.net/installer.php | php
[RainLoop Webmail Installer]
* Connecting to repository ...
* Downloading package ...
* Complete downloading!
* Installing package ...
PHP Notice: A non well formed numeric value encountered in /var/www/html/ff1fcaf169289dd373a566cbacd9f706/ff1fcaf169289dd373a566cbacd9f706.lib on line 1849
* Complete installing!
* [Success] Installation is finished!
# chmod 777 data
Access http: // {IP address} /? / Admin
with a browser.
In the case of chrome, it is a warning of password leakage, but click OK without worrying about it.
ID: | PW: |
---|---|
admin | 123456 |
--Change Language and Language (admin) to Japanese --Changing administrator password Do not forget to carry out.
Enter the IMAP / SMTP server setting information for each domain
When logging in, log in with your email address and password for your email account. Since the IMAP folder is displayed directly on the browser, it does not consume disk.
Recommended Posts