root/trunk/lichen-config-example.php
| Revision 212, 2.8 kB (checked in by daniel, 1 year ago) |
|---|
| Line | |
|---|---|
| 1 | <?php |
| 2 | //------------------------------------------------------------------------------ |
| 3 | // |
| 4 | // Lichen configuration file |
| 5 | // |
| 6 | // To get started, set these options and save this file as lichen-config.php |
| 7 | // |
| 8 | //------------------------------------------------------------------------------ |
| 9 | |
| 10 | // Name and external domain of the SMTP server that Lichen will use to send |
| 11 | // mail (the domain is the part after @ in your return e-mail address). |
| 12 | $SMTP_SERVER = "localhost"; |
| 13 | $SMTP_DOMAIN = $_SERVER['SERVER_NAME']; |
| 14 | |
| 15 | // Location to store user settings and uploaded attachments. |
| 16 | // This directory must be writable by the web server, and ideally should not |
| 17 | // be inside your web root -- see the installation guide. |
| 18 | $LICHEN_DATA = "./data/"; |
| 19 | |
| 20 | // Name of the IMAP server from which Lichen will read mail. |
| 21 | $IMAP_SERVER = "localhost"; |
| 22 | |
| 23 | |
| 24 | //------------------------------------------------------------------------------ |
| 25 | // |
| 26 | // Advanced options |
| 27 | // |
| 28 | //------------------------------------------------------------------------------ |
| 29 | |
| 30 | // Names of the three special IMAP folders. |
| 31 | $SPECIAL_FOLDERS['inbox'] = "INBOX"; |
| 32 | $SPECIAL_FOLDERS['sent'] = "Sent"; |
| 33 | $SPECIAL_FOLDERS['drafts'] = "Drafts"; |
| 34 | $SPECIAL_FOLDERS['trash'] = "Trash"; |
| 35 | |
| 36 | // By default, unencrypted port 143 will be used when the IMAP server is |
| 37 | // localhost, and SSL on port 993 will be used for any other server. |
| 38 | // To override this, set $IMAP_FORCE_NO_SSL to true and specify a port number. |
| 39 | // If you use TLS instead of SSL, set $IMAP_USE_TLS to true. If you do use SSL |
| 40 | // but have a self-signed certificate, set $IMAP_CHECK_CERTS to false. |
| 41 | $IMAP_PORT = 0; |
| 42 | $IMAP_FORCE_NO_SSL = false; |
| 43 | $IMAP_USE_TLS = false; |
| 44 | $IMAP_CHECK_CERTS = true; |
| 45 | |
| 46 | // Port to use when connecting to the SMTP server -- usually 25, 465 (secure), |
| 47 | // or 587 -- and whether or not to use SSL for this connection. |
| 48 | // If $SMTP_AUTH is true, Lichen will authenticate before sending mail using |
| 49 | // the same credentials as for the IMAP server. |
| 50 | $SMTP_PORT = 25; |
| 51 | $SMTP_USE_SSL = false; |
| 52 | $SMTP_USE_TLS = false; |
| 53 | $SMTP_AUTH = true; |
| 54 | |
| 55 | // Date formats to use for new/old messages in mailbox lists, and when showing |
| 56 | // a single message. The letters are those used by PHP's date function; see |
| 57 | // http://php.net/manual/en/function.date.php |
| 58 | $DATE_FORMAT_NEW = 'g:i A l'; |
| 59 | $DATE_FORMAT_OLD = 'j M g:i A'; |
| 60 | $DATE_FORMAT_LONG = 'D&\nb\sp;j&\nb\sp;F&\nb\sp;Y'; |
| 61 | $DATE_FORMAT_MSG = 'g:i A D&\nb\sp;j&\nb\sp;F&\nb\sp;Y'; |
| 62 | |
| 63 | // Maximum size of attachment uploads, in bytes. This is only a guide for the |
| 64 | // client browser; the actual limit is set by the values upload_max_filesize |
| 65 | // and post_max_size in your php.ini file. |
| 66 | $UPLOAD_ATTACHMENT_MAX = 10485760; |
| 67 | |
| 68 | // To override the default settings for new users, define parameters here. |
| 69 | // To force changes to be merged with existing user settings next time they |
| 70 | // log in, increment defaults_version. |
| 71 | $DEFAULT_SETTINGS = array( |
| 72 | "defaults_version" => 2 |
| 73 | ); |
| 74 | |
| 75 | ?> |
| 76 |
Note: See TracBrowser for help on using the browser.


