OpenWebmail installation notes
Sudaobo [Email: Sudaobo@163.com] Environment RedHat9.0 Apache Sendmail Perl OpenWebmail
RedHat9.0, Apache, Sendmail and Perl use the default installation.
1. sendmail configuration TRUST_AUTH_MECH ( `EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN ') dnl define (` confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN ') dnl gaze removed to open the respective authentication mechanism, the main To support Outlook or Foxmail; daemon_options (`port = 25, name = mta ') DNL Daemon_Options (` port = 587, name = msa, m = ea') DNL is added, set the port used for the corresponding MTA and MSA DNL daemon_options (`port = SMTP, ADDR = 127.0.0.1, name = mta ') DNL Feature (` accept_unresolvable_domains' to be commented, allowing Sendmail through the network, and disabled unconfarable domain Relay mail; finally saved.
Compile Sendmail.MC Generate Sendmail.cf file # m4 /etc/mail/sendmail.mc> /etc/mail/sendmail.cf
2. Apacheapache documentroot is / home / www
3. Install perl-suidperl- ×××××××× .386.rpm
4. Install the CPAN module - www.cpan.orgcgi.pm: # tar xzvf cgi.pm-2.74.tar.gz # cd cgi.pm-2.7.4 # perl makefile # make # make install The software installation method is the same, This is no longer introduced: mime-base64-2.12.tar.gz text-iconv-1.2.tar.gz automin-pam-0.12.tar.gz
4. Download and install OpenWebmailTar Xzvf OpenWebmail-2.41.tar.gz Unzip OpenWebmail to / Home / WWW directory to produce CGI-BIN and DATA directories
Copy / CGI-BIN/OpenWebMail/etc/default/AUTH_UNIX.CONF to / etc directory and modify a. Passwdfile_encrypted / etc / shadowb. Passwdmkdb None
In the / cgi-bin / openwebmail / etc directory, create a new dbm.conf file, the content is as follows: dbm_ext .dbdbmopen_ext .dbdbmopen_haslock YES
Modify the openwebmail.conf file in / cgi-bin / openwebmail / etc, as follows: a. Mailspooldir / var / spool / mailb. Ow_cgidir / home / www / cgi-bin / openwebmailc. Ow_cgiurl / cgi-bin / openwebmails. ow_htmldir / home / www / data / openwebmaile. ow_htmlurl / data / openwebmailf. default_language zh_CN.GB2312g. default_iconset Cool3D.Chinese.Simplified then run /home/www/httpd/cgi-bin/openwebmail/openwebmail-tool.pl --init
5. Modify / cgi-bin / openwebmail / etc / sessionss properties to increase write access.