Use VQSIGNUP to implement a web mode Email account application (QMAIL series)
Linuxaid.com.cn
Ideal
〖
Back to〗 Forward〗
What is VQSIGNUP? VQSingUP is a web-based Email account registration program that is used in conjunction with VPopmail. It is suitable for creating a virtual domain account, allowing users to apply for their own email accounts via Web. Download Software You can get the latest version of the software from http://www.inter7.com/vqsignup, and discussions in this article are based on version 0.4. Compilation and Installation 1) Modify Makefile a) Flags = -i / home / vpopmail / include modifies the row, pointing to the path of the vpopmail in your system B) Modify compiling rows: $ (cc) $ (flags) -o $ (Bin) $ (objs) -l / home / vpopmail / lib -lvpopmail - Lcrypt modifies the path to the directory where you vpopmail's chain library in your system. If your system is used Mysql, LDAP, Sybase or Oracle, you need to add -L and -L parameter related content, such as the system uses the MySQL database, you need to modify: $ (cc) $ (flags) -O $ (bin) $ (OBJS) -L / usr / lib / mysql / us / verson / lib -lvpopmail -lcrypt here / usr / lib / mysql / lib is the path where my MySQL dynamic link library is located, MySQLClient is the dynamic chain required Gained. 2) Compiling Make 3) Installation Configuration a) Copy vqsignup.cgi to the cgi-bin directory b in the Apache server to modify users, groups and access rights of vqsignup.cgi, enter the cgi-bin directory: chown vpopmail vqsignup.cgi chgrp vchkpw vqsignup .cgi chmod ug s vqsignup.cgi c) Copy vqsignup.conf to the cgi-bin directory, make sure it can be read by all users read-only CHMOD UGO R VQSIGNUP.CONF D) copy vqsignup_html to the CGI-bin directory, and ensure that file It is all user readable E) copies vqsignup.html to the documentroot directory to ensure that all user readable f) edit the vQsignup.conf file under the CGI-BIN directory: Modify "Add_Domain" one line, contain the virtual you want to support Domain Update "Result_ *" line, specifying VQSIGNUP_TEXT / *. HTML full path G) Enter the vqsignup_text directory, edit each file, so that it only contains the virtual domain you wish to support. If you want the interface to be beautiful, edit the HTML file h) edit the vQSIGNup.html file under the DocumentRoot directory so that it only contains the virtual domain you want to support. Update HTML files with beautifying page 4) Test in the browser to connect http: // your web server / vqsignup.html to test registration account