From 84d14d6245880cb53fd8cb3726ed2ddb813e0861 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 14 Apr 2006 20:28:50 +0000 Subject: Add config snippets for Horde3/IMP4. --- horde/imp4/motd.php | 56 +++++++++++++++ horde/imp4/servers.php | 180 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 236 insertions(+) create mode 100644 horde/imp4/motd.php create mode 100644 horde/imp4/servers.php (limited to 'horde') 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 @@ + + + + + * 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 '
'; +// +// switch ($port) { +// case $SERVER_SSL_PORT: +// echo _("You are currently using Secure HTTPS
"); +// break; +// +// case $SERVER_HTTP_PORT: +// echo _("You are currently using Standard HTTP
"); +// break; +// } +// +// echo '' . _("Click here for Standard HTTP") . ' - ' . _("Click here for Secure HTTPS") . '
'; + +?> + +

+Bookmark the following alternatives now, in case this site goes down one day:
+dr. Jones, +Homebase, +Lab, +Bitbase, +KaosPilotene Norge, +DGI-huset, +IDA. +

+

+Always remember to select your home organisation at login!
+

+ +
+
getImageDir('horde')) ?>
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 @@ + '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", + ) +); +?> -- cgit v1.2.3