Postfixadmin installation manual

Source: Internet
Author: User

PostfixadminIt is a common management tool for mail sending servers. If you want to use it, you should understand how it is installed. See the following.

1.download postfixadmin.tar.gz first.

Decompress/var/www/html:

Tar-zxvf postfixadmin-2.1.0.tgz

Then change the name to postfixadmin ----------> because/var/www/html/postfixadmin will be used as a folder to store web pages, try to save as much as possible.

2. Modify the script:

Sample file of config. inc. php. sample extracted from/var/www/html/postfixadmin.

After cp config. inc. php. sample config. inc. php is used, vi config. inc. php is used to modify the file...

Change 'en' to 'zh '----> If the default value is en, you can change it.

Changed from NO to YES.

Changed from YES to NO ---> the above two must be changed ..

3. Import the MYSQL database:

/Var/www/html/postfixadmin] # mysql-u root-p <DATABASE_MYSQL.TXT --> This file exists in this directory after being decompressed.

If the prompt is: ERROR 1062 (23000) at line 28: Duplicate entry 'localhost-postfix' for key 1

It is generally because files have been imported before, and MYSQL needs to be cleared. If there is no need for data, it is better to use yum remove mysql to uninstall MYSQL and reinstall MYSQL to make it faster. if data exists, delete the POSTFIX user name in MYSQL.

4. start HTTPD: service httpd start, and enter http: // ip/postfixadmin in the address bar to access the postfix homepage.

Figure 1

Click setup in the middle to perform the test:

Warning: Magic Quotes: OFF (using internal function !)

You need to modify magic_quotes_gpc = off in the/etc/php. ini file -- change it to On ---> pay attention to that On, and the front O is capitalized !!

If:

You need to install php. We recommend that you use yum install php *.

After the installation is complete, use service httpd restart, restart MYSQL, and then the program can be used normally.

Delete setup. php.

Then go to http: // 192.168.1.125/postfixadmin/admin

After reading this article, I learned how to install postfixadmin. Continue!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.