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/notls', '', 'jones.dk', array( "mail.jones.dk", "jones.imp.jones.dk", "jones.imp.homebase.dk", "jones.imp.107b.dk", "jones.imp.a-host.dk", "jones.imp.vega.dk", "jones.imp.bitbase.dk" )); $IMAPServers['homebase'] = new IMAPServer('Homebase', 'mail.homebase.dk', '143/notls', '', 'homebase.dk', array( "mail.homebase.dk", "homebase.imp.jones.dk", "homebase.imp.homebase.dk", "homebase.imp.107b.dk", "homebase.imp.a-host.dk", "homebase.imp.vega.dk", "homebase.imp.bitbase.dk" )); $IMAPServers['lab'] = new IMAPServer('Lab (107b.dk)', '107b.dk', '143/notls', '', '107b.dk', array( "mail.107b.dk", "lab.imp.jones.dk", "lab.imp.homebase.dk", "lab.imp.107b.dk", "lab.imp.a-host.dk", "lab.imp.vega.dk", "lab.imp.bitbase.dk" )); $IMAPServers['bitbase'] = new IMAPServer('Bitbase', 'mail.bitbase.dk', '143/notls', '', 'bitbase.dk', array( "mail.bitbase.dk", "bitbase.imp.jones.dk", "bitbase.imp.homebase.dk", "bitbase.imp.107b.dk", "bitbase.imp.a-host.dk", "bitbase.imp.vega.dk", "bitbase.imp.bitbase.dk" )); $IMAPServers['a-host'] = new IMAPServer('a-host', 'mail2.a-host.dk', '143/notls', '', 'a-host.dk', array( "webmail.a-host.dk", "mail2.a-host.dk", "a-host.horde.biks.dk" )); $IMAPServers['louiz'] = new IMAPServer('Louiz', 'louiz.dk', '143/notls', '', 'louiz.dk', array( "louiz.horde.biks.dk" )); ?>