VPS侦探论坛

 找回密码
 注册
查看: 7356|回复: 7

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

[复制链接]
发表于 2012-3-2 02:24:21 | 显示全部楼层 |阅读模式

imap 探针显示支持 发信却失败
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-3-2 08:24:33 | 显示全部楼层


看看有木有错误信息
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-3-2 08:35:28 | 显示全部楼层

回复 2# 的帖子


我今天上午安装的lnmp,然后安装军哥的方法安装的imp模块,通过探针的邮件测试,也不成功。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-3-2 16:57:45 | 显示全部楼层



没有任何错误 ......
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-3-4 21:28:24 | 显示全部楼层

回复 2# 的帖子




军哥,我将“imap.so”放的位置对吗?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x

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

发表于 2012-3-4 21:39:06 | 显示全部楼层

  1. [root@vps110894422 lnmp0.8]# cd php-5.2.17/ext/imap
  2. [root@vps110894422 imap]# ls
  3. CREDITS               Makefile.objects  config.guess  config.nice    configure.in  libtool        php_imap.c
  4. IMAP_Win32_HOWTO.txt  acinclude.m4      config.h      config.status  imap.dsp      ltmain.sh      php_imap.h
  5. Makefile              aclocal.m4        config.h.in   config.sub     imap.la       missing        php_imap.lo
  6. Makefile.fragments    autom4te.cache    config.log    config.w32     include       mkinstalldirs  run-tests.php
  7. Makefile.global       build             config.m4     configure      install-sh    modules        tests
  8. [root@vps110894422 imap]# /usr/local/php/bin/phpize
  9. Configuring for:
  10. PHP Api Version:         20041225
  11. Zend Module Api No:      20060613
  12. Zend Extension Api No:   220060519
  13. [root@vps110894422 imap]# ./configure --with-php-config=/usr/local/php/bin/php-config --with-kerberos --with-imap --with-imap-s                              sl
  14. checking for egrep... grep -E
  15. checking for a sed that does not truncate output... /bin/sed
  16. checking for cc... cc
  17. checking for C compiler default output file name... a.out
  18. checking whether the C compiler works... yes
  19. checking whether we are cross compiling... no
  20. checking for suffix of executables...
  21. checking for suffix of object files... o
  22. checking whether we are using the GNU C compiler... yes
  23. checking whether cc accepts -g... yes
  24. checking for cc option to accept ANSI C... none needed
  25. checking how to run the C preprocessor... cc -E
  26. checking for icc... no
  27. checking for suncc... no
  28. checking whether cc understands -c and -o together... yes
  29. checking for system library directory... lib
  30. checking if compiler supports -R... no
  31. checking if compiler supports -Wl,-rpath,... yes
  32. checking build system type... i686-pc-linux-gnu
  33. checking host system type... i686-pc-linux-gnu
  34. checking target system type... i686-pc-linux-gnu
  35. checking for PHP prefix... /usr/local/php
  36. 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
  37. checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613
  38. checking for PHP installed headers prefix... /usr/local/php/include/php
  39. checking if debug is enabled... no
  40. checking if zts is enabled... no
  41. checking for re2c... no
  42. configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
  43. checking for gawk... gawk
  44. checking for IMAP support... yes, shared
  45. checking for IMAP Kerberos support... yes
  46. checking for IMAP SSL support... yes
  47. checking for utf8_mime2text signature... old
  48. checking for U8T_DECOMPOSE...
  49. checking for pam_start in -lpam... no
  50. checking for crypt in -lcrypt... yes
  51. checking for krb5-config... /usr/kerberos/bin/krb5-config
  52. checking for pkg-config... /usr/bin/pkg-config
  53. checking whether build with IMAP works... yes
  54. checking whether rfc822_output_address_list function present... no
  55. checking for ld used by cc... /usr/bin/ld
  56. checking if the linker (/usr/bin/ld) is GNU ld... yes
  57. checking for /usr/bin/ld option to reload object files... -r
  58. checking for BSD-compatible nm... /usr/bin/nm -B
  59. checking whether ln -s works... yes
  60. checking how to recognize dependent libraries... pass_all
  61. checking for ANSI C header files... yes
  62. checking for sys/types.h... yes
  63. checking for sys/stat.h... yes
  64. checking for stdlib.h... yes
  65. checking for string.h... yes
  66. checking for memory.h... yes
  67. checking for strings.h... yes
  68. checking for inttypes.h... yes
  69. checking for stdint.h... yes
  70. checking for unistd.h... yes
  71. checking dlfcn.h usability... yes
  72. checking dlfcn.h presence... yes
  73. checking for dlfcn.h... yes
  74. checking the maximum length of command line arguments... 98304
  75. checking command to parse /usr/bin/nm -B output from cc object... ok
  76. checking for objdir... .libs
  77. checking for ar... ar
  78. checking for ranlib... ranlib
  79. checking for strip... strip
  80. checking if cc supports -fno-rtti -fno-exceptions... no
  81. checking for cc option to produce PIC... -fPIC
  82. checking if cc PIC flag -fPIC works... yes
  83. checking if cc static flag -static works... yes
  84. checking if cc supports -c -o file.o... yes
  85. checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
  86. checking whether -lc should be explicitly linked in... no
  87. checking dynamic linker characteristics... GNU/Linux ld.so
  88. checking how to hardcode library paths into programs... immediate
  89. checking whether stripping libraries is possible... yes
  90. checking if libtool supports shared libraries... yes
  91. checking whether to build shared libraries... yes
  92. checking whether to build static libraries... no

  93. creating libtool
  94. appending configuration tag "CXX" to libtool
  95. configure: creating ./config.status
  96. config.status: creating config.h
  97. config.status: config.h is unchanged
复制代码

这是安装时的信息,给参考下吧
发表于 2012-3-4 21:48:11 | 显示全部楼层

回复 2# 的帖子


这是我“make test”后的信息
  1. PASS Bug #31142 test #1 (imap_mail_compose() generates incorrect output) [tests/bug31142_1.phpt]
  2. PASS Bug #31142 test #2 (imap_mail_compose() generates incorrect output) [tests/bug31142_2.phpt]
  3. PASS Bug #32589 (crash inside imap_mail_compose() function) [tests/bug32589.phpt]
  4. PASS Bug #35669 (imap_mail_compose() crashes with multipart-multiboundary-email) [tests/bug35669.phpt]
  5. PASS Bug #40854 (imap_mail_compose() creates an invalid terminator for multipart e-mails) [tests/bug40854.phpt]
  6. PASS Bug #44098 (imap_utf8() returns only capital letters) [tests/bug44098.phpt]
  7. PASS Bug #45705 test #1 (imap rfc822_parse_adrlist() modifies passed address parameter) [tests/bug45705_1.phpt]
  8. PASS Bug #45705 test #2 (imap rfc822_parse_adrlist() modifies passed address parameter) [tests/bug45705_2.phpt]
  9. PASS Bug #46918 (imap_rfc822_parse_adrlist host part not filled in correctly) [tests/bug46918.phpt]
  10. PASS Test imap_8bit() function : basic functionality [tests/imap_8bit_basic.phpt]
  11. SKIP Test imap_alerts() function : error conditions [tests/imap_alerts_error.phpt] reason: could not connect to mailbox {localh                              ost/norsh}
  12. SKIP Test imap_append() function : basic functionality [tests/imap_append_basic.phpt] reason: could not connect to mailbox {loc                              alhost/norsh}
  13. PASS Test imap_base64() function : basic functionality [tests/imap_base64_basic.phpt]
  14. PASS Test imap_binary() function : basic functionality [tests/imap_binary_basic.phpt]
  15. SKIP imap_body() incorrect parameter count [tests/imap_body.phpt] reason: could not connect to mailbox {localhost/norsh}
  16. SKIP Test imap_body() function : basic functionality [tests/imap_body_basic.phpt] reason: could not connect to mailbox {localho                              st/norsh}
  17. SKIP Test imap_bodystruct() function : basic functionality [tests/imap_bodystruct_basic.phpt] reason: could not connect to mail                              box {localhost/norsh}
  18. SKIP Test imap_clearflag_full() function : basic functionality [tests/imap_clearflag_full_basic.phpt] reason: could not connect                               to mailbox {localhost/norsh}
  19. SKIP Test imap_close() function : basic functionality [tests/imap_close_basic.phpt] reason: could not connect to mailbox {local                              host/norsh}
  20. SKIP Test imap_close() function : error conditions - incorrect number of args [tests/imap_close_error.phpt] reason: could not c                              onnect to mailbox {localhost/norsh}
  21. PASS Test imap_close() function : usage variations - different data types as $stream_id arg [tests/imap_close_variation1.phpt]
  22. SKIP Test imap_close() function : usage variations - different data types as $options arg [tests/imap_close_variation2.phpt] re                              ason: could not connect to mailbox {localhost/norsh}
  23. PASS Test imap_close() function : usage variations - different streams [tests/imap_close_variation3.phpt]
  24. 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}
  25. SKIP Test imap_createmailbox() function : basic functionality [tests/imap_createmailbox_basic.phpt] reason: could not connect t                              o mailbox {localhost/norsh}
  26. SKIP Test imap_errors() function : basic functionality [tests/imap_errors_basic.phpt] reason: could not connect to mailbox {loc                              alhost/norsh}
  27. SKIP imap_num_recent() incorrect parameter count [tests/imap_expunge_error.phpt] reason: could not connect to mailbox {localhos                              t/norsh}
  28. SKIP Test imap_fetch_overview() function : basic functionality [tests/imap_fetch_overview_basic.phpt] reason: could not connect                               to mailbox {localhost/norsh}
  29. SKIP Test imap_fetch_overview() function : error conditions - incorrect number of args [tests/imap_fetch_overview_error.phpt] r                              eason: could not connect to mailbox {localhost/norsh}
  30. PASS Test imap_fetch_overview() function : usage variations - diff data types as $stream_id arg [tests/imap_fetch_overview_vari                              ation1.phpt]
  31. SKIP Test imap_fetch_overview() function : usage variations - diff data types as $msg_no arg [tests/imap_fetch_overview_variati                              on2.phpt] reason: could not connect to mailbox {localhost/norsh}
  32. 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}
  33. PASS Test imap_fetch_overview() function : usage variations - different resources as $stream_id [tests/imap_fetch_overview_vari                              ation4.phpt]
  34. SKIP Test imap_fetch_overview() function : usage variations - $msg_no argument [tests/imap_fetch_overview_variation5.phpt] reas                              on: could not connect to mailbox {localhost/norsh}
  35. SKIP Test imap_fetch_overview() function : usage variations - multipart message [tests/imap_fetch_overview_variation6.phpt] rea                              son: could not connect to mailbox {localhost/norsh}
  36. SKIP Test imap_fetchbody() function : basic functionality [tests/imap_fetchbody_basic.phpt] reason: could not connect to mailbo                              x {localhost/norsh}
  37. SKIP Test imap_fetchbody() function : error conditions - incorrect number of args [tests/imap_fetchbody_error.phpt] reason: cou                              ld not connect to mailbox {localhost/norsh}
  38. PASS Test imap_fetchbody() function : usage variation - diff data types as $stream_id arg [tests/imap_fetchbody_variation1.phpt                              ]
  39. SKIP Test imap_fetchbody() function : usage variation - diff data types as $msg_no arg [tests/imap_fetchbody_variation2.phpt] r                              eason: could not connect to mailbox {localhost/norsh}
  40. 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}
  41. SKIP Test imap_fetchbody() function : usage variations - FT_UID option [tests/imap_fetchbody_variation4.phpt] reason: could not                               connect to mailbox {localhost/norsh}
  42. PASS Test imap_fetchbody() function : usage variation - different resources as $stream_id arg [tests/imap_fetchbody_variation5.                              phpt]
  43. SKIP Test imap_fetchbody() function : usage variations - $msg_no arg [tests/imap_fetchbody_variation6.phpt] reason: could not c                              onnect to mailbox {localhost/norsh}
  44. SKIP Test imap_fetchheader() function : basic functions [tests/imap_fetchheader_basic.phpt] reason: could not connect to mailbo                              x {localhost/norsh}
  45. SKIP Test imap_fetchheader() function : error conditions - incorrect number of args [tests/imap_fetchheader_error.phpt] reason:                               could not connect to mailbox {localhost/norsh}
  46. PASS Test imap_fetchheader() function : usage variations - diff data types as $stream_id arg [tests/imap_fetchheader_variation1                              .phpt]
  47. SKIP Test imap_fetchheader() function : usage variations - diff data types for $msg_no arg [tests/imap_fetchheader_variation2.p                              hpt] reason: could not connect to mailbox {localhost/norsh}
  48. SKIP Test imap_fetchheader() function : usage variations - FT_UID option [tests/imap_fetchheader_variation3.phpt] reason: could                               not connect to mailbox {localhost/norsh}
  49. PASS Test imap_fetchheader() function : usage variations - diff resource types as $stream_id [tests/imap_fetchheader_variation4                              .phpt]
  50. SKIP Test imap_fetchheader() function : usage variations - $msg_no argument [tests/imap_fetchheader_variation5.phpt] reason: co                              uld not connect to mailbox {localhost/norsh}
  51. SKIP imap_headers() incorrect parameter count [tests/imap_headers.phpt] reason: could not connect to mailbox {localhost/norsh}
  52. SKIP imap_num_msg() incorrect parameter count [tests/imap_num_msg_error.phpt] reason: could not connect to mailbox {localhost/n                              orsh}
  53. SKIP imap_expunge() incorrect parameter count [tests/imap_num_recent_error.phpt] reason: could not connect to mailbox {localhos                              t/norsh}
  54. SKIP imap_open() incorrect parameter count [tests/imap_open_error.phpt] reason: could not connect to mailbox {localhost/norsh}
  55. SKIP imap_ping() incorrect parameter count [tests/imap_ping_error.phpt] reason: could not connect to mailbox {localhost/norsh}
  56. PASS imap_utf8() tests [tests/imap_utf8.phpt]
  57. =====================================================================
  58. TIME END 2012-03-04 21:41:11

  59. =====================================================================
  60. TEST RESULT SUMMARY
  61. ---------------------------------------------------------------------
  62. Exts skipped    :    0
  63. Exts tested     :   43
  64. ---------------------------------------------------------------------

  65. Number of tests :   56                21
  66. Tests skipped   :   35 ( 62.5%) --------
  67. Tests warned    :    0 (  0.0%) (  0.0%)
  68. Tests failed    :    0 (  0.0%) (  0.0%)
  69. Expected fail   :    0 (  0.0%) (  0.0%)
  70. Tests passed    :   21 ( 37.5%) (100.0%)
  71. ---------------------------------------------------------------------
  72. Time taken      :    2 seconds
  73. =====================================================================
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-3-4 21:49:27 | 显示全部楼层

  1. /bin/sh /root/lnmp0.8/php-5.2.17/ext/imap/libtool --mode=install cp ./imap.la /root/lnmp0.8/php-5.2.17/ext/imap/modules
  2. cp ./.libs/imap.so /root/lnmp0.8/php-5.2.17/ext/imap/modules/imap.so
  3. cp ./.libs/imap.lai /root/lnmp0.8/php-5.2.17/ext/imap/modules/imap.la
  4. PATH="$PATH:/sbin" ldconfig -n /root/lnmp0.8/php-5.2.17/ext/imap/modules
  5. ----------------------------------------------------------------------
  6. Libraries have been installed in:
  7. /root/lnmp0.8/php-5.2.17/ext/imap/modules

  8. If you ever happen to want to link against installed libraries
  9. in a given directory, LIBDIR, you must either use libtool, and
  10. specify the full pathname of the library, or use the `-LLIBDIR'
  11. flag during linking and do at least one of the following:
  12. - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
  13. during execution
  14. - add LIBDIR to the `LD_RUN_PATH' environment variable
  15. during linking
  16. - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
  17. - have your system administrator add LIBDIR to `/etc/ld.so.conf'

  18. See any operating system documentation about shared libraries for
  19. more information, such as the ld(1) and ld.so(8) manual pages.
  20. ----------------------------------------------------------------------

  21. Build complete.
  22. Don't forget to run 'make test'.


  23. =====================================================================
  24. PHP : /usr/local/php/bin/php
  25. PHP_SAPI : cli
  26. PHP_VERSION : 5.2.17p1
  27. ZEND_VERSION: 2.2.0
  28. PHP_OS : Linux - Linux diahosting.com 2.6.18-238.9.1.el5xen #1 SMP Tue Apr 12 19:32:47 EDT 2011 i686
  29. INI actual : /root/lnmp0.8/php-5.2.17/ext/imap/tmp-php.ini
  30. More .INIs :
  31. CWD : /root/lnmp0.8/php-5.2.17/ext/imap
  32. Extra dirs :
  33. VALGRIND : Not used
  34. =====================================================================
  35. TIME START 2012-03-04 21:41:09
  36. =====================================================================
复制代码
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-22 11:42 , Processed in 0.028658 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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