VPS侦探论坛

 找回密码
 注册
查看: 6471|回复: 5

imap 探针显示支持 发信却失败

[复制链接]
发表于 2012-3-4 12:32:18 | 显示全部楼层 |阅读模式

按照军哥给的安装命令会出现
configure: error: This c-client library is built with Kerberos support.

      Add --with-kerberos to your configure line. Check config.log for details.


于是根据提示分别加入了 --with-kerberos --with-imap-ssl
安装成功 探针显示imap支持 测试发信却失败 麻烦军哥看看 谢谢



[root@VPS-27445010 imap]# ./configure --with-php-config=/usr/local/php/bin/php-config --with-kerberos --with-imap-ssl
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local/php
checking for PHP includes... -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/php/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking for IMAP support... yes, shared
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... yes
checking for utf8_mime2text signature... old
checking for U8T_DECOMPOSE...
checking for pam_start in -lpam... no
checking for crypt in -lcrypt... yes
checking for krb5-config... /usr/kerberos/bin/krb5-config
checking for pkg-config... /usr/bin/pkg-config
checking whether build with IMAP works... yes
checking whether rfc822_output_address_list function present... no
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-3-4 12:36:34 | 显示全部楼层


运行make test 测试  都无法连接

=====================================================================
PHP         : /usr/local/php/bin/php
PHP_SAPI    : cli
PHP_VERSION : 5.2.17p1
ZEND_VERSION: 2.2.0
PHP_OS      : Linux - Linux VPS-27445010 2.6.18-238.9.1.el5xen #1 SMP Tue Apr 12 18:53:56 EDT 2011 x86_64
INI actual  : /root/lnmp0.8/php-5.2.17/ext/imap/tmp-php.ini
More .INIs  :
CWD         : /root/lnmp0.8/php-5.2.17/ext/imap
Extra dirs  :
VALGRIND    : Not used
=====================================================================
TIME START 2012-03-04 12:33:38
=====================================================================
PASS Bug #31142 test #1 (imap_mail_compose() generates incorrect output) [tests/bug31142_1.phpt]
PASS Bug #31142 test #2 (imap_mail_compose() generates incorrect output) [tests/bug31142_2.phpt]
PASS Bug #32589 (crash inside imap_mail_compose() function) [tests/bug32589.phpt]
PASS Bug #35669 (imap_mail_compose() crashes with multipart-multiboundary-email) [tests/bug35669.phpt]
PASS Bug #40854 (imap_mail_compose() creates an invalid terminator for multipart e-mails) [tests/bug40854.phpt]
PASS Bug #44098 (imap_utf8() returns only capital letters) [tests/bug44098.phpt]
PASS Bug #45705 test #1 (imap rfc822_parse_adrlist() modifies passed address parameter) [tests/bug45705_1.phpt]
PASS Bug #45705 test #2 (imap rfc822_parse_adrlist() modifies passed address parameter) [tests/bug45705_2.phpt]
PASS Bug #46918 (imap_rfc822_parse_adrlist host part not filled in correctly) [tests/bug46918.phpt]
PASS Test imap_8bit() function : basic functionality [tests/imap_8bit_basic.phpt]
SKIP Test imap_alerts() function : error conditions [tests/imap_alerts_error.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_append() function : basic functionality [tests/imap_append_basic.phpt] reason: could not connect to mailbox {localhost/norsh}
PASS Test imap_base64() function : basic functionality [tests/imap_base64_basic.phpt]
PASS Test imap_binary() function : basic functionality [tests/imap_binary_basic.phpt]
SKIP imap_body() incorrect parameter count [tests/imap_body.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_body() function : basic functionality [tests/imap_body_basic.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_bodystruct() function : basic functionality [tests/imap_bodystruct_basic.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_clearflag_full() function : basic functionality [tests/imap_clearflag_full_basic.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_close() function : basic functionality [tests/imap_close_basic.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_close() function : error conditions - incorrect number of args [tests/imap_close_error.phpt] reason: could not connect to mailbox {localhost/norsh}
PASS Test imap_close() function : usage variations - different data types as $stream_id arg [tests/imap_close_variation1.phpt]
SKIP Test imap_close() function : usage variations - different data types as $options arg [tests/imap_close_variation2.phpt] reason: could not connect to mailbox {localhost/norsh}
PASS Test imap_close() function : usage variations - different streams [tests/imap_close_variation3.phpt]
SKIP Test imap_close() function : usage variations - different ints as $options arg [tests/imap_close_variation4.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_createmailbox() function : basic functionality [tests/imap_createmailbox_basic.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_errors() function : basic functionality [tests/imap_errors_basic.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP imap_num_recent() incorrect parameter count [tests/imap_expunge_error.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_fetch_overview() function : basic functionality [tests/imap_fetch_overview_basic.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_fetch_overview() function : error conditions - incorrect number of args [tests/imap_fetch_overview_error.phpt] reason: could not connect to mailbox {localhost/norsh}
PASS Test imap_fetch_overview() function : usage variations - diff data types as $stream_id arg [tests/imap_fetch_overview_variation1.phpt]
SKIP Test imap_fetch_overview() function : usage variations - diff data types as $msg_no arg [tests/imap_fetch_overview_variation2.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_fetch_overview() function : usage variations - FT_UID option [tests/imap_fetch_overview_variation3.phpt] reason: could not connect to mailbox {localhost/norsh}
PASS Test imap_fetch_overview() function : usage variations - different resources as $stream_id [tests/imap_fetch_overview_variation4.phpt]
SKIP Test imap_fetch_overview() function : usage variations - $msg_no argument [tests/imap_fetch_overview_variation5.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_fetch_overview() function : usage variations - multipart message [tests/imap_fetch_overview_variation6.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_fetchbody() function : basic functionality [tests/imap_fetchbody_basic.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_fetchbody() function : error conditions - incorrect number of args [tests/imap_fetchbody_error.phpt] reason: could not connect to mailbox {localhost/norsh}
PASS Test imap_fetchbody() function : usage variation - diff data types as $stream_id arg [tests/imap_fetchbody_variation1.phpt]
SKIP Test imap_fetchbody() function : usage variation - diff data types as $msg_no arg [tests/imap_fetchbody_variation2.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_fetchbody() function : usage variation - diff data types as $section arg [tests/imap_fetchbody_variation3.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_fetchbody() function : usage variations - FT_UID option [tests/imap_fetchbody_variation4.phpt] reason: could not connect to mailbox {localhost/norsh}
PASS Test imap_fetchbody() function : usage variation - different resources as $stream_id arg [tests/imap_fetchbody_variation5.phpt]
SKIP Test imap_fetchbody() function : usage variations - $msg_no arg [tests/imap_fetchbody_variation6.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_fetchheader() function : basic functions [tests/imap_fetchheader_basic.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_fetchheader() function : error conditions - incorrect number of args [tests/imap_fetchheader_error.phpt] reason: could not connect to mailbox {localhost/norsh}
PASS Test imap_fetchheader() function : usage variations - diff data types as $stream_id arg [tests/imap_fetchheader_variation1.phpt]
SKIP Test imap_fetchheader() function : usage variations - diff data types for $msg_no arg [tests/imap_fetchheader_variation2.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP Test imap_fetchheader() function : usage variations - FT_UID option [tests/imap_fetchheader_variation3.phpt] reason: could not connect to mailbox {localhost/norsh}
PASS Test imap_fetchheader() function : usage variations - diff resource types as $stream_id [tests/imap_fetchheader_variation4.phpt]
SKIP Test imap_fetchheader() function : usage variations - $msg_no argument [tests/imap_fetchheader_variation5.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP imap_headers() incorrect parameter count [tests/imap_headers.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP imap_num_msg() incorrect parameter count [tests/imap_num_msg_error.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP imap_expunge() incorrect parameter count [tests/imap_num_recent_error.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP imap_open() incorrect parameter count [tests/imap_open_error.phpt] reason: could not connect to mailbox {localhost/norsh}
SKIP imap_ping() incorrect parameter count [tests/imap_ping_error.phpt] reason: could not connect to mailbox {localhost/norsh}
PASS imap_utf8() tests [tests/imap_utf8.phpt]
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-3-4 15:00:55 | 显示全部楼层

自己解决 凡事都要靠自己
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-3-4 20:01:12 | 显示全部楼层

回复 3# 的帖子




楼主,你解决了吗。我也遇到了和你相同的问题。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-3-6 13:55:51 | 显示全部楼层

回复 4# 的帖子


恩 发你的安装信息出来 看看

军哥运维代购:http://shop63846532.taobao.com/

发表于 2012-3-7 16:32:59 | 显示全部楼层

回复 5# 的帖子


我把代码贴到这篇稿子上了。
https://bbs.vpser.net/thread-6882-1-2.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-17 00:01 , Processed in 0.027288 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表