Chinaunix首页 | 论坛 | 博客
  • 博客访问: 798785
  • 博文数量: 770
  • 博客积分: 5000
  • 博客等级: 大校
  • 技术积分: 4950
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-09 17:49
文章分类

全部博文(770)

文章存档

2011年(1)

2008年(769)

我的朋友

分类:

2008-10-10 10:58:39

装cyrus-sasl


1、确认cyrus-sasl是否安装了


[root@rhel5 Server]# rpm -qa|grep cyrus


cyrus-sasl-plain-2.1.22-4


cyrus-sasl-lib-2.1.22-4


cyrus-sasl-2.1.22-4



Cyrus-SASL V2的密码验证机制


[root@rhel5 ~]# saslauthd -v


saslauthd 2.1.22


authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap


我们准备用的是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


这是我的配置方法 我实在是弄不懂 openwebmail怎么安装了      
--------------------next---------------------

阅读(288) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~