summaryrefslogtreecommitdiff
path: root/plugins/managesieve/config.inc.php.dist
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-09-21 20:57:53 +0200
committerAleksander Machniak <alec@alec.pl>2012-09-21 20:57:53 +0200
commite695162ef76054050e4181e4d28f28cf1981386b (patch)
treeecc3835d378d71e1f5d10bd5c296ecb35aab247c /plugins/managesieve/config.inc.php.dist
parent97313ac258914e4c26aefec912e8677d8436175e (diff)
Change default port to 4190 (IANA-allocated), add port auto-detection (#1488713)
Diffstat (limited to 'plugins/managesieve/config.inc.php.dist')
-rw-r--r--plugins/managesieve/config.inc.php.dist5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/managesieve/config.inc.php.dist b/plugins/managesieve/config.inc.php.dist
index cb9b2a97f..1f34564c5 100644
--- a/plugins/managesieve/config.inc.php.dist
+++ b/plugins/managesieve/config.inc.php.dist
@@ -1,7 +1,8 @@
<?php
-// managesieve server port
-$rcmail_config['managesieve_port'] = 2000;
+// managesieve server port. When empty the port will be determined automatically
+// using getservbyname() function, with 4190 as a fallback.
+$rcmail_config['managesieve_port'] = null;
// managesieve server address, default is localhost.
// Replacement variables supported in host name: