Tweak test script/INSTALL documentation.
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 2 Dec 2008 04:38:35 +0000 (21:38 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 2 Dec 2008 04:38:35 +0000 (21:38 -0700)
imp/docs/INSTALL
imp/test.php

index 0834d9c..e6ea0c5 100644 (file)
@@ -211,11 +211,15 @@ To function properly, IMP **requires** the following:
    Freely available IMAP servers (for \*nix systems) that have been verified
    to work with IMP include:
 
+   - Archiveopteryx (http://www.archiveopteryx.org/)
    - Courier-IMAP (http://www.inter7.com/courierimap.html)
    - Cyrus (http://asg.web.cmu.edu/cyrus/)
    - Dovecot (http://www.dovecot.org/)
    - UW-IMAP (ftp://ftp.cac.washington.edu/imap/)
 
+   The selected IMAP server MUST support IMAP4rev1 (RFC 3501).
+   The selected POP server MUST support POP3 (RFC 1939/STD 53).
+
 The following items are not required, but are strongly **RECOMMENDED**:
 
 1. Sendmail or equivalent.
@@ -545,14 +549,13 @@ Configuring IMP
 
    See `horde/docs/PERFORMANCE`_.
 
-   IMP Specific Performance Information
+   IMP Specific Performance Information::
 
-   As of IMP 4.2, IMP can now use persistent caching on the server side to
-   store information about user's messages.  This results in much reduced
-   IMAP server traffic and requires the server to parse the structure of every
-   message only once.  The tradeoff is your cache backend must be able to
-   handle the potentially large amounts of cached data this option will
-   produce.
+   IMP can use persistent caching on the server side to store information about
+   user's messages.  This results in much reduced mail server traffic and
+   requires the server to parse the structure of every message only once.  The
+   tradeoff is your cache backend must be able to handle the potentially large
+   amounts of cached data this option will produce.
 
    To use this caching, you must have a ``Cache System`` configured in Horde's
    ``Administration/Setup`` screen and have the relevant settings enabled in
index 5a0afb6..8eaf158 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 /**
+ * IMP test script.
+ *
  * Copyright 1999-2008 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (LGPL). If you
@@ -65,6 +67,19 @@ function _doConnectionTest()
 
         echo "</pre></blockquote></blockquote>\n";
 
+        try {
+            $id_info = $imap_client->getID();
+            if (!empty($id_info)) {
+                echo "<blockquote><em>IMAP server information:</em><blockquote><pre>";
+                foreach ($id_info as $key => $val) {
+                    echo "$key:  $val\n";
+                }
+                echo "</pre></blockquote></blockquote>\n";
+            }
+        } catch (Horde_Imap_Client_Exception $e) {
+            // Ignore a lack of the ID capability.
+        }
+
         // @todo IMAP Charset Search Support
     }
 }
@@ -105,10 +120,6 @@ require TEST_TEMPLATES . 'version.inc';
 
 /* Display versions of other Horde applications. */
 $app_list = array(
-    'dimp' => array(
-        'error' => 'DIMP provides an alternate display view using JavaScript.',
-        'version' => '2.0'
-    ),
     'gollem' => array(
         'error' => 'Gollem provides access to local VFS filesystems to attach files.',
         'version' => '2.0'
@@ -117,10 +128,6 @@ $app_list = array(
         'error' => 'Ingo provides basic mail filtering capabilities to IMP.',
         'version' => '2.0'
     ),
-    'mimp' => array(
-        'error' => 'MIMP provides an alternate display view suitable for mobile browsers or very slow connections.',
-        'version' => '2.0'
-    ),
     'nag' => array(
         'error' => 'Nag allows tasks to be directly created from e-mail data.',
         'version' => '3.0'
@@ -236,7 +243,7 @@ if (isset($_POST['user']) && isset($_POST['passwd'])) {
 <tr><td align="right"><label for="port">Port:</label></td><td><input type="text" id="port" name="port" /></td><td>(If non-standard port; leave blank to auto-detect using standard ports)</td></tr>
 <tr><td align="right"><label for="user">User:</label></td><td><input type="text" id="user" name="user" /></td></tr>
 <tr><td align="right"><label for="passwd">Password:</label></td><td><input type="password" id="passwd" name="passwd" /></td></tr>
-<tr><td align="right"><label for="server_type">Server Type:</label></td><td><select id="server_type" name="server_type"><option value="imap">IMAP4</option><option value="pop">POP3</option></select></td></tr>
+<tr><td align="right"><label for="server_type">Server Type:</label></td><td><select id="server_type" name="server_type"><option value="imap">IMAP4rev1</option><option value="pop">POP3</option></select></td></tr>
 <tr><td align="right"><label for="encrypt">Use SSL/TLS:</label></td><td><select id="encrypt" name="encrypt"><option value="no">No</option><option value="ssl">SSL</option><option value="tls">TLS</option></select></td></tr>
 <tr><td></td><td><input type="submit" name="f_submit" value="Submit" /><input type="reset" name="f_reset" value="Reset" /></td></tr>
 </table>