浏览代码

XCOURIEROUTBOX indicates option that can create duplicate messages.

tokul 19 年之前
父节点
当前提交
b0f9449161
共有 2 个文件被更改,包括 10 次插入0 次删除
  1. 1 0
      ChangeLog
  2. 9 0
      src/configtest.php

+ 1 - 0
ChangeLog

@@ -133,6 +133,7 @@ Version 1.5.2 - CVS
     (#1543573).
   - Provide View Unsafe Images link on viewing a text/html attachment.
   - Added APOP, TLS and STLS support to mail_fetch plugin (#575299).
+  - Added Courier IMAP OUTBOX check to configtest utility.
 
 Version 1.5.1 (branched on 2006-02-12)
 --------------------------------------

+ 9 - 0
src/configtest.php

@@ -516,6 +516,15 @@ if (stristr($capline, 'XMAGICTRASH') !== false) {
     do_err($magic_trash,false);
 }
 
+/* add warning about IMAP delivery */
+if (stristr($capline, 'XCOURIEROUTBOX') !== false) {
+    $courier_outbox = 'OUTBOX setting is enabled in your Courier imapd '
+        .'configuration. SquirrelMail uses standard SMTP protocol or sendmail '
+        .'binary to send emails. Courier IMAP delivery method is not supported'
+        .' and can create duplicate email messages.';
+    do_err($courier_outbox,false);
+}
+
 /** OK, close connection */
 fputs($stream, "A004 LOGOUT\r\n");
 fclose($stream);