| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Local config overrides. |
| 5 | * |
| 6 | * You can override the config.php settings here. |
| 7 | * Don't do it unless you know what you're doing. |
| 8 | * Use standard PHP syntax, see config.php for examples. |
| 9 | * |
| 10 | * @copyright 2002-2015 The SquirrelMail Project Team |
| 11 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
| 12 | * @version $Id$ |
| 13 | * @package squirrelmail |
| 14 | * @subpackage config |
| 15 | */ |
| 16 | |
| 17 | |
| 18 | /** |
| 19 | * What follows are notes about "hidden" settings that |
| 20 | * are not defined in config.php and are only meant to |
| 21 | * be optionally defined by administrators who need to |
| 22 | * suit specific (unusual) setups. This file, of course, |
| 23 | * is not limited to setting these values - you can still |
| 24 | * specify overrides for anything in config.php. |
| 25 | * |
| 26 | * $custom_session_handlers (array) allows the definition |
| 27 | * of custom PHP session handlers. This feature is well |
| 28 | * documented in the code in include/init.php |
| 29 | * |
| 30 | * $hide_squirrelmail_header (must be defined as a constant: |
| 31 | * define('hide_squirrelmail_header', 1); |
| 32 | * This allows the administrator to force SquirrelMail never |
| 33 | * to add its own Received headers with user information in |
| 34 | * them. This is VERY DANGEROUS and is HIGHLY DISCOURAGED |
| 35 | * |
| 36 | * $show_timezone_name allows (boolean) the addition of the |
| 37 | * timezone name to the Date header in outgoing messages. |
| 38 | * Turning this on violates RFC 822 syntax and can result in |
| 39 | * more serious problems (unencoded 8 bit characters in headers) |
| 40 | * on some systems. |
| 41 | * |
| 42 | * $force_crlf_default (string) Can be used to force CRLF or LF |
| 43 | * line endings in decoded message parts. In some environments |
| 44 | * this allows attachments to be downloaded with operating-system |
| 45 | * friendly line endings. This setting may be overridden by |
| 46 | * certain plugins or on systems running PHP versions less than |
| 47 | * 4.3.0. Set to 'CRLF' or 'LF' or, to force line endings to be |
| 48 | * unmolested, set to some other string, such as 'NOCHANGE' |
| 49 | * |
| 50 | * $subfolders_of_inbox_are_special (boolean) can be set to TRUE |
| 51 | * if any subfolders of the INBOX should be treated as "special" |
| 52 | * (those that are displayed in a different color than other |
| 53 | * "normal" mailboxes). |
| 54 | * |
| 55 | * $smtp_stream_options allows more control over the SSL context |
| 56 | * used when connecting to the SMTP server over SSL/TLS. See: |
| 57 | * http://www.php.net/manual/context.php and in particular |
| 58 | * http://php.net/manual/context.ssl.php |
| 59 | * For example, you can specify a CA file that corresponds |
| 60 | * to your server's certificate and make sure that the |
| 61 | * server's certificate is validated when connecting: |
| 62 | * $smtp_stream_options = array( |
| 63 | * 'ssl' => array( |
| 64 | * 'cafile' => '/etc/pki/tls/certs/ca-bundle.crt', |
| 65 | * 'verify_peer' => true, |
| 66 | * 'verify_depth' => 3, |
| 67 | * ), |
| 68 | * ); |
| 69 | * |
| 70 | * $imap_stream_options allows more control over the SSL |
| 71 | * context used when connecting to the IMAP server over |
| 72 | * SSL/TLS. See: http://www.php.net/manual/context.php |
| 73 | * and in particular http://php.net/manual/context.ssl.php |
| 74 | * For example, you can specify a CA file that corresponds |
| 75 | * to your server's certificate and make sure that the |
| 76 | * server's certificate is validated when connecting: |
| 77 | * $imap_stream_options = array( |
| 78 | * 'ssl' => array( |
| 79 | * 'cafile' => '/etc/pki/tls/certs/ca-bundle.crt', |
| 80 | * 'verify_peer' => true, |
| 81 | * 'verify_depth' => 3, |
| 82 | * ), |
| 83 | * ); |
| 84 | */ |
| 85 | |