阅读上一个主题 :: 阅读下一个主题 |
作者 |
留言 |
jayvan 精神病
注册时间: 2003-03-25 文章: 11251 来自: 广州
|
发表于: Wed 2006-11-08 10:11:35 发表主题: Re: 在web界面下添加用户的时候出现这个错误提示? |
|
|
joleon 写到: | Software error:
Undefined subroutine &ow::htmltext::str2html called at /usr/local/www/cgi-bin/openwebmail/shares/ow-shared.pl line 1283.
For help, please send mail to the webmaster (joleon@163.com), giving this error message and the time and date of the error.
在web界面下添加用户的时候出现这个错误提示?虽然发生错误,但是这个用户还是已经添加成功了,而且还可以收发邮件紧限于web方式下,采用mail-client软件只能收不能发?
麻烦帮忙啦,大虾们!!! |
这个错误提示是跟 p5 某个可能是设计到 setuid 的包的安装或配置有关的。
client 软件方面暂时没什么想法。 _________________ 观天之道,执天之行,尽矣。 |
|
返回页首 |
|
 |
whxheart 半仙
注册时间: 2007-03-30 文章: 2
|
发表于: Fri 2007-03-30 13:29:13 发表主题: 希望jayvan老兄帮忙给诊断一下! |
|
|
我想用sasl作smtp认证,但是一直过不去,不知道什么问题?
希望jayvan老兄帮忙给诊断一下!
另附上我的main.cf:
代码: | virtual_alias_maps=hash:/usr/local/etc/postfix/virtual
alias_maps=hash:/usr/local/etc/postfix/aliases
default_privs=nobody
allow_mail_to_commands = alias,forward,include
allow_mail_to_files = alias,forward,include
#smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_sasl_application_name = smtpd
smtpd_delay_reject=yes
smtpd_recipient_restrictions=permit_sasl_authent, reject_non_fqdn_sender , reject_unknown_sender_domain,reject_unknown_recipient_dom,permit_mynetworks,reject_unauth_destination
smtpd_client_restrictions=permit_sasl_authenticated |
sasl/smtpd.conf 配置:
代码: | pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
log_level: 5 |
cat saslauthd 内容:
代码: | #!/bin/sh
#
# $FreeBSD: ports/security/cyrus-sasl2-saslauthd/files/saslauthd.sh.in,v 1.2 2006/02/20 20:47:38 dougb Exp $
#
# PROVIDE: saslauthd
# REQUIRE: DAEMON
# BEFORE: mail imap
# KEYWORD: shutdown
#
# NOTE for FreeBSD 5.0+:
# If you want this script to start with the base rc scripts
# move saslauthd.sh to /etc/rc.d/saslauthd
prefix=/usr/local
# Define these saslauthd_* variables in one of these files:
# /etc/rc.conf
# /etc/rc.conf.local
# /etc/rc.conf.d/saslauthd
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
saslauthd_enable=${saslauthd_enable:-"NO"} # Enable saslauthd
saslauthd_flags=${saslauthd_flags:-"-a pam"} # Flags to saslauthd program
#saslauthd_runpath="/var/run/saslauthd" # Working directory
#saslauthd_program="${prefix}/sbin/saslauthd" # Location of saslauthd
. /etc/rc.subr
name="saslauthd"
rcvar=`set_rcvar`
command="${prefix}/sbin/${name}"
load_rc_config $name
if [ -z "$saslauthd_runpath" ]; then
pidfile="/var/run/saslauthd/${name}.pid"
else
pidfile="${saslauthd_runpath}/${name}.pid"
command_args="-m ${saslauthd_runpath}"
fi
run_rc_command "$1" |
我感觉执行不能把saslauthd运行起来,我自己手动来运行的。
如下是我的maillog:
代码: | Mar 30 11:11:31 mail postfix/smtpd[10674]: xsasl_cyrus_server_create: SASL service=smtp, realm=mail.haofane.com
Mar 30 11:11:31 mail postfix/smtpd[10674]: name_mask: noanonymous
Mar 30 11:11:31 mail postfix/smtpd[10674]: warning: SASL per-connection security setup; invalid parameter supplied
Mar 30 11:11:31 mail postfix/smtpd[10674]: fatal: SASL per-connection initialization failed
Mar 30 11:11:32 mail postfix/master[10537]: warning: process /usr/local/libexec/postfix/smtpd pid 10674 exit status 1
Mar 30 11:11:32 mail postfix/master[10537]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- |
|
|
返回页首 |
|
 |
jayvan 精神病
注册时间: 2003-03-25 文章: 11251 来自: 广州
|
发表于: Fri 2007-04-20 11:17:19 发表主题: |
|
|
楼上想做的事情我没做过,所以没有经验。
曾经有个朋友也想干,并且弄过。遇到一些问题。
后来他自己写了些代码解决了,不过不知道他具体怎么做。
他的经验估计别人也不容易使用。因为我朋友他是个动手能力
很强的人,水平也很高,很多时候遇到问题喜欢自己写代码解决。 _________________ 观天之道,执天之行,尽矣。 |
|
返回页首 |
|
 |
|
|
您不能发布新主题 您不能在这个论坛回复主题 您不能在这个论坛编辑自己的文章 您不能在这个论坛删除自己的文章 您不能在这个论坛发表投票
|
|