Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

CentOS extmail installation configuration and what is the installation of apache and extman

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about the installation and configuration of CentOS extmail and the installation of apache and extman. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

CentOS extmail installation and extman configuration.

A, CentOS extmail installation and configuration apache

Modify / etc/httpd/conf/httpd.conf to change the following options to:

User vuser

Group vgroup

[root@localhost ~] # cd / etc/httpd/conf.d/

[root@localhost conf.d] # vim extmail.conf

Enter the following:

Alias / extman/cgi/ / var/www/extsuite/extman/cgi/

Alias / extman/ var/www/extsuite/extman/html/

SetHandler cgi-script

Options + ExecCGI

# config for ExtMail

Alias / extmail/cgi/ / var/www/extsuite/extmail/cgi/

Alias / extmail/ var/www/extsuite/extmail/html/

SetHandler cgi-script

Options + ExecCGI

[root@localhost ~] # mkdir / var/www/extsuite

[root@localhost ~] # tar zxf extmail-1.0.5b1.tar.gz

[root@localhost] # cp-r extmail-1.0.5b1 / var/www/extsuite/extmail

[root@localhost] # cp-r extman-0.2.5b1 / var/www/extsuite/extman

B. Configure CentOS extmail installation parameters

[root@localhost ~] # cd / var/www/extsuite/extmail/

[root@localhost extmail] # cp webmail.cf.default webmail.cf

Modify the options under webmail.cf

SYS_SESS_DIR = / tmp/extmail

SYS_MAILDIR_BASE = / home/data/domains

SYS_MYSQL_USER = extmail

SYS_MYSQL_PASS = extmail

C, CentOS extmail installation and configuration extman parameters

[root@localhost extmail] # cd / var/www/extsuite/extman/

Modify the following options for webman.cf:

SYS_MAILDIR_BASE = / home/data/domains

D, CentOS extmail installation to create session directory

[root@localhost extman] # mkdir / tmp/ {extman,extmail}

[root@localhost extman] # chown vuser:vgroup / tmp/ext*

E, CentOS extmail installation and configuration background log analysis tool

[root@localhost addon] # cd / var/www/extsuite/extman/addon/

[root@localhost addon] # cp-r mailgraph_ext / usr/local/

Add the following to / etc/rc.local

/ usr/local/mailgraph_ext/mailgraph-init start

/ usr/local/mailgraph_ext/qmonitor-init start

Install the package on which you are lazy

[root@localhost mailgraph_ext] # yum-y install rrdtool perl-rrdtool perl-GD perl-File-Tail

F, CentOS extmail installation starts the background process

[root@localhost mailgraph_ext] # / usr/local/mailgraph_ext/qmonitor-init start

Starting queue statistics grapher: qmonitor

[root@localhost mailgraph_ext] # / usr/local/mailgraph_ext/mailgraph-init start

Starting mail statistics grapher: mailgraph_ext

G, access CentOS extmail installation and extman

Open the browser and type http://your_ip_address/extmail Note: your_ip_address is your actual ip

* the test users are: postmaster password: extmail domain: extmail

Open a browser and enter http://your_ip_address/extman

Extman root user: root@extmail.org password: extmail*123*

Note: the prompt questions and answers to change the password and retrieve the password after entering the system.

The above is what the CentOS extmail installation configuration and apache and extman installation is like, and the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report