/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so: undefined symbol: DBIc_TRACE_LEVEL
Premature end of script headers: index.cgi
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so: undefined symbol: DBIc_TRACE_LEVEL
Premature end of script headers: index.cgi
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so: undefined symbol: DBIc_TRACE_LEVEL
Premature end of script headers: index.cgi
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so: undefined symbol: DBIc_TRACE_LEVEL
Premature end of script headers: index.cgi
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so: undefined symbol: DBIc_TRACE_LEVEL
Premature end of script headers: index.cgi
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so: undefined symbol: DBIc_TRACE_LEVEL
Premature end of script headers: index.cgi
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so: undefined symbol: DBIc_TRACE_LEVEL, referer: http://mail.test.com:8001/extmail/cgi/index.cgi
Premature end of script headers: index.cgi, referer: http://mail.test.com:8001/extmail/cgi/index.cgi
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so: undefined symbol: DBIc_TRACE_LEVEL
Premature end of script headers: signup.cgi
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so: undefined symbol: DBIc_TRACE_LEVEL
Premature end of script headers: index.cgi 原帖由 marion 于 2007-11-26 11:57 发表 http://bbs.chinaunix.net/images/common/back.gif
你应该把信件发出错误后/var/log/maillog中相关的日志发上来!
/var/log/maillog
Nov 25 23:02:34 mail postfix/anvil: statistics: max connection rate 2/60s for (smtp:210.192.169.228) at Nov 25 22:57:54
Nov 25 23:02:34 mail postfix/anvil: statistics: max connection count 2 for (smtp:210.192.169.228) at Nov 25 22:57:54
Nov 25 23:02:34 mail postfix/anvil: statistics: max cache size 1 at Nov 25 22:57:53
Nov 25 23:07:21 mail postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Nov 25 23:07:21 mail postfix/smtpd: connect from unknown
Nov 25 23:07:23 mail postfix/smtpd: NOQUEUE: reject: RCPT from unknown: 504 <89.223.38.166>: Helo command rejected: need fully-qualified hostname; from=<eugene@my-deja.com> to=<dytang@hxrxx.cn> proto=SMTP helo=<89.223.38.166>
Nov 25 23:07:23 mail postfix/smtpd: lost connection after RCPT from unknown
Nov 25 23:07:23 mail postfix/smtpd: disconnect from unknown
Nov 25 23:09:27 mail postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Nov 25 23:09:27 mail postfix/smtpd: connect from unknown
Nov 25 23:09:27 mail postfix/smtpd: NOQUEUE: reject: RCPT from unknown: 504 <YANGHUI>: Helo command rejected: need fully-qualified hostname; from=<hyang@hxrxx.cn> to=<yh81521@163.com> proto=SMTP helo=<YANGHUI>
Nov 25 23:09:27 mail postfix/smtpd: lost connection after RCPT from unknown
Nov 25 23:09:27 mail postfix/smtpd: disconnect from unknown
Nov 25 23:09:28 mail postfix/smtpd: connect from unknown
Nov 25 23:09:28 mail postfix/smtpd: NOQUEUE: reject: RCPT from unknown: 504 <YANGHUI>: Helo command rejected: need fully-qualified hostname; from=<hyang@hxrxx.cn> to=<yh81521@163.com> proto=SMTP helo=<YANGHUI>
Nov 25 23:09:30 mail postfix/smtpd: lost connection after RCPT from unknown
Nov 25 23:09:30 mail postfix/smtpd: disconnect from unknown
Nov 25 23:09:41 mail postfix/postfix-script: stopping the Postfix mail system
上面日志里 helo=<YANGHUI> 好像有问题.这个是我客户机的netbois的名,并不是邮件的用户名,应该怎么改???
[ 本帖最后由 yh81521 于 2007-11-28 13:40 编辑 ]
回复 #391 MYSQLER 的帖子
……error: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so: undefined symbol: DBIc_TRACE_LEVEL……尝试将mysql的头文件链接至/usr/include或者/usr/local/include或许可以解决此问题。 原帖由 marion 于 2007-11-27 11:33 发表 http://bbs.chinaunix.net/images/common/back.gif
尝试将mysql的头文件链接至/usr/include或者/usr/local/include或许可以解决此问题。
已经解决..不过不是没有链接的问题是..DBD版本有点高 楼主,我的现在已经能在内网收发邮件了.
但是拿到外网后,收信正常,web和foxmail发信提示helo出错,需要FQDN,显示:
web发信提示:
Command parameter not implemented
服务器反馈信息:504 <***.***.**.**>: Helo command rejected: need fully-qualified hostname
foxmail发信提示:
The server reply:
504 <YANGHUI>: Helo command rejected: need fully-qualified hostname
Continue?
/etc/hosts配置:
127.0.0.1 localhost.localdomain localhost
192.168.3.1 mail.hxrxx.cn mail //服务器ip,在DMZ区,通过PIX转换成公网IP.
219.239.**.** mail.hxrxx.cn mail //公网ip
main.cf配置:
myhostname = mail.hxrxx.cn
mydomain = hxrxx.cn
myorigin = $mydomain
mydestination = $myhostname localhost localhost.$mydomain
mynetworks = 192.168.3.0/24 192.168.0.0/24
inet_interfaces = all
命令hostname结果:
mail.hxrxx.cn
命令domainname结果
(none)
命令domainname -f 结果
mail.hxrxx.cn
/var/log/maillog
Nov 25 23:02:34 mail postfix/anvil: statistics: max connection rate 2/60s for (smtp:210.192.169.22 at Nov 25 22:57:54
Nov 25 23:02:34 mail postfix/anvil: statistics: max connection count 2 for (smtp:210.192.169.22 at Nov 25 22:57:54
Nov 25 23:02:34 mail postfix/anvil: statistics: max cache size 1 at Nov 25 22:57:53
Nov 25 23:07:21 mail postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Nov 25 23:07:21 mail postfix/smtpd: connect from unknown
Nov 25 23:07:23 mail postfix/smtpd: NOQUEUE: reject: RCPT from unknown: 504 <89.223.38.166>: Helo command rejected: need fully-qualified hostname; from=<eugene@my-deja.com> to=<dytang@hxrxx.cn> proto=SMTP helo=<89.223.38.166>
Nov 25 23:07:23 mail postfix/smtpd: lost connection after RCPT from unknown
Nov 25 23:07:23 mail postfix/smtpd: disconnect from unknown
Nov 25 23:09:27 mail postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Nov 25 23:09:27 mail postfix/smtpd: connect from unknown
Nov 25 23:09:27 mail postfix/smtpd: NOQUEUE: reject: RCPT from unknown: 504 <YANGHUI>: Helo command rejected: need fully-qualified hostname; from=<hyang@hxrxx.cn> to=<yh81521@163.com> proto=SMTP helo=<YANGHUI>
Nov 25 23:09:27 mail postfix/smtpd: lost connection after RCPT from unknown
Nov 25 23:09:27 mail postfix/smtpd: disconnect from unknown
Nov 25 23:09:28 mail postfix/smtpd: connect from unknown
Nov 25 23:09:28 mail postfix/smtpd: NOQUEUE: reject: RCPT from unknown: 504 <YANGHUI>: Helo command rejected: need fully-qualified hostname; from=<hyang@hxrxx.cn> to=<yh81521@163.com> proto=SMTP helo=<YANGHUI>
Nov 25 23:09:30 mail postfix/smtpd: lost connection after RCPT from unknown
Nov 25 23:09:30 mail postfix/smtpd: disconnect from unknown
Nov 25 23:09:41 mail postfix/postfix-script: stopping the Postfix mail system
上面日志里 helo=<YANGHUI> 好像有问题.这个是我客户机的netbois的名,并不是邮件的用户名,应该怎么改???
[ 本帖最后由 yh81521 于 2007-11-27 14:59 编辑 ]
回复 #395 yh81521 的帖子
尝试修改main.cf中的拒绝规则。 broken_sasl_auth_clients = yessmtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_unknown_sender_domain,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
reject_unauth_destination,
reject_rbl_client cdlless.anti-spam.org.cn,
permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_application_name = smtpd
smtpd_banner=$myhostname ESMTP "Version not Available"
这样是顺序问题吗? ……reject_non_fqdn_sender,……
先去了这个验正一下,别忘了让postfix重新读取配置文件。 注释了 reject_non_fqdn_sender 还是一样.
但我注释了reject_non_fqdn_hostname后,
没有 helo 的问题了,但是又出现新的问题: 554 <yh81521@163.com>:Relay access denied
是什么问题,被163给denie 了,我换过sina,yahoo,和自己公司邮箱都是这样??
现在的状态是: 在能上网的局域网里web,foxmail内网收发正常,可以向外发邮件;放到服务器的DMZ区后web收发都正常,
客户端收信正常,但发信却出现helo的域名不全和554Relay access denied 错误.
marion 老大帮我分析一下可能是什么错误,我觉得应该不是什么太大的问题了,可能离成功不远了!有没有可能是防火墙或者dns的错误,但我都查了,没什么错误,而且错误现象也不像是这两个方面的问题!
下面是我修改以后用foxmail发邮件的maillog部分:
Nov 27 21:46:44 mail postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Nov 27 21:46:44 mail postfix/smtpd: connect from unknown
Nov 27 21:46:44 mail postfix/smtpd: NOQUEUE: reject: RCPT from unknown: 554 <yh81521@163.com>: Relay access denied; from=<test@hxrxx.cn> to=<yh81521@163.com> proto=SMTP helo=<YANGHUI>
Nov 27 21:46:46 mail postfix/smtpd: disconnect from unknown
[ 本帖最后由 yh81521 于 2007-11-27 22:04 编辑 ]
回复 #399 yh81521 的帖子
不太熟悉Foxmail,你仔细看看上面有没有关于开启验证之类的设置。一定要打开验证功能,方法可以参照OE中的设置。前面也有讨论。
如果成功了,别忘了把去了的那项加上。那个应该不是问题所在。