Single installation qmail + apache + mysql + vpopmail + Chinese SQWwebmail

xiaoxiao2021-03-18  203

I saw a long time a few days ago, about Qmail installation, I finally succeeded. There are two specific methods: 1, which is compiled by the source code, complicated. 2, it is very convenient to find some predecessors. I think so. :) I will introduce the second one, because I am a lazy person, it can be lazy, never let any lazy chance. :) My basic requirement is to use qmail to realize the database-based webmail, and can implement MAIL of the virtual domain name, requiring 100,000 levels of users. The current product of this system: 1. Separation of QMAIL account and system account. 2, QMAIL mailing list function. 3, QMAIL automatic reply function. 4. Support for VPopmail. 5, email account web management method. 6, the message of the message, such as: Web emails, view emails. 7, can adjust the WEB CGI and HTML path. 8, selectively install Apache. 9. The password verification function for the SMTP service can effectively prevent others from using their own server to send anonymous letters. 10, selectively install Webmail. 11, support for virtual domains. 12, add support for Linux systems, automatic judgment system during installation. 13. Increase the management script of qmail, you can run qmail start | stop | restart after installation to manage qmail. 14. Fully support the MySQL database, as long as the database support is opened in the SQL setting area, and set the database password, you can support the database. 15, add qmailadmin and sqwebmail's Chinese interface! ! [New] 16. If you have a lot of bags, you can choose the room! [new]

The installation software: 1, qmail_setup.v.1.5.3.tar.gz --- Iceblood Seniors Production 2, mysql-3.23.43.tar.gz3, Sqwebmail Hanhua bag ---- DEN Boss provides HIGHTMAN to provide Chinese 4, INSTALLSHELL ---- ISQL installation script written by Qintl, I changed. ----------------------------------------------------------------------------------------------------------------- System, I am installed on RedHat 7.2, the installation is to select Server to ensure GCC, Perl, etc. are installed. First, install mysql.1, mkdir / tmp / SoftInstall --- create a directory 2, copy the files under the Hanhua SQWwebmail file to the / tem / softinstall directory. 3, chmod 755 installshell ---- installshell is MySQL installation script 4,. / Installshell install ---- On the installation, please be patient, you can play. 5, install it to the end, no time, I will check it to the car, because the script is finally changed, the initial mysql password is empty. After installation, mySQL username is: root password is: mysql2002

Of course, if you want to change your password, you can modify the INSTALLSHELL yourself, quite simple. Here, MySQL is installed. Second, install qmail. 1, cd / tmp / softinstall --softinstall directory 2, tar zxvf qmail_setup-v1.5.3.tat.gz3, cd Qmail_setup4, cp sqwebmail-3.3.7.20020910 sqwebmail-3.3.7.20020910.peng 5, cp / tmp / softinstall / sqwebmail -3.3.4.20020707.tar.gz / TMP / SoftInstall / QMAIL_SETUP / 6, VI Setup # please set your system, default is freebsd, more, Linux_OS = "linux" # domain name_domain = domain.com --- Change to you Domain name, I am using my readchina.com ########## -------- Advanced SET -------- ######### ######### "N" disables quotas, or # where # is a number in bytes not y, do not use "y", "y" is bad_mailsize = 5000000s ---- I made a limit as 5m # apache install path_apachepath = / var / www --- I custom installation path to / var / www ########## -------- SQL SET ------- - ############@@@@@@@@@@@@@@@ "_sql = n # mysql host_sqlhost = localhost # mysql user_sqluser = root # mysql Passwd_sqlpass = mysql2002 --- IF ["$ _Webmail" = "YES" in installation MySQL settings

echo "######### ------------ ##########

>> / var / uninstall / qmailinstall.log 2> & 1. . . . . cd / tmp / iceblood / Qmail_setupmkdir -p / usr / local / qmail / sqwebmailtar xzf sqwebmail-3.3.4.20020707.tar.gz - a change that is sqwebmail-3.3.7.20020910.tar.gzcd sqwebmail-3.3.4.20020707 - a change that Is sqwebmail-3.3.7.20020910 ./configure --prefix = / usr / local / qmail / sqwebmail --with-authvchkpw --Nable-WebPass = VPOPMAIL

--enable-cgibindir = $ _ cgibin --enable-imagedir = $ _ htmlpath / webmail

--enable-mimeTypes = $ _ htmlpath --enable-mimecharset = $ _ mimeset --enable-https

--enable-default-domain = $ _ domain >> / var / uninstall / qmailinstall.log 2> & 1ELSE. / configure --prefix = / usr / local / qmail / sqwebmail --with-authvchkpw --Nable-WebPass = vpopmail --enable-cgibindir = $ _ cgibin --enable-imagedir = $ _ htmlpath / webmail

--enable-mimeTypes = $ _ htmlpath --enable-mimecharset = $ _ mimeset

--enable-default-domain = $ _ domain >> / var / uninstall / qmailinstall.log 2> & 1fi ------ Turn the installation path / usr / local / qmail / webmail change to / usr / local / qmail / sqwebmail

-------------------- ************ In addition to the above changes, I use the default value, you can use your needs. Change yourself **** ---------

6, CHMOD 755 setup7,. / Setup 8, mkdir / var / qmail9, ln -s / usr / local / qmail / bin / var / qmail / -------- **** here, qmail After installing *** ---- Third, Chinese SQWWebmail1, files / usr / local / qmail / sqwebmail / html / en-us2, will / tmp / softinstall / webmail directory The following pictures and CSS files CP to / var / www / htdocs / webmail3, ROOT directory / var / www / htdocs / four, related settings, / www / htdocs / four, related settings --------- ----- Establish the following files in / usr / local / qmail / sqwebmail / directory:

Calendarmode: Fill in the content to Local, which will open the schedule management.

NochangingFrom: When the file exists, the user will not allow the user to change the mail header field "from:" when sending an email, which can be empty file.

Hostname: Join your portomain.com, log in to SQWWebmail with name, the user mail address is displayed norm, otherwise it will be displayed as NA

Me@host.domain.com

Create in ./html/en directory: Footer: If this file exists, you will add the contents in the file at each file.

转载请注明原文地址:https://www.9cbs.com/read-129963.html

New Post(0)