summaryrefslogtreecommitdiff
path: root/imp/servers.php3
blob: 9e33a98fa782aaf30af955434c213a0b5a931d42 (plain)
  1. <?php
  2. $IMAPServers = array();
  3. /*
  4. This is the IMAP server config file. You need this if you set
  5. $default->user_change_server to false and $default->use_server_list
  6. The IMAPServer class contains the following variables:
  7. $name;
  8. $server;
  9. $port;
  10. $folders;
  11. $from_server;
  12. $preferred;
  13. $servtype
  14. name specifies the name to be displayed for the server in the select
  15. box, server is the hostname of the server. port is the imap port -
  16. by default 143. folders is the $folders variable to use; by default
  17. it's set to ''.
  18. preferred is only useful if you do want to use the same server.php3
  19. file for different machines: if the Hostname of the IMP Machine is
  20. identical to one of those in the preferred list, then the according
  21. option in the select box will include a SELECTED, ie. it is selected
  22. per default. Otherwise the first entry in the list is selected.
  23. servtype is one of 'imap' or 'pop3'. If it's pop3 you're going to be
  24. connecting to a POP3 mail server instead of IMAP (so make sure the
  25. port is correct), and all folder options will be automatically
  26. turned off.
  27. Following are a bunch of example configurations:
  28. */
  29. $IMAPServers['jones'] = new IMAPServer('dr. Jones',
  30. 'mail.jones.dk',
  31. '143/notls',
  32. '',
  33. 'jones.dk',
  34. array(
  35. "mail.jones.dk",
  36. "jones.imp.jones.dk",
  37. "jones.imp.homebase.dk",
  38. "jones.imp.107b.dk",
  39. "jones.imp.a-host.dk",
  40. "jones.imp.vega.dk",
  41. "jones.imp.bitbase.dk"
  42. ));
  43. $IMAPServers['homebase'] = new IMAPServer('Homebase',
  44. 'mail.homebase.dk',
  45. '143/notls',
  46. '',
  47. 'homebase.dk',
  48. array(
  49. "mail.homebase.dk",
  50. "homebase.imp.jones.dk",
  51. "homebase.imp.homebase.dk",
  52. "homebase.imp.107b.dk",
  53. "homebase.imp.a-host.dk",
  54. "homebase.imp.vega.dk",
  55. "homebase.imp.bitbase.dk"
  56. ));
  57. $IMAPServers['lab'] = new IMAPServer('Lab (107b.dk)',
  58. '107b.dk',
  59. '143/notls',
  60. '',
  61. '107b.dk',
  62. array(
  63. "mail.107b.dk",
  64. "lab.imp.jones.dk",
  65. "lab.imp.homebase.dk",
  66. "lab.imp.107b.dk",
  67. "lab.imp.a-host.dk",
  68. "lab.imp.vega.dk",
  69. "lab.imp.bitbase.dk"
  70. ));
  71. $IMAPServers['bitbase'] = new IMAPServer('Bitbase',
  72. 'mail.bitbase.dk',
  73. '143/notls',
  74. '',
  75. 'bitbase.dk',
  76. array(
  77. "mail.bitbase.dk",
  78. "bitbase.imp.jones.dk",
  79. "bitbase.imp.homebase.dk",
  80. "bitbase.imp.107b.dk",
  81. "bitbase.imp.a-host.dk",
  82. "bitbase.imp.vega.dk",
  83. "bitbase.imp.bitbase.dk"
  84. ));
  85. $IMAPServers['a-host'] = new IMAPServer('a-host',
  86. 'mail2.a-host.dk',
  87. '143/notls',
  88. '',
  89. 'a-host.dk',
  90. array(
  91. "webmail.a-host.dk",
  92. "mail2.a-host.dk",
  93. "a-host.horde.biks.dk"
  94. ));
  95. $IMAPServers['louiz'] = new IMAPServer('Louiz',
  96. 'louiz.dk',
  97. '143/notls',
  98. '',
  99. 'louiz.dk',
  100. array(
  101. "louiz.horde.biks.dk"
  102. ));
  103. ?>