我的一亩三分地 我就喜欢!
13fen  设为主页
 收藏本站
 
当前位置: > 一亩三分地:首页 > 操作系统 > 服务器 > MAIL服务器 > 配置sendmail
热门文章排行
热门文章排行 启动与关闭服务器(12-28)
服务器应用:用serv-u建立FTP一(11-16)
破解局域网内不能互访的六大经典问题(12-28)
Windows中IIS内FTP服务器高级配置(11-16)
怎样设置域名的DNS服务器(11-16)
精采文章排行
精采文章排行 在Windows Server 2003中为Web站点(11-16)
IP基础--DNS协定(11-16)
怎样设置域名的DNS服务器(11-16)
DNS—bind安装与配置的关键技术揭秘(11-16)
Exchange Server 服务器通讯端口(11-16)
技术专题推荐
网管论坛交流
 

配置sendmail 

作者:佚名   来源:Linux 宝库   点击:   日期:2006-11-23


-->
我的安装配置是这样的:
1、安装sendmail软件包
2、安装IMAP4软件包
3、编辑/etc/mail/sendmail.mc
//前边省略
dnl This changes sendmail to only listen on the loopback device 127.0.0.1
dnl and not on any other network devices. Comment this out if you want
dnl to accept email over the network.
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl 注释掉 可用别的机子发信
dnl We strongly recommend to comment this one out if you want to protect
dnl yourself from spam. However, the laptop and users on computers that do
dnl not have 24x7 DNS do need this.
dnl FEATURE(`accept_unresolvable_domains')dnl注释掉 可用IP形式
DAEMON_OPTIONS(`Port=25,Name=MTA')dnl添加
DAEMON_OPTIONS(`Port=587,Name=MSA,M=Ea')dnl添加
dnl FEATURE(`relay_based_on_MX')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl

4、编译/etc/mail/sendmail.mc
#m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
5、编辑/etc/sendmail.cf
Cwlocalhost Qin 202.112.105.172 改这一行
6、编辑/etc/mail/.access
# Check the /usr/share/doc/sendmail-8.11.2/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail-8.11.2/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
localhost.localdomainRELAY
localhostRELAY
202.112.105.172RELAY
202.112.105RELAY

7、编辑/etc/xinetd.d/.imap .ipop3 最后一行 disable= no
8、重启/etc/rc.d/init.d/.xinetd
9、启动sendmail /etc/rc.d/init.d/sendmail start
10、OK!




文章评论】 【收藏本文】 【推荐好友】 【打印本文】 【论坛讨论

   相关文章:
·Win2003下Exchange2003安装全图解二 ·处理外部邮件的Exchangeserver设置
·准备好升级你的Exchange2003 ·Exchange2000安装的系统需求
·安装秘诀:Exchange2000容量与拓朴计算器 ·安装秘诀:将现有的Exchange2000群集节点

   文章评论:(条)
  
 请留名: 匿名评论   点击查看所有评论 网管论坛
 

  责任编辑:一分  声明:刊登此文章是为了传递更多信息,文章内容仅供参考,转载请注明出处。