你好,游客 登录 注册 搜索
背景:
阅读新闻

RHEL5下邮件系统的安装过程

[日期:2007-11-15] 来源:Linux公社  作者:Linuxidc [字体:大 中 小]
  我们准备用的是shadow的密码验证机制。
  vi /etc/sysconfig/saslauthd
  MECH=shadow
  启动sasl的daemon并测试:
  # service saslauthd start
  # /usr/sbin/testsaslauthd -u 帐号 -p '密码'
  0: OK "Success." =>帐号验证成功了
  [root@rhel5 ~]# chkconfig saslauthd on
  设置postfix启用SMTP认证
  [root@rhel5 Server]# vi /etc/postfix/main.cf
  smtpd_sasl_auth_enable = yes
  smtpd_sasl_local_domain= ''
  smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,
  reject_unauth_destination
  broken_sasl_auth_clients = yes
  smtpd_client_restrictions = permit_sasl_authenticated
  smtpd_sasl_security_options = noanonymous
  wq!保存
  此外,由于当postfix要使用SMTP认证时,会读取/usr/lib/sasl2/smtpd.conf文件的内容以确定所采用的认证方式,所以必须保证/usr/lib/sasl2/smtpd.conf文件的内容是:
  pwcheck_method: saslauthd
  安装设定dovecot(imap、pop3):
  1、确认dovecot是否有安装:
  [root@rhel5 ~]# rpm -qa|grep dovecot
  dovecot-1.0-1.2.rc15.el5
  2、设定用pop3来收取信件:
  #vi /etc/dovecot.conf
  protocols = pop3 # imap imaps pop3 pop3s 支持的功能
  3、启动并测试:
  #service dovecot start
  # telnet localhost 110
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'. linux
相关资讯       RHEL5 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款