squirrelmail-webmail
1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
![]() ![]() |
Go to the source code of this file.
Namespaces | |
squirrelmail | |
Variables | |
global | $version |
global | $config_version = '1.4.0' |
$org_name = "SquirrelMail" | |
$org_logo = SM_PATH . 'images/sm_logo.png' | |
$org_logo_width = '308' | |
$org_logo_height = '111' | |
$org_title = "SquirrelMail $version" | |
$signout_page = '' | |
$frame_top = '_top' | |
$provider_name = 'SquirrelMail' | |
$provider_uri = 'http://squirrelmail.org/' | |
$domain = 'example.com' | |
$invert_time = false | |
$useSendmail = false | |
$smtpServerAddress = 'localhost' | |
$smtpPort = 25 | |
$encode_header_key = '' | |
$sendmail_path = '/usr/sbin/sendmail' | |
$sendmail_args = '-i -t' | |
$imapServerAddress = 'localhost' | |
$imapPort = 143 | |
$imap_server_type = 'other' | |
$use_imap_tls = false | |
$use_smtp_tls = false | |
$smtp_auth_mech = 'none' | |
$smtp_sitewide_user = '' | |
$smtp_sitewide_pass = '' | |
$imap_auth_mech = 'login' | |
$optional_delimiter = 'detect' | |
$pop_before_smtp = false | |
$pop_before_smtp_host = '' | |
$default_folder_prefix = '' | |
$show_prefix_option = false | |
$default_move_to_trash = true | |
$default_move_to_sent = true | |
$default_save_as_draft = true | |
$trash_folder = 'INBOX.Trash' | |
$sent_folder = 'INBOX.Sent' | |
$draft_folder = 'INBOX.Drafts' | |
$auto_expunge = true | |
$delete_folder = false | |
$use_special_folder_color = true | |
$auto_create_special = true | |
$list_special_folders_first = true | |
$default_sub_of_inbox = true | |
$show_contain_subfolders_option = false | |
$default_unseen_notify = 2 | |
$default_unseen_type = 1 | |
$noselect_fix_enable = false | |
$data_dir = '/var/local/squirrelmail/data/' | |
$attachment_dir = '/var/local/squirrelmail/attach/' | |
$dir_hash_level = 0 | |
$default_left_size = '150' | |
$force_username_lowercase = false | |
$default_use_priority = true | |
$hide_sm_attributions = false | |
$default_use_mdn = true | |
$edit_identity = true | |
$edit_name = true | |
$hide_auth_header = false | |
$allow_thread_sort = false | |
$allow_server_sort = false | |
$allow_charset_search = true | |
$uid_support = true | |
$session_name = 'SQMSESSID' | |
$config_location_base = '' | |
$theme_default = 0 | |
$theme_css = '' | |
$theme [0]['PATH'] = SM_PATH . 'themes/default_theme.php' | |
$theme [0]['NAME'] = 'Default' | |
$theme [1]['PATH'] = SM_PATH . 'themes/plain_blue_theme.php' | |
$theme [1]['NAME'] = 'Plain Blue' | |
$theme [2]['PATH'] = SM_PATH . 'themes/sandstorm_theme.php' | |
$theme [2]['NAME'] = 'Sand Storm' | |
$theme [3]['PATH'] = SM_PATH . 'themes/deepocean_theme.php' | |
$theme [3]['NAME'] = 'Deep Ocean' | |
$theme [4]['PATH'] = SM_PATH . 'themes/slashdot_theme.php' | |
$theme [4]['NAME'] = 'Slashdot' | |
$theme [5]['PATH'] = SM_PATH . 'themes/purple_theme.php' | |
$theme [5]['NAME'] = 'Purple' | |
$theme [6]['PATH'] = SM_PATH . 'themes/forest_theme.php' | |
$theme [6]['NAME'] = 'Forest' | |
$theme [7]['PATH'] = SM_PATH . 'themes/ice_theme.php' | |
$theme [7]['NAME'] = 'Ice' | |
$theme [8]['PATH'] = SM_PATH . 'themes/seaspray_theme.php' | |
$theme [8]['NAME'] = 'Sea Spray' | |
$theme [9]['PATH'] = SM_PATH . 'themes/bluesteel_theme.php' | |
$theme [9]['NAME'] = 'Blue Steel' | |
$theme [10]['PATH'] = SM_PATH . 'themes/dark_grey_theme.php' | |
$theme [10]['NAME'] = 'Dark Grey' | |
$theme [11]['PATH'] = SM_PATH . 'themes/high_contrast_theme.php' | |
$theme [11]['NAME'] = 'High Contrast' | |
$theme [12]['PATH'] = SM_PATH . 'themes/black_bean_burrito_theme.php' | |
$theme [12]['NAME'] = 'Black Bean Burrito' | |
$theme [13]['PATH'] = SM_PATH . 'themes/servery_theme.php' | |
$theme [13]['NAME'] = 'Servery' | |
$theme [14]['PATH'] = SM_PATH . 'themes/maize_theme.php' | |
$theme [14]['NAME'] = 'Maize' | |
$theme [15]['PATH'] = SM_PATH . 'themes/bluesnews_theme.php' | |
$theme [15]['NAME'] = 'BluesNews' | |
$theme [16]['PATH'] = SM_PATH . 'themes/deepocean2_theme.php' | |
$theme [16]['NAME'] = 'Deep Ocean 2' | |
$theme [17]['PATH'] = SM_PATH . 'themes/blue_grey_theme.php' | |
$theme [17]['NAME'] = 'Blue Grey' | |
$theme [18]['PATH'] = SM_PATH . 'themes/dompie_theme.php' | |
$theme [18]['NAME'] = 'Dompie' | |
$theme [19]['PATH'] = SM_PATH . 'themes/methodical_theme.php' | |
$theme [19]['NAME'] = 'Methodical' | |
$theme [20]['PATH'] = SM_PATH . 'themes/greenhouse_effect.php' | |
$theme [20]['NAME'] = 'Greenhouse Effect (Changes)' | |
$theme [21]['PATH'] = SM_PATH . 'themes/in_the_pink.php' | |
$theme [21]['NAME'] = 'In The Pink (Changes)' | |
$theme [22]['PATH'] = SM_PATH . 'themes/kind_of_blue.php' | |
$theme [22]['NAME'] = 'Kind of Blue (Changes)' | |
$theme [23]['PATH'] = SM_PATH . 'themes/monostochastic.php' | |
$theme [23]['NAME'] = 'Monostochastic (Changes)' | |
$theme [24]['PATH'] = SM_PATH . 'themes/shades_of_grey.php' | |
$theme [24]['NAME'] = 'Shades of Grey (Changes)' | |
$theme [25]['PATH'] = SM_PATH . 'themes/spice_of_life.php' | |
$theme [25]['NAME'] = 'Spice of Life (Changes)' | |
$theme [26]['PATH'] = SM_PATH . 'themes/spice_of_life_lite.php' | |
$theme [26]['NAME'] = 'Spice of Life - Lite (Changes)' | |
$theme [27]['PATH'] = SM_PATH . 'themes/spice_of_life_dark.php' | |
$theme [27]['NAME'] = 'Spice of Life - Dark (Changes)' | |
$theme [28]['PATH'] = SM_PATH . 'themes/christmas.php' | |
$theme [28]['NAME'] = 'Holiday - Christmas' | |
$theme [29]['PATH'] = SM_PATH . 'themes/darkness.php' | |
$theme [29]['NAME'] = 'Darkness (Changes)' | |
$theme [30]['PATH'] = SM_PATH . 'themes/random.php' | |
$theme [30]['NAME'] = 'Random (Changes every login)' | |
$theme [31]['PATH'] = SM_PATH . 'themes/midnight.php' | |
$theme [31]['NAME'] = 'Midnight' | |
$theme [32]['PATH'] = SM_PATH . 'themes/alien_glow.php' | |
$theme [32]['NAME'] = 'Alien Glow' | |
$theme [33]['PATH'] = SM_PATH . 'themes/dark_green.php' | |
$theme [33]['NAME'] = 'Dark Green' | |
$theme [34]['PATH'] = SM_PATH . 'themes/penguin.php' | |
$theme [34]['NAME'] = 'Penguin' | |
$theme [35]['PATH'] = SM_PATH . 'themes/minimal_bw.php' | |
$theme [35]['NAME'] = 'Minimal BW' | |
$theme [36]['PATH'] = SM_PATH . 'themes/redmond.php' | |
$theme [36]['NAME'] = 'Redmond' | |
$theme [37]['PATH'] = SM_PATH . 'themes/netstyle_theme.php' | |
$theme [37]['NAME'] = 'Net Style' | |
$theme [38]['PATH'] = SM_PATH . 'themes/silver_steel_theme.php' | |
$theme [38]['NAME'] = 'Silver Steel' | |
$theme [39]['PATH'] = SM_PATH . 'themes/simple_green_theme.php' | |
$theme [39]['NAME'] = 'Simple Green' | |
$theme [40]['PATH'] = SM_PATH . 'themes/wood_theme.php' | |
$theme [40]['NAME'] = 'Wood' | |
$theme [41]['PATH'] = SM_PATH . 'themes/bluesome.php' | |
$theme [41]['NAME'] = 'Bluesome' | |
$theme [42]['PATH'] = SM_PATH . 'themes/simple_green2.php' | |
$theme [42]['NAME'] = 'Simple Green 2' | |
$theme [43]['PATH'] = SM_PATH . 'themes/simple_purple.php' | |
$theme [43]['NAME'] = 'Simple Purple' | |
$theme [44]['PATH'] = SM_PATH . 'themes/autumn.php' | |
$theme [44]['NAME'] = 'Autumn' | |
$theme [45]['PATH'] = SM_PATH . 'themes/autumn2.php' | |
$theme [45]['NAME'] = 'Autumn 2' | |
$theme [46]['PATH'] = SM_PATH . 'themes/blue_on_blue.php' | |
$theme [46]['NAME'] = 'Blue on Blue' | |
$theme [47]['PATH'] = SM_PATH . 'themes/classic_blue.php' | |
$theme [47]['NAME'] = 'Classic Blue' | |
$theme [48]['PATH'] = SM_PATH . 'themes/classic_blue2.php' | |
$theme [48]['NAME'] = 'Classic Blue 2' | |
$theme [49]['PATH'] = SM_PATH . 'themes/powder_blue.php' | |
$theme [49]['NAME'] = 'Powder Blue' | |
$theme [50]['PATH'] = SM_PATH . 'themes/techno_blue.php' | |
$theme [50]['NAME'] = 'Techno Blue' | |
$theme [51]['PATH'] = SM_PATH . 'themes/turquoise.php' | |
$theme [51]['NAME'] = 'Turquoise' | |
$default_use_javascript_addr_book = false | |
$abook_global_file = '' | |
$abook_global_file_writeable = false | |
$abook_global_file_listing = true | |
$abook_file_line_length = 2048 | |
$motd = "" | |
$addrbook_dsn = '' | |
$addrbook_table = 'address' | |
$prefs_dsn = '' | |
$prefs_table = 'userprefs' | |
$prefs_key_field = 'prefkey' | |
$prefs_user_field = 'user' | |
$prefs_val_field = 'prefval' | |
$addrbook_global_dsn = '' | |
$addrbook_global_table = 'global_abook' | |
$addrbook_global_writeable = false | |
$addrbook_global_listing = false | |
$squirrelmail_default_language = 'en_US' | |
$default_charset = 'iso-8859-1' | |
$lossy_encoding = false | |
$no_list_for_subscribe = false | |
$config_use_color = 2 | |
$abook_file_line_length = 2048 |
Controls file based address book entry size
This setting controls space allocated to file based address book records. End users will be unable to save address book entry, if total entry size (quoted address book fields + 4 delimiters + linefeed) exceeds allowed address book length size.
Same setting is applied to personal and global file based address books.
It is strongly recommended to keep default setting value. Change it only if you really want to store address book entries that are bigger than two kilobytes (2048). @global integer $abook_file_line_length
Definition at line 925 of file config_default.php.
Referenced by addressbook_init().
$abook_global_file = '' |
Shared filebased address book @global string $abook_global_file
Definition at line 893 of file config_default.php.
Referenced by addressbook_init().
$abook_global_file_listing = true |
Listing of shared address book control @global bool $abook_global_file_listing
Definition at line 907 of file config_default.php.
Referenced by addressbook_init().
$abook_global_file_writeable = false |
Writing into shared address book control @global bool $abook_global_file_writeable
Definition at line 900 of file config_default.php.
Referenced by addressbook_init().
$addrbook_dsn = '' |
To install plugins, just add elements to this array that have the plugin directory name relative to the /plugins/ directory. For instance, for the 'squirrelspell' plugin, you'd put a line like the following. $plugins[0] = 'squirrelspell'; $plugins[1] = 'listcommands';Read the administrator's manual in order to get more information about these settings.Database-driven private addressbooks DSN (Data Source Name) for a database where the private addressbooks are stored. See the administrator's manual for more info. If it is not set, the addressbooks are stored in files in the data dir. The DSN is in the format: mysql://user:pass@hostname/dbname The table is the name of the table to use within the specified database.
NOTE: please see security note at the top of this file when entering a password.
Definition at line 965 of file config_default.php.
$addrbook_global_dsn = '' |
DSN of global address book database @global string $addrbook_global_dsn
Definition at line 982 of file config_default.php.
$addrbook_global_listing = false |
Control listing of global database address book @global boolean $addrbook_global_listing
Definition at line 1000 of file config_default.php.
Referenced by addressbook_init().
$addrbook_global_table = 'global_abook' |
Table used for global database address book @global string $addrbook_global_table
Definition at line 988 of file config_default.php.
Referenced by addressbook_init().
$addrbook_global_writeable = false |
Control writing into global database address book @global boolean $addrbook_global_writeable
Definition at line 994 of file config_default.php.
Referenced by addressbook_init().
$addrbook_table = 'address' |
Definition at line 966 of file config_default.php.
Referenced by addressbook_init().
$allow_charset_search = true |
IMAP Charset Use Control
This option allows you to choose if SM uses charset search Your imap server should support SEARCH CHARSET command for this to work. @global bool $allow_charset_search
Definition at line 635 of file config_default.php.
Referenced by filter_search_and_delete(), and sqimap_search().
$allow_server_sort = false |
Server Side Sorting Control
to use server-side sorting instead of SM client side. Your IMAP server must support the SORT extension for this to work. @global bool $allow_server_sort
Definition at line 625 of file config_default.php.
Referenced by attachSelectedMessages(), displayMessageArray(), findNextMessage(), findPreviousMessage(), fix_sort_array(), mail_message_listing_beginning(), printMessageInfo(), printSearchMessages(), showMessagesForMailbox(), and sqimap_get_small_header_list().
$allow_thread_sort = false |
Server Side Threading Control
If you want to enable server side thread sorting options Your IMAP server must support the THREAD extension for this to work. @global bool $allow_thread_sort
Definition at line 615 of file config_default.php.
Referenced by fix_sort_array(), load_optpage_data_display(), and mail_message_listing_beginning().
$attachment_dir = '/var/local/squirrelmail/attach/' |
Attachments directory
Path to directory used for storing attachments while a mail is being sent. There are a few security considerations regarding this directory:
Definition at line 517 of file config_default.php.
Referenced by attachSelectedMessages(), filters_bulkquery(), getAttachments(), getMessage_RFC822_Attachment(), Deliver\prepareMIME_Header(), Message\purgeAttachments(), saveAttachedFiles(), SendMDN(), showInputForm(), and Deliver\writeBodyPart().
$auto_create_special = true |
Create Special Folders Control
Should I create the Sent and Trash folders automatically for a new user that doesn't already have them created? @global bool $auto_create_special
Definition at line 416 of file config_default.php.
Referenced by sent_subfolders_update_sentfolder().
$auto_expunge = true |
Definition at line 397 of file config_default.php.
Referenced by delete_move_next_delete(), delete_move_next_move(), delete_move_next_read(), mail_message_listing_beginning(), showMessagesForMailbox(), spamcop_while_sending(), sqimap_mailbox_select(), and sqimap_messages_delete().
$config_location_base = '' |
Location base
This is used to build the URL to the SquirrelMail location. It should contain only the protocol and hostname/port parts of the URL; the full path will be appended automatically.
If not specified or empty, it will be autodetected.
Examples: http://webmail.example.org http://webmail.example.com:8080 https://webmail.example.com:6691
To be clear: do not include any of the path elements, so if SquirrelMail is at http://example.net/web/mail/src/login.php, you write: http://example.net
@global string $config_location_base
Definition at line 675 of file config_default.php.
Referenced by get_location().
$config_use_color = 2 |
Color in config control
This option is used only by conf.pl script to generate configuration menu with some colors and is provided here only as reference. @global integer $config_use_color
Definition at line 1060 of file config_default.php.
$config_version = '1.4.0' |
Definition at line 27 of file config_default.php.
$data_dir = '/var/local/squirrelmail/data/' |
Path to the data/ directory
It is a possible security hole to have a writable directory under the web server's root directory (ex: /home/httpd/html). It is possible to put the data directory anywhere you would like; it is strongly advised that it is NOT directly web-accessible.
The path name can be absolute or relative (to the config directory). If it is relative, it must use the SM_PATH constant. Here are two examples:
Absolute: $data_dir = '/var/local/squirrelmail/data/';
Relative (to main SM directory): $data_dir = SM_PATH . 'data/'; (NOT recommended: you need to secure apache to make sure these files are not world readable)
@global string $data_dir
Definition at line 499 of file config_default.php.
Referenced by addressbook_init(), attachSelectedMessages(), bug_report_block_do(), bug_report_button_do(), cachePrefValues(), checkForPrefs(), compose_Header(), compute_folder_children(), delete_event(), delete_move_next_display_inside(), delete_move_next_display_save(), delete_move_next_loading_prefs(), delete_saved(), deliverMessage(), filter_swap(), filters_LoadCache(), filters_SaveCache(), filters_special_mailbox(), fix_sort_array(), forget_recent(), fortune(), fortune_show_options(), AddressBook\full_address(), get_abook_sort(), get_identities(), get_paginator_str(), get_recent(), get_saved(), getAttachments(), getMessage_RFC822_Attachment(), getPref(), getSig(), load_filters(), load_optpage_data_personal(), load_spam_filters(), mail_fetch_folderact(), mail_fetch_load_pref(), mail_fetch_login(), mail_fetch_setnew(), newMail(), newmail_pref(), newmail_sav(), pf_clean_string(), readcalendardata(), remove_filter(), removePref(), replyAllString(), save_identities(), save_option_draft_folder(), save_option_javascript_autodetect(), save_option_reply_prefix(), save_option_sent_folder(), save_option_sent_subfolders_setting(), save_option_signature(), save_option_trash_folder(), save_recent(), saveAttachedFiles(), savePrefValues(), SendMDN(), sent_subfolders_load_prefs(), sent_subfolders_special_mailbox(), sent_subfolders_update_sentfolder(), set_my_charset(), setPref(), setSig(), showComposeButtonRow(), showInputForm(), spam_filters(), spamcop_load(), sqimap_get_small_header_list(), sqimap_mailbox_delete(), sqimap_mailbox_list(), sqimap_mailbox_option_list(), sqimap_mailbox_rename(), translate_pref(), update_event(), update_for_folder(), update_recent(), user_filters(), and writecalendardata().
$default_charset = 'iso-8859-1' |
Default Charset
This option controls what character set is used when sending mail and when sending HTML to the browser. Do not set this to US-ASCII, use ISO-8859-1 instead.
This option is active only when default language is en_US. In other cases SquirrelMail uses charset that depends on default language. See $squirrelmail_default_language
@global string $default_charset
Definition at line 1027 of file config_default.php.
Referenced by charset_decode(), abook_ldap_server\charset_decode(), abook_ldap_server\charset_encode(), charset_encode(), decodeHeader(), deliverMessage(), encodeHeader(), get_thread_sort(), imap_test(), imap_utf7_decode_local(), imap_utf7_encode_local(), is_conversion_safe(), newMail(), SendMDN(), set_my_charset(), set_up_language(), showInputForm(), sqimap_get_sort_order(), and sqimap_mb_convert_encoding().
$default_folder_prefix = '' |
Default IMAP folder prefix
Many servers store mail in your home directory. With this, they store them in a subdirectory: mail/ or Mail/, etc. If your server does this, please set this to what the default mail folder should be. This is still a user preference, so they can change it if it is different for each user.
Example: $default_folder_prefix = 'mail/'; – or – $default_folder_prefix = 'Mail/folders/';
If you do not use this, set it to the empty string. @global string $default_folder_prefix
Definition at line 342 of file config_default.php.
Referenced by error_message(), load_optpage_data_folder(), and sqimap_mailbox_list().
$default_left_size = '150' |
Default Size of Folder List
This is the default size of the folder list. Default is 150, but you can set it to whatever you wish. @global string $default_left_size
Definition at line 539 of file config_default.php.
$default_move_to_sent = true |
Definition at line 392 of file config_default.php.
Referenced by deliverMessage(), and SendMDN().
$default_move_to_trash = true |
The following are related to deleting messages. $default_move_to_trash If this is set to 'true', when 'delete' is pressed, it will attempt to move the selected messages to the folder named $trash_folder. If it's set to 'false', we won't even attempt to move the messages, just delete them. $default_move_to_sent If this is set to 'true', sent messages will be stored in $sent_folder by default. $default_save_as_draft If this is set to 'true', users are able to use $draft_folder to store their unfinished messages. $trash_folder This is the path to the default trash folder. For Cyrus IMAP, it would be 'INBOX.Trash', but for UW it would be 'Trash'. We need the full path name here. $draft_folder This is the patch to where Draft messages will be stored. $auto_expunge If this is true, when a message is moved or copied, the source mailbox will get expunged, removing all messages marked 'Deleted'. $sent_folder This is the path to where Sent messages will be stored. $delete_folder If this is true, when a folder is deleted then it will not get moved into the Trash folder. @global bool $default_move_to_trash @global bool $default_move_to_sent @global bool $default_save_as_draft @global string $trash_folder @global string $sent_folder @global string $draft_folder @global bool $auto_expunge @global bool $delete_folder
Definition at line 391 of file config_default.php.
$default_save_as_draft = true |
Definition at line 393 of file config_default.php.
$default_sub_of_inbox = true |
Subfolder Layout Control
Are all your folders subfolders of INBOX (i.e. cyrus IMAP server). If you are unsure, set it to false. @global bool $default_sub_of_inbox
Definition at line 433 of file config_default.php.
Referenced by sqimap_mailbox_list().
$default_unseen_notify = 2 |
These next two options set the defaults for the way that the users see their folder list. $default_unseen_notify Specifies whether or not the users will see the number of unseen in each folder by default and also which folders to do this to. Valid values are: 1=none, 2=inbox, 3=all. $default_unseen_type Specifies the type of notification to give the users by default. Valid choice are: 1=(4), 2=(4,25). @global integer $default_unseen_notify @global integer $default_unseen_type
Definition at line 464 of file config_default.php.
$default_unseen_type = 1 |
Definition at line 465 of file config_default.php.
$default_use_javascript_addr_book = false |
LDAP server(s) Array of arrays with LDAP server parameters. See functions/abook_ldap_server.php for a list of possible parameters
EXAMPLE: $ldap_server[0] = Array( 'host' => 'memberdir.netscape.com', 'name' => 'Netcenter Member Directory', 'base' => 'ou=member_directory,o=netcenter.com' );
NOTE: please see security note at the top of this file when entering a password.Javascript in Addressbook Control
Users may search their addressbook via either a plain HTML or Javascript enhanced user interface. This option allows you to set the default choice. Set this default choice as either: true = javascript false = html @global bool $default_use_javascript_addr_book
Definition at line 886 of file config_default.php.
$default_use_mdn = true |
Delivery Receipts Control
This option enables use of read/delivery receipts by end users. @global bool $default_use_mdn
Definition at line 575 of file config_default.php.
Referenced by displayPageHeader(), formatEnvheader(), load_optpage_data_display(), showComposeButtonRow(), and showInputForm().
$default_use_priority = true |
Email Priority Control
This option enables use of email priority flags by end users. @global bool $default_use_priority
Definition at line 558 of file config_default.php.
Referenced by formatEnvheader(), newMail(), printMessageInfo(), and showComposeButtonRow().
$delete_folder = false |
Definition at line 398 of file config_default.php.
$dir_hash_level = 0 |
Hash level used for data directory.
This option allows spliting file based squirrelmail user data storage directory into several subfolders. Number from 0 to 4 allows allows having up to four subfolder levels.
Hashing should speed up directory access if you have big number of users (500 and more). @global integer $dir_hash_level
Definition at line 530 of file config_default.php.
Referenced by getHashedDir(), and getHashedFile().
$domain = 'example.com' |
Default Domain
The domain part of local email addresses. This is for all messages sent out from this server. Reply address is generated by $username$domain Example: In bob@e, example.com is the domain. @global string $domain xamp le.co m
Definition at line 118 of file config_default.php.
Referenced by deliverMessage(), get_identities(), Deliver_SMTP\initStream(), is_logged_in(), Deliver\prepareRFC822_Header(), save_identities(), SendMDN(), and sq_bindtextdomain().
$draft_folder = 'INBOX.Drafts' |
Definition at line 396 of file config_default.php.
Referenced by deliverMessage(), formatMailboxName(), formatMenubar(), isDraftMailbox(), and sqimap_mailbox_list().
$edit_identity = true |
Identity Controls
If you don't want to allow users to change their email address then you can set $edit_identity to false, if you want them to not be able to change their full name too then set $edit_name to false as well. $edit_name has no effect unless $edit_identity is false; @global bool $edit_identity @global bool $edit_name
Definition at line 588 of file config_default.php.
Referenced by load_optpage_data_personal(), and Deliver\prepareRFC822_Header().
$edit_name = true |
Definition at line 589 of file config_default.php.
Referenced by load_optpage_data_personal().
$encode_header_key = '' |
SquirrelMail header encryption
Encryption key allows to hide SquirrelMail Received: headers in outbound messages. Interface uses encryption key to encode username, remote address and proxied address, then stores encoded information in X-Squirrel-* headers.
Warning: used encryption function is not bulletproof. When used with static encryption keys, it provides only minimal security measures and information can be decoded quickly.
Encoded information can be decoded with decrypt_headers.php script from SquirrelMail contrib/ directory. @global string $encode_header_key
Definition at line 170 of file config_default.php.
Referenced by Deliver\prepareRFC822_Header().
$force_username_lowercase = false |
Username Case Control
Some IMAP servers allow a username (like 'bob') to log in if they use uppercase in their name (like 'Bob' or 'BOB'). This creates extra preference files. Toggling this option to true will transparently change all usernames to lowercase. @global bool $force_username_lowercase
Definition at line 550 of file config_default.php.
$frame_top = '_top' |
Top frame
By default SquirrelMail takes up the whole browser window, this allows you to embed it within sites using frames. Set this to the frame you want it to stay in. @global string $frame_top
Definition at line 84 of file config_default.php.
Referenced by compose_Header(), displayPageHeader(), and logout_error().
$hide_auth_header = false |
SquirrelMail adds username information to every sent email. It is done in order to prevent possible sender forging when end users are allowed to change their email and name information.
You can disable this header, if you think that it violates user's privacy or security. Please note, that setting will work only when users are not allowed to change their identity.
See SquirrelMail bug tracker #847107 for more details about it. @global bool $hide_auth_header
Definition at line 605 of file config_default.php.
Referenced by Deliver\prepareRFC822_Header().
$hide_sm_attributions = false |
SquirrelMail Attributions Control
This option disables display of "created by squirrelmail developers" strings and provider link @global bool $hide_sm_attributions
Definition at line 567 of file config_default.php.
Referenced by compose_Header(), displayPageHeader(), and logout_error().
$imap_auth_mech = 'login' |
IMAP authentication mechanism
auth_mech can be either 'login','plain', 'cram-md5', or 'digest-md5' @global string $imap_auth_mech
Definition at line 285 of file config_default.php.
Referenced by sqimap_login().
$imap_server_type = 'other' |
IMAP server type
The type of IMAP server you are running. Valid type are the following (case is important): courier cyrus exchange uw macosx hmailserver other
Please note that this changes only some of server settings.
In order to set everything correctly, you need to adjust several squirrelmail options. These options are listed in doc/presets.txt @global string $imap_server_type
Definition at line 231 of file config_default.php.
Referenced by filter_search_and_delete(), get_location(), printHeader(), sent_subfolders_update_sentfolder(), sqimap_get_small_header_list(), sqimap_get_sort_order(), sqimap_mailbox_rename(), and sqimap_search().
$imapPort = 143 |
IMAP server port
Port used by your imap server. (Usually 143) @global integer $imapPort
Definition at line 210 of file config_default.php.
Referenced by deliverMessage(), formatBody(), load_optpage_data_folder(), Deliver\mail(), mail_fetch_login(), newMail(), newmail_plugin(), sent_subfolders_optpage_loadhook_folders(), sent_subfolders_update_sentfolder(), spamcop_while_sending(), and start_filters().
$imapServerAddress = 'localhost' |
IMAP server address
The dns name (or IP address) for your imap server. @global string $imapServerAddress
Definition at line 202 of file config_default.php.
Referenced by deliverMessage(), displayMessageArray(), formatBody(), load_optpage_data_folder(), Deliver\mail(), mail_fetch_login(), newMail(), newmail_plugin(), sent_subfolders_optpage_loadhook_folders(), sent_subfolders_update_sentfolder(), spamcop_while_sending(), and start_filters().
$invert_time = false |
Time offset inversion
If you are running on a machine that doesn't have the tm_gmtoff value in your time structure and if you are in a time zone that has a negative offset, you need to set this value to 1. This is typically people in the US that are running Solaris 7. @global bool $invert_time
Definition at line 129 of file config_default.php.
Referenced by getDateString(), and Deliver\timezone().
$list_special_folders_first = true |
List Special Folders First Control
Whether or not to list the special folders first (true/false). @global bool $list_special_folders_first
Definition at line 424 of file config_default.php.
Referenced by sqimap_mailbox_list(), and sqimap_mailbox_list_all().
$lossy_encoding = false |
Lossy Encoding Control
This option allows charset conversions when output charset does not support all symbols used in original charset. Symbols unsupported by output charset will be replaced with question marks. @global bool $lossy_encoding
Definition at line 1038 of file config_default.php.
Referenced by is_conversion_safe().
$motd = "" |
MOTD
This is a message that is displayed immediately after a user logs in. @global string $motd
Definition at line 933 of file config_default.php.
$no_list_for_subscribe = false |
Subscribe Listing Control
this disables listing all of the folders on the IMAP Server to generate the folder subscribe listbox (this can take a long time when you have a lot of folders). Instead, a textbox will be displayed allowing users to enter a specific folder name to subscribe to
This option can't be changed by conf.pl @global bool $no_list_for_subscribe
Definition at line 1051 of file config_default.php.
$noselect_fix_enable = false |
NoSelect Fix Control
This enables the no select fix for Cyrus when subfolders exist but parent folders do not @global bool $noselect_fix_enable
Definition at line 474 of file config_default.php.
Referenced by sqimap_mailbox_list().
$optional_delimiter = 'detect' |
IMAP folder delimiter
This is the delimiter that your IMAP server uses to distinguish between folders. For example, Cyrus uses '.' as the delimiter and a complete folder would look like 'INBOX.Friends.Bob', while UW uses '/' and would look like 'INBOX/Friends/Bob'. Normally this should be left at 'detect' but if you are sure you know what delimiter your server uses, you can specify it here.
To have it autodetect the delimiter, set it to 'detect'. @global string $optional_delimiter
Definition at line 300 of file config_default.php.
Referenced by sqimap_get_delimiter().
$org_logo = SM_PATH . 'images/sm_logo.png' |
Organization's logo picture (blank if none) @global string $org_logo
Definition at line 41 of file config_default.php.
Referenced by logout_error().
$org_logo_height = '111' |
The height of the logo (0 for default) @global string $org_logo_height
Definition at line 53 of file config_default.php.
Referenced by logout_error().
$org_logo_width = '308' |
The width of the logo (0 for default) @global string $org_logo_width
Definition at line 47 of file config_default.php.
Referenced by logout_error().
$org_name = "SquirrelMail" |
Organization's name @global string $org_name
Definition at line 35 of file config_default.php.
Referenced by logout_error().
$org_title = "SquirrelMail $version" |
Webmail Title
This is the web page title that appears at the top of the browser window. @global string $org_title
Definition at line 61 of file config_default.php.
Referenced by displayPageHeader(), error_box(), and newmail_plugin().
$pop_before_smtp = false |
POP before SMTP setting
Do you wish to use POP3 before SMTP? Your server must support this in order for SquirrelMail to work with it. @global bool $pop_before_smtp
Definition at line 309 of file config_default.php.
Referenced by deliverMessage(), and SendMDN().
$pop_before_smtp_host = '' |
POP before SMTP server address
When using POP3 before SMTP, if the POP server address is not the same as the SMTP server address, specify it here. If this is left empty, the SMTP server address will be used by default. @global bool $pop_before_smtp_host
Definition at line 321 of file config_default.php.
Referenced by deliverMessage(), and SendMDN().
$prefs_dsn = '' |
Database used to store user data
Definition at line 970 of file config_default.php.
Referenced by dbPrefs\open().
$prefs_key_field = 'prefkey' |
Definition at line 972 of file config_default.php.
Referenced by dbPrefs\open().
$prefs_table = 'userprefs' |
Definition at line 971 of file config_default.php.
Referenced by dbPrefs\open().
$prefs_user_field = 'user' |
Definition at line 973 of file config_default.php.
Referenced by dbPrefs\open().
$prefs_val_field = 'prefval' |
Definition at line 974 of file config_default.php.
Referenced by dbPrefs\open().
$provider_name = 'SquirrelMail' |
Provider name
Here you can set name of the link displayed on the right side of main page.
Link will be displayed only if you have $hide_sm_attributions option set to true. @global string $provider_name
Definition at line 95 of file config_default.php.
Referenced by displayPageHeader().
$provider_uri = 'http://squirrelmail.org/' |
Provider URI
Here you can set URL of the link displayed on the right side of main page.
Link will be displayed only if you have $hide_sm_attributions option set to true. @global string $provider_uri
Definition at line 106 of file config_default.php.
Referenced by displayPageHeader().
$sendmail_args = '-i -t' |
Extra sendmail command arguments.
Sets additional sendmail command arguments. Make sure that arguments are supported by your sendmail program. -f argument is added automatically by SquirrelMail scripts. Variable defaults to standard /usr/sbin/sendmail arguments. If you use qmail-inject, nbsmtp or any other sendmail wrapper, which does not support -t and -i arguments, set variable to empty string or use arguments suitable for your mailer. @global string $sendmail_args
Definition at line 194 of file config_default.php.
Referenced by deliverMessage(), and SendMDN().
$sendmail_path = '/usr/sbin/sendmail' |
Path to Sendmail
Program that should be used when sending email. SquirrelMail expects that this program will follow options used by original sendmail (http://www.sendmail.org). @global string $sendmail_path
Definition at line 180 of file config_default.php.
Referenced by deliverMessage(), and SendMDN().
$sent_folder = 'INBOX.Sent' |
Definition at line 395 of file config_default.php.
Referenced by CheckNewMailboxSound(), deliverMessage(), formatMailboxName(), isSentMailbox(), SendMDN(), sent_subfolders_load_prefs(), sent_subfolders_special_mailbox(), sent_subfolders_update_sentfolder(), sqimap_append(), sqimap_get_sort_order(), sqimap_mailbox_list(), and sqimap_search().
$session_name = 'SQMSESSID' |
PHP session name.
Leave this alone unless you know what you are doing. @global string $session_name
Definition at line 651 of file config_default.php.
$show_contain_subfolders_option = false |
Subfolder Format Control
Some IMAP daemons (UW) handle folders weird. They only allow a folder to contain either messages or other folders, not both at the same time. This option controls whether or not to display an option during folder creation. The option toggles which type of folder it should be.
If this option confuses you, just set it to 'true'. You can not hurt anything if it's true, but some servers will respond weird if it's false. (Cyrus works fine whether it's true OR false). @global bool $show_contain_subfolders_option
Definition at line 449 of file config_default.php.
$show_prefix_option = false |
User level prefix control
If you do not wish to give them the option to change this, set it to false. Otherwise, if it is true, they can change the folder prefix to be anything. @global bool $show_prefix_option
Definition at line 352 of file config_default.php.
Referenced by load_optpage_data_folder().
$signout_page = '' |
Signout page
Rather than going to the signout.php page (which only allows you to sign back in), setting signout_page allows you to sign the user out and then redirect to whatever page you want. For instance, the following would return the user to your home page: $signout_page = '/'; Set to the empty string to continue to use the default signout page. @global string $signout_page
Definition at line 74 of file config_default.php.
$smtp_auth_mech = 'none' |
SMTP authentication mechanism
auth_mech can be either 'none', 'login','plain', 'cram-md5', or 'digest-md5' @global string $smtp_auth_mech
Definition at line 257 of file config_default.php.
Referenced by get_smtp_user(), and Deliver_SMTP\initStream().
$smtp_sitewide_pass = '' |
Custom SMTP Authentication Password
IMAP password is used if variable is set to an empty string. Variable is included in the main configuration file in 1.4.11+ and 1.5.2+ @global string $smtp_sitewide_pass
Definition at line 277 of file config_default.php.
Referenced by get_smtp_user().
$smtp_sitewide_user = '' |
Custom SMTP Authentication Username
IMAP username is used if variable is set to an empty string. Variable is included in the main configuration file only in 1.4.11+ and 1.5.2+. @global string $smtp_sitewide_user
Definition at line 267 of file config_default.php.
Referenced by get_smtp_user().
$smtpPort = 25 |
Your SMTP port number (usually 25). @global integer $smtpPort
Definition at line 151 of file config_default.php.
Referenced by deliverMessage(), and SendMDN().
$smtpServerAddress = 'localhost' |
Your SMTP server (usually the same as the IMAP server). @global string $smtpServerAddress
Definition at line 146 of file config_default.php.
Referenced by deliverMessage(), and SendMDN().
$squirrelmail_default_language = 'en_US' |
Default language
This is the default language. It is used as a last resort if SquirrelMail can't figure out which language to display. Language names usually consist of language code, undercore symbol and country code @global string $squirrelmail_default_language
Definition at line 1012 of file config_default.php.
Referenced by set_up_language().
$theme[0][ 'NAME'] = 'Default' |
Definition at line 703 of file config_default.php.
$theme[0][ 'PATH'] = SM_PATH . 'themes/default_theme.php' |
Listing of installed themes @global array $theme
Definition at line 702 of file config_default.php.
Referenced by load_optpage_data_display(), logout_error(), and save_option_theme().
$theme[10][ 'NAME'] = 'Dark Grey' |
Definition at line 733 of file config_default.php.
$theme[10][ 'PATH'] = SM_PATH . 'themes/dark_grey_theme.php' |
Definition at line 732 of file config_default.php.
$theme[11][ 'NAME'] = 'High Contrast' |
Definition at line 736 of file config_default.php.
$theme[11][ 'PATH'] = SM_PATH . 'themes/high_contrast_theme.php' |
Definition at line 735 of file config_default.php.
$theme[12][ 'NAME'] = 'Black Bean Burrito' |
Definition at line 739 of file config_default.php.
$theme[12][ 'PATH'] = SM_PATH . 'themes/black_bean_burrito_theme.php' |
Definition at line 738 of file config_default.php.
$theme[13][ 'NAME'] = 'Servery' |
Definition at line 742 of file config_default.php.
$theme[13][ 'PATH'] = SM_PATH . 'themes/servery_theme.php' |
Definition at line 741 of file config_default.php.
$theme[14][ 'NAME'] = 'Maize' |
Definition at line 745 of file config_default.php.
$theme[14][ 'PATH'] = SM_PATH . 'themes/maize_theme.php' |
Definition at line 744 of file config_default.php.
$theme[15][ 'NAME'] = 'BluesNews' |
Definition at line 748 of file config_default.php.
$theme[15][ 'PATH'] = SM_PATH . 'themes/bluesnews_theme.php' |
Definition at line 747 of file config_default.php.
$theme[16][ 'NAME'] = 'Deep Ocean 2' |
Definition at line 751 of file config_default.php.
$theme[16][ 'PATH'] = SM_PATH . 'themes/deepocean2_theme.php' |
Definition at line 750 of file config_default.php.
$theme[17][ 'NAME'] = 'Blue Grey' |
Definition at line 754 of file config_default.php.
$theme[17][ 'PATH'] = SM_PATH . 'themes/blue_grey_theme.php' |
Definition at line 753 of file config_default.php.
$theme[18][ 'NAME'] = 'Dompie' |
Definition at line 757 of file config_default.php.
$theme[18][ 'PATH'] = SM_PATH . 'themes/dompie_theme.php' |
Definition at line 756 of file config_default.php.
$theme[19][ 'NAME'] = 'Methodical' |
Definition at line 760 of file config_default.php.
$theme[19][ 'PATH'] = SM_PATH . 'themes/methodical_theme.php' |
Definition at line 759 of file config_default.php.
$theme[1][ 'NAME'] = 'Plain Blue' |
Definition at line 706 of file config_default.php.
$theme[1][ 'PATH'] = SM_PATH . 'themes/plain_blue_theme.php' |
Definition at line 705 of file config_default.php.
$theme[20][ 'NAME'] = 'Greenhouse Effect (Changes)' |
Definition at line 763 of file config_default.php.
$theme[20][ 'PATH'] = SM_PATH . 'themes/greenhouse_effect.php' |
Definition at line 762 of file config_default.php.
$theme[21][ 'NAME'] = 'In The Pink (Changes)' |
Definition at line 766 of file config_default.php.
$theme[21][ 'PATH'] = SM_PATH . 'themes/in_the_pink.php' |
Definition at line 765 of file config_default.php.
$theme[22][ 'NAME'] = 'Kind of Blue (Changes)' |
Definition at line 769 of file config_default.php.
$theme[22][ 'PATH'] = SM_PATH . 'themes/kind_of_blue.php' |
Definition at line 768 of file config_default.php.
$theme[23][ 'NAME'] = 'Monostochastic (Changes)' |
Definition at line 772 of file config_default.php.
$theme[23][ 'PATH'] = SM_PATH . 'themes/monostochastic.php' |
Definition at line 771 of file config_default.php.
$theme[24][ 'NAME'] = 'Shades of Grey (Changes)' |
Definition at line 775 of file config_default.php.
$theme[24][ 'PATH'] = SM_PATH . 'themes/shades_of_grey.php' |
Definition at line 774 of file config_default.php.
$theme[25][ 'NAME'] = 'Spice of Life (Changes)' |
Definition at line 778 of file config_default.php.
$theme[25][ 'PATH'] = SM_PATH . 'themes/spice_of_life.php' |
Definition at line 777 of file config_default.php.
$theme[26][ 'NAME'] = 'Spice of Life - Lite (Changes)' |
Definition at line 781 of file config_default.php.
$theme[26][ 'PATH'] = SM_PATH . 'themes/spice_of_life_lite.php' |
Definition at line 780 of file config_default.php.
$theme[27][ 'NAME'] = 'Spice of Life - Dark (Changes)' |
Definition at line 784 of file config_default.php.
$theme[27][ 'PATH'] = SM_PATH . 'themes/spice_of_life_dark.php' |
Definition at line 783 of file config_default.php.
$theme[28][ 'NAME'] = 'Holiday - Christmas' |
Definition at line 787 of file config_default.php.
$theme[28][ 'PATH'] = SM_PATH . 'themes/christmas.php' |
Definition at line 786 of file config_default.php.
$theme[29][ 'NAME'] = 'Darkness (Changes)' |
Definition at line 790 of file config_default.php.
$theme[29][ 'PATH'] = SM_PATH . 'themes/darkness.php' |
Definition at line 789 of file config_default.php.
$theme[2][ 'NAME'] = 'Sand Storm' |
Definition at line 709 of file config_default.php.
$theme[2][ 'PATH'] = SM_PATH . 'themes/sandstorm_theme.php' |
Definition at line 708 of file config_default.php.
$theme[30][ 'NAME'] = 'Random (Changes every login)' |
Definition at line 793 of file config_default.php.
$theme[30][ 'PATH'] = SM_PATH . 'themes/random.php' |
Definition at line 792 of file config_default.php.
$theme[31][ 'NAME'] = 'Midnight' |
Definition at line 796 of file config_default.php.
$theme[31][ 'PATH'] = SM_PATH . 'themes/midnight.php' |
Definition at line 795 of file config_default.php.
$theme[32][ 'NAME'] = 'Alien Glow' |
Definition at line 799 of file config_default.php.
$theme[32][ 'PATH'] = SM_PATH . 'themes/alien_glow.php' |
Definition at line 798 of file config_default.php.
$theme[33][ 'NAME'] = 'Dark Green' |
Definition at line 802 of file config_default.php.
$theme[33][ 'PATH'] = SM_PATH . 'themes/dark_green.php' |
Definition at line 801 of file config_default.php.
$theme[34][ 'NAME'] = 'Penguin' |
Definition at line 805 of file config_default.php.
$theme[34][ 'PATH'] = SM_PATH . 'themes/penguin.php' |
Definition at line 804 of file config_default.php.
$theme[35][ 'NAME'] = 'Minimal BW' |
Definition at line 808 of file config_default.php.
$theme[35][ 'PATH'] = SM_PATH . 'themes/minimal_bw.php' |
Definition at line 807 of file config_default.php.
$theme[36][ 'NAME'] = 'Redmond' |
Definition at line 811 of file config_default.php.
$theme[36][ 'PATH'] = SM_PATH . 'themes/redmond.php' |
Definition at line 810 of file config_default.php.
$theme[37][ 'NAME'] = 'Net Style' |
Definition at line 814 of file config_default.php.
$theme[37][ 'PATH'] = SM_PATH . 'themes/netstyle_theme.php' |
Definition at line 813 of file config_default.php.
$theme[38][ 'NAME'] = 'Silver Steel' |
Definition at line 817 of file config_default.php.
$theme[38][ 'PATH'] = SM_PATH . 'themes/silver_steel_theme.php' |
Definition at line 816 of file config_default.php.
$theme[39][ 'NAME'] = 'Simple Green' |
Definition at line 820 of file config_default.php.
$theme[39][ 'PATH'] = SM_PATH . 'themes/simple_green_theme.php' |
Definition at line 819 of file config_default.php.
$theme[3][ 'NAME'] = 'Deep Ocean' |
Definition at line 712 of file config_default.php.
$theme[3][ 'PATH'] = SM_PATH . 'themes/deepocean_theme.php' |
Definition at line 711 of file config_default.php.
$theme[40][ 'NAME'] = 'Wood' |
Definition at line 823 of file config_default.php.
$theme[40][ 'PATH'] = SM_PATH . 'themes/wood_theme.php' |
Definition at line 822 of file config_default.php.
$theme[41][ 'NAME'] = 'Bluesome' |
Definition at line 826 of file config_default.php.
$theme[41][ 'PATH'] = SM_PATH . 'themes/bluesome.php' |
Definition at line 825 of file config_default.php.
$theme[42][ 'NAME'] = 'Simple Green 2' |
Definition at line 829 of file config_default.php.
$theme[42][ 'PATH'] = SM_PATH . 'themes/simple_green2.php' |
Definition at line 828 of file config_default.php.
$theme[43][ 'NAME'] = 'Simple Purple' |
Definition at line 832 of file config_default.php.
$theme[43][ 'PATH'] = SM_PATH . 'themes/simple_purple.php' |
Definition at line 831 of file config_default.php.
$theme[44][ 'NAME'] = 'Autumn' |
Definition at line 835 of file config_default.php.
$theme[44][ 'PATH'] = SM_PATH . 'themes/autumn.php' |
Definition at line 834 of file config_default.php.
$theme[45][ 'NAME'] = 'Autumn 2' |
Definition at line 838 of file config_default.php.
$theme[45][ 'PATH'] = SM_PATH . 'themes/autumn2.php' |
Definition at line 837 of file config_default.php.
$theme[46][ 'NAME'] = 'Blue on Blue' |
Definition at line 841 of file config_default.php.
$theme[46][ 'PATH'] = SM_PATH . 'themes/blue_on_blue.php' |
Definition at line 840 of file config_default.php.
$theme[47][ 'NAME'] = 'Classic Blue' |
Definition at line 844 of file config_default.php.
$theme[47][ 'PATH'] = SM_PATH . 'themes/classic_blue.php' |
Definition at line 843 of file config_default.php.
$theme[48][ 'NAME'] = 'Classic Blue 2' |
Definition at line 847 of file config_default.php.
$theme[48][ 'PATH'] = SM_PATH . 'themes/classic_blue2.php' |
Definition at line 846 of file config_default.php.
$theme[49][ 'NAME'] = 'Powder Blue' |
Definition at line 850 of file config_default.php.
$theme[49][ 'PATH'] = SM_PATH . 'themes/powder_blue.php' |
Definition at line 849 of file config_default.php.
$theme[4][ 'NAME'] = 'Slashdot' |
Definition at line 715 of file config_default.php.
$theme[4][ 'PATH'] = SM_PATH . 'themes/slashdot_theme.php' |
Definition at line 714 of file config_default.php.
$theme[50][ 'NAME'] = 'Techno Blue' |
Definition at line 853 of file config_default.php.
$theme[50][ 'PATH'] = SM_PATH . 'themes/techno_blue.php' |
Definition at line 852 of file config_default.php.
$theme[51][ 'NAME'] = 'Turquoise' |
Definition at line 856 of file config_default.php.
$theme[51][ 'PATH'] = SM_PATH . 'themes/turquoise.php' |
Definition at line 855 of file config_default.php.
$theme[5][ 'NAME'] = 'Purple' |
Definition at line 718 of file config_default.php.
$theme[5][ 'PATH'] = SM_PATH . 'themes/purple_theme.php' |
Definition at line 717 of file config_default.php.
$theme[6][ 'NAME'] = 'Forest' |
Definition at line 721 of file config_default.php.
$theme[6][ 'PATH'] = SM_PATH . 'themes/forest_theme.php' |
Definition at line 720 of file config_default.php.
$theme[7][ 'NAME'] = 'Ice' |
Definition at line 724 of file config_default.php.
$theme[7][ 'PATH'] = SM_PATH . 'themes/ice_theme.php' |
Definition at line 723 of file config_default.php.
$theme[8][ 'NAME'] = 'Sea Spray' |
Definition at line 727 of file config_default.php.
$theme[8][ 'PATH'] = SM_PATH . 'themes/seaspray_theme.php' |
Definition at line 726 of file config_default.php.
$theme[9][ 'NAME'] = 'Blue Steel' |
Definition at line 730 of file config_default.php.
$theme[9][ 'PATH'] = SM_PATH . 'themes/bluesteel_theme.php' |
Definition at line 729 of file config_default.php.
$theme_css = '' |
Definition at line 696 of file config_default.php.
Referenced by displayHtmlHeader().
$theme_default = 0 |
Themes You can define your own theme and put it in this directory. You must call it as the example below. You can name the theme whatever you want. For an example of a theme, see the ones included in the config directory.
To add a new theme to the options that users can choose from, just add a new number to the array at the bottom, and follow the pattern.
$theme_default sets theme that will be used by default $theme_css sets stylesheet (from theme/css directory) that will be used by default. @global integer $theme_default @global string $theme_css
Definition at line 695 of file config_default.php.
Referenced by logout_error().
$trash_folder = 'INBOX.Trash' |
Definition at line 394 of file config_default.php.
Referenced by CheckNewMailboxSound(), formatMailboxName(), isTrashMailbox(), sqimap_mailbox_list(), sqimap_messages_delete(), sqimap_msgs_list_delete(), walkTreeInPostOrderCreatingFoldersUnderTrash(), and walkTreeInPreOrderEmptyTrash().
$uid_support = true |
IMAP UID control
This option allows you to enable unique identifier (UID) support. @global bool $uid_support
Definition at line 643 of file config_default.php.
Referenced by attachSelectedMessages(), delete_move_expunge_from_all(), delete_move_next_read(), filter_search_and_delete(), fix_sort_array(), get_reference_header(), get_thread_sort(), getMessage_RFC822_Attachment(), mime_fetch_body(), mime_print_body_lines(), parse_message_entities(), parse_viewheader(), spam_filters(), sqimap_get_headerfield(), sqimap_get_message(), sqimap_get_php_sort_order(), sqimap_get_small_header_list(), sqimap_get_sort_order(), sqimap_mailbox_expunge(), sqimap_messages_copy(), sqimap_messages_delete(), sqimap_messages_flag(), sqimap_messages_remove_flag(), sqimap_msgs_list_copy(), sqimap_msgs_list_delete(), sqimap_search(), and sqimap_toggle_flag().
$use_imap_tls = false |
Advanced IMAP authentication options control
CRAM-MD5, DIGEST-MD5, Plain, and TLS Set reasonable defaults - you'd never know this was there unless you ask for it @global bool $use_imap_tls
Definition at line 240 of file config_default.php.
Referenced by sqimap_login().
$use_smtp_tls = false |
Advanced SMTP authentication options control
CRAM-MD5, DIGEST-MD5, Plain, and TLS Set reasonable defaults - you'd never know this was there unless you ask for it @global bool $use_smtp_tls
Definition at line 249 of file config_default.php.
Referenced by Deliver_SMTP\initStream().
$use_special_folder_color = true |
Special Folder Color Control
Whether or not to use a special color for special folders. If not, special folders will be the same color as the other folders. @global bool $use_special_folder_color
Definition at line 407 of file config_default.php.
Referenced by formatMailboxName().
$useSendmail = false |
Default send transport
What should be used when sending email. If it is set to false, SquirrelMail will use SMTP server settings. If it is set to true, SquirrelMail will use program defined in $sendmail_path @global bool $useSendmail
Definition at line 140 of file config_default.php.
Referenced by deliverMessage(), and SendMDN().
global $version |
Definition at line 26 of file config_default.php.
Referenced by logout_error(), Deliver\prepareRFC822_Header(), and SendMDN().