diff options
-rw-r--r-- | imp/MOTD.html | 9 | ||||
-rw-r--r-- | imp/servers.php3 | 100 |
2 files changed, 109 insertions, 0 deletions
diff --git a/imp/MOTD.html b/imp/MOTD.html new file mode 100644 index 0000000..fada0e6 --- /dev/null +++ b/imp/MOTD.html @@ -0,0 +1,9 @@ +<CENTER><P align="center"> +If problems with this service, please try one of these alternatives:<BR> +<A href="http://imp.jones.dk/" target="_top">dr. Jones</A><BR> +<A href="http://webmail.a-host.dk/imp/" target="_top">A-host</A><BR> +<A href="http://www.homebase.dk/imp/" target="_top">Homebase</A><BR> +<A href="http://honda.homebase.dk/imp/" target="_top">Homebase (alt.)</A><BR> +<A href="http://woody.macvaerk.com/imp/" target="_top">Macvaerk</A><BR> +(remember to select your own organisation when logging in...!) +</P></CENTER> diff --git a/imp/servers.php3 b/imp/servers.php3 new file mode 100644 index 0000000..a3ffcec --- /dev/null +++ b/imp/servers.php3 @@ -0,0 +1,100 @@ +<?php + +$IMAPServers = array(); + +/* + This is the IMAP server config file. You need this if you set + $default->user_change_server to false and $default->use_server_list + The IMAPServer class contains the following variables: + + $name; + $server; + $port; + $folders; + $from_server; + $preferred; + $servtype + + name specifies the name to be displayed for the server in the select + box, server is the hostname of the server. port is the imap port - + by default 143. folders is the $folders variable to use; by default + it's set to ''. + + preferred is only useful if you do want to use the same server.php3 + file for different machines: if the Hostname of the IMP Machine is + identical to one of those in the preferred list, then the according + option in the select box will include a SELECTED, ie. it is selected + per default. Otherwise the first entry in the list is selected. + + servtype is one of 'imap' or 'pop3'. If it's pop3 you're going to be + connecting to a POP3 mail server instead of IMAP (so make sure the + port is correct), and all folder options will be automatically + turned off. + + Following are a bunch of example configurations: +*/ + +$IMAPServers['jones'] = new IMAPServer('dr. Jones', + 'mail.jones.dk', + 143, + '', + 'jones.dk', + array( + "jones.dk", + "mail.jones.dk", + "www.jones.dk", + "bastian.jones.dk", + "webtools.jones.dk", + "dr.jones.dk", + "imp.jones.dk", + "jones.imp.jones.dk", + )); + +$IMAPServers['homebase'] = new IMAPServer('Homebase', + 'mail.homebase.dk', + 143, + '', + 'homebase.dk', + array( + "homebase.dk", + "mail.homebase.dk", + "www.homebase.dk", + "honda.homebase.dk", + "nimbus.homebase.dk", + "homebase.imp.jones.dk", + "imp.homebase.dk" + )); + +$IMAPServers['macvaerk'] = new IMAPServer('Macvaerk', + 'mail.macvaerk.com', + 143, + '', + 'macvaerk.com', + array( + "macvaerk.com", + "mail.macvaerk.com", + "www.macvaerk.com", + "woody.macvaerk.com", + "macvaerk.dk", + "www.macvaerk.dk" + )); + +$IMAPServers['a-host'] = new IMAPServer('a-host', + 'mail2.a-host.dk', + 143, + '', + 'a-host.dk', + array( + "webmail.a-host.dk", + "mail2.a-host.dk" + )); + +$IMAPServers['lab'] = new IMAPServer('Lab', + '107b.dk', + 143, + '', + '107b.dk', + array("www.107b.dk")); + + +?> |