From 0fa9bde70c488226bcd0e1a37bb199b6b8556e77 Mon Sep 17 00:00:00 2001 From: tokul Date: Tue, 29 Aug 2006 18:30:09 +0000 Subject: [PATCH] XCOURIEROUTBOX indicates option that can create duplicate messages. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11655 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 1 + src/configtest.php | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 918053c2..c303cea1 100644 --- a/ChangeLog +++ b/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) -------------------------------------- diff --git a/src/configtest.php b/src/configtest.php index 95c60658..47dc461b 100644 --- a/src/configtest.php +++ b/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); -- 2.25.1