85 tar -zxvf MIME-Base64-3.01.tar.gz
86 ls
87 cd MIME-Base64-3.01
88 ls
89 perl Makefile.PL
90 make
94 make install
98 rpm -ivh open
WEBm
ail-2.53-3.i386.rpm
99 rpm -ivh perl-Text-Iconv-1.4-1.2.el4.rf.i386.rpm
100 rpm -ivh perl-Compress-Zlib-1.42-1.el4.rf.i386.rpm
101 rpm -ivh perl
-suidperl-5.8.5-36.RHEL4.i386.rpm
102 ls
103 rpm -ivh perl-CGI-
SpeedyCGI-2.22-1.2.el5.rf.i386.rpm
104 rpm -ivh --
nodeps perl-CGI-2.81-
88.4.i386.rpm
105 rpm -ivh --nodeps openwebmail-2.53-3.i386.rpm
106 cd /var/www/cgi.bin
107 cd /var/www/cgi-bin
108 ls
109 pwd
110 cd openwebmail/
111 ls
112 etc
113 cd etc
114 ld
115 ls
116 cd defaults/
117 ls
118 history
119 vi dbm.conf
dbm_ext
.db
dbmopen_ext
.db
dbmopen_haslock yes
yes
smtpserver 192.168.76.2
120 cd ..
121 ls
122 vi openwebmail.conf
41行:default_language zh_cn.gb2312
100行:default_iconset Cool
3D.Chinese.simplified
123 cd ..
124 ls
127 ./openwebmail-tool.pl --init
128 histoy
129 history
130 vi /etc/postfix/main.cf
94:myorigin = $myhostname
109:net_interfaces = all
157:ydestinat
ion = $myhostname, localhost.$mydomain,
localhost,$mydomain,mail.$mydomain,[url]www.$mydomain[/url],ftp.$mydomain
79:mydomain = zhang.com
70:myhostname =mail.zhang.com
131 service postfix start
132 service
Httpd start
133 service
sshd start
134 setup
135 setup
136 service iptables start
137 iptables -F
139 iptables -P INPUT DROP
142 iptables -A INPUT -p
tcp --dport 80 -j ACCEPT
143 iptables -A INPUT -p tcp --dport 80 -j ACCEPT
144 iptables -A INPUT -p tcp --dport 80 -j ACCEPT
145 iptables -a INPUT -p tcp --dport 80 -j ACCEPT
146 iptables -A INPUT -p tcp --dport 80 -j ACCEPT
147 iptables -A INPUT -p tcp --dport 25 -j ACCEPT
148 iptables -A INPUT -p tcp --dport 22 -j ACCEPT
149 iptables -A INPUT -p udp --dport 53 -j ACCEPT
0