From f07d238b1b4d75b34639be873dcc1b1627404ae7 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 28 May 2010 09:54:32 -0400
Subject: [PATCH] - Add 'imap_timeout' option (#1486760)

---
 config/main.inc.php.dist |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 15b6f9f..b1da159 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -80,6 +80,9 @@
 // after login. Set to True if you've got this case.
 $rcmail_config['imap_force_caps'] = false;
 
+// IMAP connection timeout, in seconds. Default: 0 (no limit)
+$rcmail_config['imap_timeout'] = 0;
+
 // ----------------------------------
 // SMTP
 // ----------------------------------
@@ -111,6 +114,9 @@
 // localhost if that isn't defined. 
 $rcmail_config['smtp_helo_host'] = '';
 
+// SMTP connection timeout, in seconds. Default: 0 (no limit)
+$rcmail_config['smtp_timeout'] = 0;
+
 // ----------------------------------
 // SYSTEM
 // ----------------------------------

--
Gitblit v1.9.1