Enable the Mail service to configure Openwebmail in the window

Source: Internet
Author: User
Article Title: Enable the Mail service to configure Openwebmail in the window. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
First install the system (Rh8.0) and install sendmail, and then edit sendmail. cf: comment out the line 127.0.0.1, and add the corresponding IP address and domain name to the/etc/hosts file (this can not match the DNS server ), restart the email service (the port in the firewall has been opened. If not, execute ntsysv and reconfigure the firewall ). Download the latest version of rpm package from the openwebmail website. The installation is smooth. Then follow the prompts to perform the initialization operation: cd the_direcotry_of_openwebmail_cgi_scripts. /openwebmail-tool.pl -- init shows errors related to suidperl, so use apt to upgrade perl-suidperl, and then initialize the operation successfully, according to the display prompt to modify the corresponding file, basically succeeded, switch to another computer (the hosts file should also be modified), and open the webpage via a browser: http: // yourdomain/cgi-bin/openwebmail/hosts, the Text-Iconv is re-installed according to the installation prompt. The test is successful !!!
  
   For installation reference files, see:
Reference:
Official Open WebMail Platform
Open WebMail official website is http://openwebmail.org, this machine is located in the United States Spring Link backbone machine room, is by enthusiastic netizens Daniel Pentecost and his company Norvasen and Pentecost Inc. it is provided free of charge. Currently, Thomas Chung is responsible for the operation and maintenance of the entire website. in the process of developing Open WebMail, I was deeply touched by the help of many friends from all over the world. It really makes people feel like a village in the world...
  
As for the http://turtle.ee.ncku.edu.tw/openwebmail is the center of program development, all the latest program code is tested here after the start of the external announcement, and then copy (mirror) to the official site and mirror site.
  
   Open WebMail installation requirements
Web server supporting CGI
Perl 5.005 or above (support for suid perl is required)
CGI.pm-2.74.tar.gz (required)
MIME-Base64-2.12.tar.gz (required)
Libnet-1.0901.tar.gz (required)
Text-Iconv-1.2.tar.gz (required)
Libiconv-1.9.1.tar.gz (available)
CGI-SpeedyCGI-2.22.tar.gz (available)
Compress-Zlib-1.21.tar.gz (available)
Ispell-3.1.20.tar.gz (available)
Quota-1.4.6.tar.gz (available)
Authen-PAM-0.12.tar.gz (available)
ImageMagick-5.5.3.tar.gz (available)
The above kits are generally installed through source, but if you are using RedHat Linux, there are also rpm for quick installation
  
   Installation kit (installed by source)
First, please first go to the http://turtle.ee.ncku.edu.tw/openwebmail/download/packages/ to download the above kits
  
Install CGI. pm Kit
Cd/tmp
Tar-zxvf CGI.pm-2.74.tar.gz
Cd CGI. pm-2.74
Perl Makefile. PL
Make
Make install
  
Note: CGI may have been installed on your original machine. pm, but some users return Open WebMail if the old CGI is used. the pm version is applicable when an attachment is uploaded. Therefore, we recommend that you install a version later than 2.74 or more. check CGI. the pm version is as follows;
  
Perl-MCGI-e 'print $ CGI: version'
  
Install MIME-Base64 Kit
Cd/tmp
Tar-zxvf MIME-Base64-2.12.tar.gz
Cd MIME-Base64-2.12
Perl Makefile. PL
Make
Make install
  
Note: although your machine may have installed the MIME-Base64 suite, we recommend that you reinstall it from source. in doing so, it can be determined that the XS support in the MIME-Base64 has been started, can greatly increase the speed of processing MIME attachment encoding and decoding
  
Install libnet
Cd/tmp
Tar-zxvf libnet-1.0901.tar.gz
Cd libnet-1.0901
Perl Makefile. PL (ans 'no' if asked to update configuration)
Make
Make install
  
Install the Text-Iconv-1.2 kit (from openwebmail 1.80)
Openwemail since version 1.80 began to support multi-country word set Conversion Function (such as: Simplified Chinese conversion, Japanese Shif-JIS/ISO-2022-JP/EUC-JP conversion, or a variety of word sets for Unicode (UTF-conversion), the conversion operation is completed through the Text-Icon suite. because Text-Iconv actually only provides a perl interface for the iconv ()-related function of the system, you must first check whether the iconv ()-related function is supported on the system. The method is as follows:
  
Man iconv
  
If there is no relevant manpage description file after the command is run, it indicates that the system may not support iconv () related functions, but don't worry, we can add iconv () support for the system by installing libiconv.
  
Cd/tmp
Tar-zxvf libiconv-1.9.1.tar.gz
Cd libiconv-1.9.1
./Configure
Make
Make install
  
Now try 'man iconv' again to confirm that libiconv has been successfully installed in the system.
  
Next, you can start to install the Text-Iconv suite.
  
Cd/tmp
Tar-zxvf Text-Iconv-1.2.tar.gz
Cd Text-Iconv-1.2
Perl Makefile. PL
  
Note: If you are using FreeBSD, or you have just installed the libiconv-1.9.1.tar.gz suite manually, run the perl Makefile. before PL, modify Makefile. PL file. Set the LIBS and INC lines as follows:
  
'Libs' => ['-L/usr/local/lib-liconv'], # e.g.,'-ls'
'Inc' => '-I/usr/local/include', # e.g., '-I/usr/include/other'
  
Make
Make test
  
NOTE: If make test fails, your OS does not support iconv () or Makefile. the LIB and INC settings in PL are incorrect. you can set uty/iconv. pl. copy fake to iconv. in the pl file, openwebmail does not convert Word sets through iconv. in this way, the simple/traditional conversion function will remain, but will lose the function of automatically converting letters in UTF-8 format.
  
Make install
  
Installation kit (installed by rpm)
If you are using RedHat Linux, you can install it quickly through rpm, download the rpm URL in http://turtle.ee.ncku.edu.tw/openwebmail/download/redhat/rpm/packages/
  
First install CGI, MIME-Base64, and libnet.
  
Wget http://turtle.ee.ncku.edu.tw/openwebmail/download/redhat/rpm/packages/rh73/perl-CGI-2.752-34.99.6.i386.rpm
Rpm-Uvh -- force perl-CGI-2.752-34.99.6.i386.rpm
  
Wget http://turtle.ee.ncku.edu.tw/openwebmail/download/redhat/rpm/packages/rh73/perl-MIME-Base64-2.12-14.i386.rpm
Rpm-Uvh -- force perl-MIME-Base64-2.12-14.i386.rpm
  
Wget http://turtle.ee.ncku.edu.tw/openwebmail/download/redhat/rpm/packages/rh73/perl-libnet-1.0901-17.i386.rpm
Rpm-Uvh -- force perl-libnet-1.0901-17.i386.rpm
  
Note: You can use rpm-qa | grep-I keyword to query whether a specific suite has been installed.
Note: If you want wget to capture data through proxy, run the following command before using wget.
  
Export http_proxy = http: // your_proxy_server: 3128 (for bash)
Setenv http_proxy http: // your_proxy_server: 3128 (for csh/tcsh)
  
Then, check whether your system has the suidperl suite installed.
  
Rpm-q-a | grep-I suidperl
  
If your 7.3 system does not have suidperl installed, please
  
Wget http://turtle.ee.ncku.edu.tw/openwebmail/download/redhat/rpm/packages/rh73/perl-suidperl-5.6.1-34.99.6.i386.rpm
Rpm-Uvh -- force perl-suidperl-5.6.1-34.99.6.i386.rpm
  
If suidperl is not installed in your 8.x system
  
Wget http://turtle.ee.ncku.edu.tw/openwebmail/download/redhat/rpm/packages/rh80/perl-suidperl-5.8.0-55.i386.rpm
Rpm-Uvh -- force perl-suidperl-5.8.0-55.i386.rpm
  
If suidperl is not installed in your 9.x system
  
Wget http://turtle.ee.ncku.edu.tw/openwebmail/download/redhat/rpm/packages/rh9/perl-suidperl-5.8.0-88.i386.rpm
Rpm-Uvh -- force perl-suidperl-5.8.0-88.i386.rpm
  
Next, check whether your system has installed the Texi-Iconv suite.
  
Rpm-q-a | grep-I iconv
  
If Text-Iconv is not installed in your 7.3 system
  
Wget http://turtle.ee.ncku.edu.tw/openwebmail/download/redhat/rpm/packages/rh73/perl-Text-Iconv-1.2-RH73.i386.rpm
Rpm-Uvh -- force perl-Text-Iconv-1.2-RH73.i386.rpm
  
If Text-Iconv is not installed in your 8.x system
  
Wget http://turtle.ee.ncku.edu.tw/openwebmail/download/redhat/rpm/packages/rh80/perl-Text-Iconv-1.2-RH80.i386.rpm
Rpm-Uvh -- force perl-Text-Iconv-1.2-RH80.i386.rpm
  
If Text-Iconv is not installed in your 9.x system
  
Wget http://turtle.ee.ncku.edu.tw/openwebmail/download/redhat/rpm/packages/rh9/perl-Text-Iconv-1.2-RH80.i386.rpm
Rpm-Uvh -- force perl-Text-Iconv-1.2-RH80.i386.rpm
  
Install Open WebMail
Under the http://turtle.ee.ncku.edu.tw/openwebmail/download/, you can download the various Release versions of Open WebMail (openwebmail-x.yy.tar. tgz) with the latest current version (openwebmail-current.tgz ). the Release version is a stable version that has been tested, while the current version contains the latest features or corrected code on a daily basis.
  
If
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.