Afterlogic: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Webmail|Back]]<br> | |||
Installation | Installation | ||
# mkdir /usr/share/webmaillite | # mkdir /usr/share/webmaillite | ||
Line 34: | Line 35: | ||
# mysqladmin -uroot -p$MYSQLPW reload | # mysqladmin -uroot -p$MYSQLPW reload | ||
# mysqladmin -uroot -p$MYSQLPW refresh | # mysqladmin -uroot -p$MYSQLPW refresh | ||
# | # mysql -p$MYSQLPW -e "CREATE USER afterlogic@localhost IDENTIFIED BY 'p4ssw3rd'" | ||
# mysql -p$MYSQLPW -e "GRANT ALL PRIVILEGES ON afterlogic.* TO afterlogic@localhost" | |||
# mysqladmin -uroot -p$MYSQLPW reload | # mysqladmin -uroot -p$MYSQLPW reload | ||
# mysqladmin -uroot -p$MYSQLPW refresh | # mysqladmin -uroot -p$MYSQLPW refresh |
Latest revision as of 20:23, 24 April 2024
Installation # mkdir /usr/share/webmaillite # cd /usr/share/webmaillite # wget https://afterlogic.org/download/webmail_php.zip # yum -y install unzip # unzip webmail_php.zip # chown -R apache.apache /usr/share/webmaillite/data # chown -R apache.apache /usr/share/webmaillite/adminpanel # vi /usr/share/webmaillite/data/settings/config.json Set 'RedirectToHttps' to true # vi /usr/share/webmaillite/data/settings/modules/TwoFactorAuth.config.json Set 'Disable' to false 'ShowRecommendationToConfigure' to true 'AllowSecurityKeys to true # printf '%s\n' \ 'Alias /wmail /usr/share/webmaillite' \ '<Directory /usr/share/webmaillite/>' \ ' <IfModule mod_authz_core.c>' \ ' # Apache 2.4' \ ' Require local' \ ' Require all granted' \ ' </IfModule>' \ '<IfModule !mod_authz_core.c>' \ ' # Apache 2.2' \ ' Order Deny,Allow' \ ' Require all granted' \ ' Allow from all' \ ' </IfModule>' \ '</Directory>' \ > /etc/httpd/conf.d/webmaillite.conf # systemctl restart httpd # MYSQLPW=<mypassword> # mysqladmin create afterlogic -uroot -p$MYSQLPW # mysqladmin -uroot -p$MYSQLPW reload # mysqladmin -uroot -p$MYSQLPW refresh # mysql -p$MYSQLPW -e "CREATE USER afterlogic@localhost IDENTIFIED BY 'p4ssw3rd'" # mysql -p$MYSQLPW -e "GRANT ALL PRIVILEGES ON afterlogic.* TO afterlogic@localhost" # mysqladmin -uroot -p$MYSQLPW reload # mysqladmin -uroot -p$MYSQLPW refresh Open browser to http://ip.address.of.server/wmail/adminpanel to login: (username: superadmin, password: <blank>), and change password Go to 'Database Settings' and enter settings 1) SQL Login: afterlogic 2) SQL Password: SsEeCcRrEeTt 3) Database Name: afterlogic 4) Host: 127.0.0.1 5) Test connection (Button) 6) Create/Update tables (Button) 7) Update Configuration (Button) 8) Save Go to 'Mail Servers' and enter settings 1) Display Name: <To Suit> 2) IMAP Server: 127.0.0.1 3) SMTP Server: 127.0.0.1 4) Leave everything else unchanged 5) Save Logout Login with any Mail Server user account More Information: Here