- 论坛徽章:
- 0
|
我按照WXY 的postfix + mysql + cyrus方法作邮件服务器,嘿嘿,使公司内部局域网的,打算在员工之间能够发送email,但不上www网。我使用的是redhat8.0,完全安装,安装后系统有cyrus-sasl,但我一直没有配置成功,我就把系统的cyrus-sasl卸载了,自己在网上找了一个cyrus-sasl-2.1.20.tar.gz,安装过程没出现问题,安装后启动saslauthd出问题了,系统给的错误提示如下:
[root@mailserver sasl2]# /usr/local/sbin/saslauthd on
saslauthd[9900] :main : no authentication mechanism specified
usage: saslauthd [options]
option information:
-a <authmech>; Selects the authentication mechanism to use.
-c Enable credential caching.
-d Debugging (don't detach from tty, implies -V)
-r Combine the realm with the login before passing to authentication mechanism
Ex. login: "foo" realm: "bar" will get passed as login: "foo@bar"
The realm name is passed untouched.
-O <option>; Optional argument to pass to the authentication
mechanism.
-l Disable accept() locking. Increases performance, but
may not be compatible with some operating systems.
-m <path>; Alternate path for the saslauthd working directory,
must be absolute.
-n <procs>; Number of worker processes to create.
-s <kilobytes>; Size of the credential cache (in kilobytes)
-t <seconds>; Timeout for items in the credential cache (in seconds)
-v Display version information and available mechs
-V Enable verbose logging
-h Display this message.
saslauthd 2.1.20
authentication mechanisms: getpwent pam rimap shadow
上面的提示说saslauthd没有制定认证机制,于是我就手工指定为pam,但是运行还是出错,错误提示如下:
[root@mailserver root]# /usr/local/sbin/saslauthd -a pam
saslauthd[9905] :detach_tty : Cannot start saslauthd
saslauthd[9905] :detach_tty : could not read from startup_pipe
唉,请教诸位高手,我现在的邮件系统弄得有点眉目了,我可以在PC上用foxmail发送邮件,我可以在linux的http://localhost/horde上看到又见到了服务器中,但是用foxmail接受的时候总是不行,让我输入密码,怎么试都密码通不过,晕了。
email为alfreld@126.com |
|