Openwebmail 2.53 Configuration
Check that the Perl version is larger than 5.8.5-9
Perl-version
Installation method of Yum
Modify RPMFORGE.REPO,CENTOS5 to perform Yum update first there are some?
Vi/etc/yum.repos.d/rpmforge.repo
Exclude = perl-compress*,perl-io-compress*
Connect with foreign network, download and install faster!
Proxy = http://proxy.edu.tw:3128
Timeout = 300
Cd/etc/yum.repos.d
Lftpget Http://openwebmail.org/openwebmail/download/redhat/rpm/release/openwebmail.repo
Yum-y Install Perl-suidperl perl-compress-zlib perl-text-iconv openwebmail
Preset path
Main program:/var/www/cgi-bin/openwebmail
Folder:/var/www/data/openwebmail
Latest Openwebmail Software
Http://openwebmail.org/openwebmail/download/current/openwebmail-current.tar.gz
http://openwebmail.org/openwebmail/download/redhat/rpm/packages/centos5/
How to install Tar
Cd/var/www (www.111cn.net)
TAR-ZXVF openwebmail-x.xx.tar.gz
MV Data/openwebmail html/
RmDir data
Vi/var/www/cgi-bin/openwebmail/etc/auth_unix.conf (changed by etc/defaults/auth_unix.conf copy)
Passwdfile_encrypted set into/etc/shadow
PASSWDMKDB set to None
Vi/var/www/cgi-bin/openwebmail/etc/openwebmail.conf
Mailspooldir set into/var/spool/mail
Ow_htmldir set into/var/www/html/openwebmail
Ow_cgidir set into/var/www/cgi-bin/openwebmail
SpellCheck set into/usr/bin/ispell
/var/www/cgi-bin/openwebmail/openwebmail-tool.pl--init
Add the following text to the/etc/logrotate.d/syslog let the system periodically cut off the log of the past
/var/log/openwebmail.log {
Postrotate
/usr/bin/killall-hup syslogd
Endscript
}
Openwebmail Related Settings
Cp/var/www/cgi-bin/openwebmail/etc/openwebmail.conf/var/www/cgi-bin/openwebmail/etc/openwebmail.conf.bak
Vi/var/www/cgi-bin/openwebmail/etc/openwebmail.conf
Ow_htmldir/var/www/html/openwebmail
Ow_htmlurl/openwebmail
Default_language ZH_TW. Big5
#default_language ZH_TW.UTF8 Network Recommendations
#default_language ZH_TW. UTF-8 I study 111cn.net myself.
Default_iconset Cool3D.Chinese.Traditional
Default_fontsize 12pt
Default_msgformat both
Newmailsound YouGotMail.English.wav
202 lines Webdisk_rootpath/webdisk modified into--> webdisk_rootpath/
Modify Dbm.conf
Cp/var/www/cgi-bin/openwebmail/etc/defaults/dbm.conf/var/www/cgi-bin/openwebmail/etc/defaults/dbm.conf.bak
Vi/var/www/cgi-bin/openwebmail/etc/defaults/dbm.conf
Dbm_ext. db
Dbmopen_ext. db
Dbmopen_haslock No
Change the samba password by using the Open WebMail changes the password
Cp/var/www/cgi-bin/openwebmail/etc/auth_unix.conf/var/www/cgi-bin/openwebmail/etc/auth_unix.conf.bak
Vi/var/www/cgi-bin/openwebmail/etc/auth_unix.conf
CHANGE_SMBPASSWD Yes
Performing the installation
/var/www/cgi-bin/openwebmail/openwebmail-tool.pl--init
Simplified Web site
Vi/etc/httpd/conf/httpd.conf
Scriptalias/mail "/var/www/cgi-bin/openwebmail/openwebmail.pl"
Openwebmail Automatically create catalog parameters
vi/var/www/cgi-bin/openwebmail/openwebmail.pl
if (mkdir ($homedir, 0700)) is changed to if (MkDir ($homedir, 0755))
Re-enable httpd
Service httpd Restart
PERL-CGI-SPEEDYCGI Accelerated Performance
Yum-y Install perl-cgi-speedycgi
From the speedy main program again?? A copy of the Root-suid execution permissions Speedy_suid
Cd/usr/bin
CP Speedy Speedy_suidperl
chmod u+s Speedy_suidperl
The first line in all of the/var/www/cgi-bin/openwebmail/below will be changed to Suidperl to Speedy_suid
VI chspeedy.sh
for name in open*.pl; Todo
Cp-a $name ${name}.old
Sed-e "s/suidperl-t/speedy_suidperl/" < ${name}.old > ${name}
Done
Execute./chspeedy.sh
Public Rule Filter.book
First delete public account global personal letter management file Www.111Cn.nEt
cd/home/global/.openwebmail/webmail/
RM Filter.book
Establish a filter.book link with a shared letter management file under the public account global, with permission of 640
Ln-s/var/www/cgi-bin/openwebmail/etc/filter.book Filter.book
Chown Global.group/var/www/cgi-bin/openwebmail/etc/filter.book
chmod 640/var/www/cgi-bin/openwebmail/etc/filter.book
Public communication record Addressbooks
Public communication record
Create and share a file link under public account global with a permission of 640
Change file/var/www/cgi-bin/openwebmail/etc/addressbooks/global to public account
Next, use the public account stxxxxx login Openwebmail, you can add contact person in the shared Address Book.
cd/var/www/cgi-bin/openwebmail/etc/addressbooks/
Chown User.group Global
CHMOD 640 Global
Add multiple Public newsletter records
Add a new file under the/var/www/cgi-bin/openwebmail/etc/addressbooks/directory, which is the shared address name.
Example: SingSong community group dedicated address Book
Touch singsong
Chown Stxxxxx.st SingSong
chmod 640 SingSong
When you are done, you will see a singsong in the Address Book after you log in to Openwebmail
Letter to filter forged EXE attachment type: (Fakedexecontenttype filter)
An e-mail virus could have been infected only if the user had opened the letter with an attachment to an executable file. But some of the latest e-mail viruses can do so as long as the user opens the email and poisons it, allowing the user to smell the poison. This filter filters this type of mail and moves it to the trash can.
Vi/var/www/cgi-bin/openwebmail/etc/defaults/openwebmail.conf
The four filter in the defaults/openwebmail.conf is closed, respectively, is
Default_filter_badformatfrom No
DEFAULT_FILTER_FAKEDSMTP No
Default_filter_fakedfrom No
Default_filter_fakedexecontenttype No
It is recommended to open Default_filter_fakedexecontenttype to filter out most mail viruses