- <?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"));
- ?>
|