linux下postfix openwebmail邮局服务器完美搭建。

linux下postfix openwebmail邮局服务器完美搭建。

ID:15959570

大小:120.50 KB

页数:7页

时间:2018-08-06

linux下postfix openwebmail邮局服务器完美搭建。_第1页
linux下postfix openwebmail邮局服务器完美搭建。_第2页
linux下postfix openwebmail邮局服务器完美搭建。_第3页
linux下postfix openwebmail邮局服务器完美搭建。_第4页
linux下postfix openwebmail邮局服务器完美搭建。_第5页
资源描述:

《linux下postfix openwebmail邮局服务器完美搭建。》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、基于linux系统下安装postfix,dovecot,opwebmail邮局服务器1、实验原理拓扑2、实验要求,1台liunx服务器,1台xp客户端要求必须可以连上internet。先卸载sendmain[root@ser~]#yumremovesendmail安装postfix,dovecot,[root@ser~]#yum-yinstallpostfix[root@ser~]#yum-yinstalldovecot修改postfix的配置文件[root@ser~]#vim/etc/postfix/main.cf#myhostname=host.domain.t

2、ld  更改为:  myhostname=mail.test.org(指定运行Postfix邮件系统的主机名称)  #mydomain=domain.tld  更改为:  mydomain=test.com(指定Postfix邮件系统使用的域名)  #myorigin=$mydomain  更改为:  myorigin=test.com(指定发件人所在的域名)  #inet_interfaces=all  更改为:  Inet_interfaces=all(指定Postfix邮件系统监视的网络接口)  #mydestination=$myhostname,local

3、host.$mydomain,localhost,$mydomain,mail.$mydomain  更改为:  mydestination=$myhostname,localhost.$mydomain,localhost,$mydomain,mail.$mydomain(指定Postfix接收邮件时收件人的域名)  #mynetworks=host  更改为:  mynetworks=host(指定您所在的网络地址118.126.16.220)重启 postfix服务[root@ser~]#servicepostfixrestartShuttingdownpos

4、tfix:[OK]Startingpostfix:[OK][root@ser~]#chkconfigpostfixon[root@ser~]#chkconfigdovecoton修改dovecot的配置文件vim/etc/dovecot.confprotocols=imapimapspop3pop3slisten=*在iptables 里开放25,110,143端口[root@ser~]#vim/etc/sysconfig/iptables-ARH-Firewall-1-INPUT-mstate--stateNEW-mtcp-ptcp--dport110-jACCE

5、PT-ARH-Firewall-1-INPUT-mstate--stateNEW-mtcp-ptcp--dport25-jACCEPT-ARH-Firewall-1-INPUT-mstate--stateNEW-mtcp-ptcp--dport143-jACCEPT重启iptables[root@ser~]#serviceiptablesrestartFlushingfirewallrules:[OK]SettingchainstopolicyACCEPT:filter[OK]Unloadingiptablesmodules:[OKApplyingiptablesf

6、irewallrules:[OK]Loadingadditionaliptablesmodules:ip_conntrack_netbios_n[OK]ntrack_ftp测试服务是否正常启动。netstat–ntlp

7、grep25检查smtp是否正常启动---》postfixnetstat–ntlp

8、grep110检查pop3是否正常启动---》dovecot三、安装openwebmail.1、yum-yinstallperl、2、到http://www.openwebmail.org/openwebmail/download/处下载如下文件包:openwebma

9、il-2.53.tar.gz1CGI.pm-3.05.tar.gz   2Text-Iconv-1.2.tar.gz3Digest-1.08.tar.gz   4libiconv-1.9.1.tar.gz(非必须)  5libnet-1.19.tar.gz6Digest-MD5-2.33.tar.gz 7MIME-Base64-3.01.tar.gz分别对于他们进行编译安装:[root@linuxCGI.pm-3.05]#perlMakefile.PLCheckingifyourkitiscomplete...LooksgoodWritingMakefilefo

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。