summaryrefslogtreecommitdiff
path: root/horde
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2006-04-14 20:28:50 +0000
committerJonas Smedegaard <dr@jones.dk>2006-04-14 20:28:50 +0000
commit84d14d6245880cb53fd8cb3726ed2ddb813e0861 (patch)
tree96f4d19332f2050b1082232ca5b074975560e41f /horde
parent8215882643550e4fa3a86c2404aace18804d7f50 (diff)
Add config snippets for Horde3/IMP4.
Diffstat (limited to 'horde')
-rw-r--r--horde/imp4/motd.php56
-rw-r--r--horde/imp4/servers.php180
2 files changed, 236 insertions, 0 deletions
diff --git a/horde/imp4/motd.php b/horde/imp4/motd.php
new file mode 100644
index 0000000..16d90d3
--- /dev/null
+++ b/horde/imp4/motd.php
@@ -0,0 +1,56 @@
+<!-- This file contains any "Message Of The Day" Type information -->
+<!-- It will be included below the log-in form on the login page. -->
+
+<?php
+/**
+ * $Horde: imp/config/motd.php.dist,v 1.8.6.2 2005/10/18 12:13:29 jan Exp $
+ *
+ * Example code for switching between HTTP and HTTPS.
+ * Contributed by: James <james@james-web.net>
+ * To use, unncomment and modify these variables:
+ *
+ * $SERVER_SSL_PORT - Port on which your SSL server listens (Usually 443)
+ * $SERVER_HTTP_PORT - Port on which your HTTP server listens (Usually 80)
+ * $SERVER_SSL_URL - Full URL to your HTTPS server and Horde directory
+ * $SERVER_HTTP_URL - Full URL to your HTTP server and Horde directory
+ */
+
+// $SERVER_SSL_PORT = 443;
+// $SERVER_HTTP_PORT = 80;
+// $SERVER_SSL_URL = 'https://www.example.com';
+// $SERVER_HTTP_URL = 'http://www.example.com';
+//
+// $port = $_SERVER['SERVER_PORT'];
+//
+// echo '<br /><div align="center" class="light">';
+//
+// switch ($port) {
+// case $SERVER_SSL_PORT:
+// echo _("You are currently using Secure HTTPS<br />");
+// break;
+//
+// case $SERVER_HTTP_PORT:
+// echo _("You are currently using Standard HTTP<br />");
+// break;
+// }
+//
+// echo '<a class="small" href="' . $SERVER_HTTP_URL . '" target="_parent">' . _("Click here for Standard HTTP") . '</a> - <a class="small" href="' . $SERVER_SSL_URL . '" target="_parent">' . _("Click here for Secure HTTPS") . '</a></div>';
+
+?>
+
+<P align="center" class="light">
+Bookmark the following alternatives now, in case this site goes down one day:<BR>
+<A href="https://mail.jones.dk/" target="_top" class="helpitem">dr. Jones</A>,
+<A href="https://mail.homebase.dk/" target="_top" class="helpitem">Homebase</A>,
+<A href="http://mail.107b.dk/" target="_top" class="helpitem">Lab</A>,
+<A href="https://mail.bitbase.dk/" target="_top" class="helpitem">Bitbase</A>,
+<A href="https://mail.kaospilot.no/" target="_top" class="helpitem">KaosPilotene Norge</A>,
+<A href="http://mail.dgi-huset.dk/" target="_top" class="helpitem">DGI-huset</A>,
+<A href="http://mail.idraetsdaghojskolen.dk/" target="_top" class="helpitem">IDA</A>.
+</P>
+<P align="center" class="light">
+Always remember to select your home organisation at login!<BR>
+</P>
+
+<br />
+<table width="100%"><tr><td align="center"><?php echo Horde::img('horde-power1.png', _("Powered by Horde"), '', $registry->getImageDir('horde')) ?></td></tr></table>
diff --git a/horde/imp4/servers.php b/horde/imp4/servers.php
new file mode 100644
index 0000000..4814dc0
--- /dev/null
+++ b/horde/imp4/servers.php
@@ -0,0 +1,180 @@
+<?php
+$servers['_prompt'] = array(
+ 'name' => 'Choose a mail server:'
+);
+$servers['jones'] = array(
+ 'name' => 'dr. Jones',
+// 'server' => 'localhost',
+// 'port' => 10143,
+// 'hordeauth' => 'full',
+// 'protocol' => 'imap/notls',
+ 'server' => 'mail.jones.dk',
+ 'port' => 993,
+ 'protocol' => 'imap/ssl',
+ 'folders' => '',
+ 'namespace' => '',
+ 'maildomain' => 'jones.dk',
+ 'smtphost' => 'localhost',
+ 'realm' => 'jones.dk',
+ 'preferred' => array(
+ "mail.jones.dk",
+ "jones.mail.jones.dk",
+ "jones.mail.homebase.dk",
+ "jones.mail.107b.dk",
+ "jones.mail.bitbase.dk",
+ "jones.mail.kaospilot.no",
+ "jones.mail.dgi-huset.dk",
+ "jones.mail.idraetsdaghojskolen.dk",
+ )
+);
+$servers['homebase'] = array(
+ 'name' => 'Homebase',
+// 'server' => 'localhost',
+// 'port' => 10143,
+// 'hordeauth' => 'full',
+// 'protocol' => 'imap/notls',
+ 'server' => 'mail.homebase.dk',
+ 'port' => '993',
+ 'protocol' => 'imap/ssl',
+ 'folders' => '',
+ 'namespace' => '',
+ 'maildomain' => 'homebase.dk',
+ 'smtphost' => 'localhost',
+ 'realm' => 'homebase.dk',
+ 'preferred' => array(
+ "mail.homebase.dk",
+ "homebase.mail.jones.dk",
+ "homebase.mail.homebase.dk",
+ "homebase.mail.107b.dk",
+ "homebase.mail.bitbase.dk",
+ "homebase.mail.kaospilot.no",
+ "homebase.mail.dgi-huset.dk",
+ "homebase.mail.idraetsdaghojskolen.dk",
+ )
+);
+$servers['lab'] = array(
+ 'name' => 'Lab',
+// 'server' => 'localhost',
+// 'port' => 10143,
+// 'hordeauth' => 'full',
+// 'protocol' => 'imap/notls',
+ 'server' => '107b.dk',
+ 'port' => 993,
+ 'protocol' => 'imap/ssl',
+ 'folders' => '',
+ 'namespace' => '',
+ 'maildomain' => '107b.dk',
+ 'smtphost' => 'localhost',
+ 'realm' => '107b.dk',
+ 'preferred' => array(
+ "mail.107b.dk",
+ "lab.mail.jones.dk",
+ "lab.mail.homebase.dk",
+ "lab.mail.107b.dk",
+ "lab.mail.bitbase.dk",
+ "lab.mail.kaospilot.no",
+ "lab.mail.dgi-huset.dk",
+ "lab.mail.idraetsdaghojskolen.dk",
+ )
+);
+$servers['bitbase'] = array(
+ 'name' => 'Bitbase',
+// 'server' => 'localhost',
+// 'port' => 10143,
+// 'hordeauth' => 'full',
+// 'protocol' => 'imap/notls',
+ 'server' => 'mail.bitbase.dk',
+ 'port' => 993,
+ 'protocol' => 'imap/ssl',
+ 'folders' => '',
+ 'namespace' => '',
+ 'maildomain' => 'bitbase.dk',
+ 'smtphost' => 'localhost',
+ 'realm' => 'bitbase.dk',
+ 'preferred' => array(
+ "mail.bitbase.dk",
+ "bitbase.mail.jones.dk",
+ "bitbase.mail.homebase.dk",
+ "bitbase.mail.107b.dk",
+ "bitbase.mail.bitbase.dk",
+ "bitbase.mail.kaospilot.no",
+ "bitbase.mail.dgi-huset.dk",
+ "bitbase.mail.idraetsdaghojskolen.dk",
+ )
+);
+$servers['kpno'] = array(
+ 'name' => 'KaosPilotene, Norge',
+// 'server' => 'localhost',
+// 'port' => 10143,
+// 'hordeauth' => 'full',
+// 'protocol' => 'imap/notls',
+ 'server' => 'mail.kaospilot.no',
+ 'port' => 993,
+ 'protocol' => 'imap/ssl',
+ 'folders' => '',
+ 'namespace' => '',
+ 'maildomain' => 'users.kaospilot.no',
+ 'smtphost' => 'localhost',
+ 'realm' => 'kaospilot.no',
+ 'preferred' => array(
+ "mail.kaospilot.no",
+ "kpno.mail.jones.dk",
+ "kpno.mail.homebase.dk",
+ "kpno.mail.107b.dk",
+ "kpno.mail.bitbase.dk",
+ "kpno.mail.kaospilot.no",
+ "kpno.mail.dgi-huset.dk",
+ "kpno.mail.idraetsdaghojskolen.dk",
+ )
+);
+$servers['dgih'] = array(
+ 'name' => 'DGI-huset',
+// 'server' => 'localhost',
+// 'port' => 10143,
+// 'hordeauth' => 'full',
+// 'protocol' => 'imap/notls',
+ 'server' => 'mail.dgi-huset.dk',
+ 'port' => 993,
+ 'protocol' => 'imap/ssl',
+ 'folders' => '',
+ 'namespace' => '',
+ 'maildomain' => 'dgi-huset.dk',
+ 'smtphost' => 'localhost',
+ 'realm' => 'dgi-huset.dk',
+ 'preferred' => array(
+ "mail.dgi-huset.dk",
+ "dgih.mail.jones.dk",
+ "dgih.mail.homebase.dk",
+ "dgih.mail.107b.dk",
+ "dgih.mail.bitbase.dk",
+ "dgih.mail.kaospilot.no",
+ "dgih.mail.dgi-huset.dk",
+ "dgih.mail.idraetsdaghojskolen.dk",
+ )
+);
+$servers['ida'] = array(
+ 'name' => 'IDA',
+// 'server' => 'localhost',
+// 'port' => 10143,
+// 'hordeauth' => 'full',
+// 'protocol' => 'imap/notls',
+ 'server' => 'mail.idraetsdaghojskolen.dk',
+ 'port' => 993,
+ 'protocol' => 'imap/ssl',
+ 'folders' => '',
+ 'namespace' => '',
+ 'maildomain' => 'idraetsdaghojskolen.dk',
+ 'smtphost' => 'localhost',
+ 'realm' => 'idraetsdaghojskolen.dk',
+ 'preferred' => array(
+ "mail.idraetsdaghojskolen.dk",
+ "ida.mail.jones.dk",
+ "ida.mail.homebase.dk",
+ "ida.mail.107b.dk",
+ "ida.mail.bitbase.dk",
+ "ida.mail.kaospilot.no",
+ "ida.mail.dgi-huset.dk",
+ "ida.mail.idraetsdaghojskolen.dk",
+ )
+);
+?>