config.php 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <?
  2. // Organization's logo picture (blank if none)
  3. $org_logo = "../images/sm_logo.jpg";
  4. // Organization's name
  5. $org_name = "SquirrelMail";
  6. // Webmail Title
  7. // This is the title that goes at the top of the browser window
  8. $org_title = "SquirrelMail $version";
  9. // The server that your imap server is on
  10. $imapServerAddress = "localhost";
  11. $imapPort = 143;
  12. // The domain where your email address is.
  13. // Example: in "luke@usa.om.org", usa.om.org is the domain.
  14. // this is for all the messages sent out. Reply address
  15. // is generated by $username@$domain
  16. $domain = "initio.no";
  17. // Your SMTP server and port number (usually the same as the IMAP server)
  18. $smtpServerAddress = "localhost";
  19. $smtpPort = 25;
  20. // Uncomment this if you want to deliver locally using sendmail instead
  21. // of connecting to a SMTP-server
  22. $useSendmail = true;
  23. $sendmail_path = "/usr/sbin/sendmail";
  24. // This is displayed right after they log in
  25. $motd = "You are using SquirrelMail's web-based email client. If you run into any bugs or have suggestions, please report them to our <A HREF=\"mailto:squirrelmail-list@sourceforge.net\">mailing list</A>";
  26. // Themes
  27. // You can define your own theme and put it in this directory. You must
  28. // call it as the example below. You can name the theme whatever you
  29. // want. For an example of a theme, see the ones included in the config
  30. // directory.
  31. //
  32. // You can download themes from http://squirrelmail.sourceforge.net/index.php3?page=10
  33. //
  34. // To add a new theme to the options that users can choose from, just add
  35. // a new number to the array at the bottom, and follow the pattern.
  36. // The first one HAS to be here, and is your system's default theme.
  37. // It can be any theme you want
  38. $theme[0]["PATH"] = "../config/default_theme.php";
  39. $theme[0]["NAME"] = "Default";
  40. $theme[1]["PATH"] = "../config/sandstorm_theme.php";
  41. $theme[1]["NAME"] = "Sand Storm";
  42. $theme[2]["PATH"] = "../config/deepocean_theme.php";
  43. $theme[2]["NAME"] = "Deep Ocean";
  44. $theme[3]["PATH"] = "../config/slashdot_theme.php";
  45. $theme[3]["NAME"] = "Slashdot";
  46. $theme[4]["PATH"] = "../config/purple_theme.php";
  47. $theme[4]["NAME"] = "Purple";
  48. $theme[5]["PATH"] = "../config/forest_theme.php";
  49. $theme[5]["NAME"] = "Forest";
  50. $theme[6]["PATH"] = "../config/ice_theme.php";
  51. $theme[6]["NAME"] = "Ice";
  52. // Whether or not to use a special color for special folders. If not, special
  53. // folders will be the same color as the other folders
  54. $use_special_folder_color = true;
  55. /* The following are related to deleting messages.
  56. * $move_to_trash
  57. * - if this is set to "true", when "delete" is pressed, it will attempt
  58. * to move the selected messages to the folder named $trash_folder. If
  59. * it's set to "false", we won't even attempt to move the messages, just
  60. * delete them.
  61. * $trash_folder
  62. * - This is the path to the default trash folder. For Cyrus IMAP, it
  63. * would be "INBOX.Trash", but for UW it would be "Trash". We need the
  64. * full path name here.
  65. * $auto_expunge
  66. * - If this is true, when a message is moved or copied, the source mailbox
  67. * will get expunged, removing all messages marked "Deleted".
  68. */
  69. $default_move_to_trash = true;
  70. $trash_folder = "INBOX.Trash";
  71. $auto_expunge = true;
  72. // Special Folders are folders that can't be manipulated like normal user created
  73. // folders can. A couple of examples would be "INBOX.Trash", "INBOX.Drafts". We have
  74. // them set to Netscape's default mailboxes, but this obviously can be changed.
  75. // To add one, just add a new number to the array.
  76. $special_folders[0] = "INBOX"; // The first one has to be the inbox (whatever the name is)
  77. $special_folders[1] = $trash_folder;
  78. $special_folders[2] = "INBOX.Sent";
  79. $special_folders[3] = "INBOX.Drafts";
  80. $special_folders[4] = "INBOX.Templates";
  81. // Whether or not to list the special folders first (true/false)
  82. $list_special_folders_first = true;
  83. // Are all your folders subfolders of INBOX (i.e. cyrus IMAP server)
  84. // If you are not sure, set it to false.
  85. $default_sub_of_inbox = true;
  86. // Some IMAP daemons (UW) handle folders weird. They only allow a folder to contain
  87. // either messages or other folders, not both at the same time. This option controls
  88. // whether or not to display an option during folder creation. The option toggles
  89. // which type of folder it should be.
  90. //
  91. // If this option confuses you, make it "true". You can't hurt anything if it's true,
  92. // but some servers will respond weird if it's false. (Cyrus works fine whether it's
  93. // true OR false).
  94. $show_contain_subfolders_option = false;
  95. // Whether or not to use META tags and automatically forward after an action has
  96. // been completed.
  97. $auto_forward = true;
  98. // Path to the data/ directory
  99. // It is a possible security hole to have a writable directory under the web server's
  100. // root directory (ex: /home/httpd/html). For this reason, it is possible to put
  101. // the data directory anywhere you would like. The path name can be absolute or
  102. // relative (to the config directory). It doesn't matter. Here are two examples:
  103. //
  104. // Absolute:
  105. // $data_dir = "/usr/local/squirrelmail/data/";
  106. //
  107. // Relative (to the config directory):
  108. // $data_dir = "../data/";
  109. $data_dir = "../data/";
  110. $attachment_dir = $data_dir;
  111. ?>