Install FC5 + openwebmail

Source: Internet
Author: User
FC5 + openwebmail installation-Linux Enterprise Application-Linux server application information. The following is a detailed description. I. Required software packages: (check for missing software packages installed in the System)

CGI.pm-3.05.tar.gz
MIME-Base64-3.01.tar.gz
Digest-1.08.tar.gz
Digest-MD5-2.33.tar.gz
Libnet-1.19.tar.gz
Text-Iconv-1.2.tar.gz (preferably installed in RPM)
Libiconv-1.9.1.tar.gz (selectable, multi-language internal code conversion)
CGI-SpeedyCGI-2.22.tar.gz (optional, resident)
Compress-Zlib-1.33.tar.gz (selectable, Web compression)
You can also use the RPM method to install the following software packages (most of the software packages are installed by default. Check them in advance ):
Perl-CGI
Perl-Compress-Zlib-1.34-2.i386.rpm
Perl-MIME-Base64-2.12-14.i386.rpm
Perl-libnet-1.0901-17.i386.rpm
Perl-Text-Iconv-1.4-2.i386.rpm
Perl-suidperl-5.8.6-15.i386.rpm

Ii. install the software package

CGI. pm, MIME-Base64, Digest, Digest-MD5, libnet source code using the following steps to install:
Perl Makefile. PL
Make
Make install

3. Install openwebmail

Tar.gz packages can be downloaded from this URL to the latest package http://openwebmail.org/openwebmail/download/release/

You can download the rpm package from this URL to the latest package.
Http://openwebmail.org/openwebmail/download/redhat/rpm/release/

4. Set openwebmail

1. Enter/var/www/cgi-bin/openwebmail/etc/

(1) Change openwebmail. conf
Set mailspooldir to/var/spool/mail
Set ow_htmldir to/var/www/html/openwebmail
Set ow_cgidir to/var/www/cgi-bin/openwebmail
Set spellcheck to/usr/bin/ispell
Set default_language to zh_CN.GB2312
Set default_iconset to Cool3D. Chinese. Simplified

(2) copy the file dbm. conf. default to dmb. conf and make the following settings:
Dbm_ext. db
Dbmopen_ext. db
Dbmopen_haslock yes

(3) Copy auth_unix.conf.default to auth_unix.conf, and confirm the following three configurations:
Passwdfile_plaintext/etc/passwd
Passwdfile_encrypted/etc/shadow
Passwdmkdb none

(4) execute the command/var/www/cgi-bin/openwebmail/openwebmail-tools.pl for initialization

(5) modify the/cgi-bin/openwebmail/etc/sessionss attribute and add write permission.

(6) webmail access can be implemented in the following format:
Http: // yourhost/cgi-bin/openwebmail. pl

(7) You can also set it in the Apache configuration document.
ScriptAlias/mail/var/www/cgi-bin/openwebmail. pl
Then you can access it through http: // yourhost/mail.


5. For FC5, because setuid support will be disabled in Versions later than perl5.8, "make-DENABLE_SUIDPERL" must be executed in make port; otherwise, speedy_suid will not be able to setuid root. You can also use the following solutions:
# Perl/var/www/cgi-bin/openwebmail/uty/wrapsuid. pl/var/www/cgi-bin/openwebmail/
Related Article

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.