[cvs] [Wiki] created: generate conf.php
Wiki Guest
wikiguest at horde.org
Thu Jul 3 04:52:18 UTC 2008
guest [203.76.124.203] Thu, 03 Jul 2008 00:52:18 -0400
Created page: http://wiki.horde.org/generate+conf.php
<?php
/**
* IMP Configuration File
*
* This file contains global configuration settings for IMP. Values
* may be safely edited by hand. Use conf.php.dist as a reference.
*
* Mail servers are defined in 'servers.php'.
* Default user preferences are defined in 'prefs.php'.
*
* Strings should be enclosed in 'quotes'.
* Integers should be given literally (without quotes).
* Boolean values may be 'true' or 'false'.
*
* $Horde: imp/config/conf.php.dist,v 1.156.2.11 2002/10/30 03:31:58
chuck Exp $
*/
/**
** External Utilities
**/
// If ispell or aspell is available, then we will provide a spelling
// checker. If this is empty (''), null, or false, then spell checking
// will be disabled.
$conf['utils']['spellchecker'] = 'ispell';
/**
** Menu settings
**/
// This is an array of applications (using the names defined in
// horde/config/registry.php) to include links to in the menubar. An
// example providing a link to Turba (an addressbook program) would
// be: $conf['menu']['apps'] = array('turba');
$conf['menu']['apps'] = array('turba');
/**
** User Capabilities and Constraints
**/
// Should we allow users to use folders at all? NOTE: setting this to
// false will mean there is no place to save sent-mail or postponed
// messages, along with the obvious affects of restricting the user to
// their INBOX.
$conf['user']['allow_folders'] = true;
// If this is true, then there will be a "Message Source" link in the
// parts list of every message, allowing the user to view the entire
// raw message, or to download it and save it to disk.
$conf['user']['allow_view_source'] = true;
// If this is true, the user will be able to resume any message in any
// mailbox. Otherwise, only messages marked as 'drafts' can be resumed.
$conf['user']['allow_resume_all'] = false;
// If this is true, the user will be able to resume any message in their
// draft mailbox (to compensate for some clients that don't bother setting
// the draft flag). Otherwise, only messages marked as 'drafts' can be
// resumed.
$conf['user']['allow_resume_all_in_drafts'] = false;
// If this is anything other than false, then it is assumed to be the
// URL of an alternate login screen which will be used in place of
// IMP's default one.
$conf['user']['alternate_login'] = false;
// If this is anything other than false, it is assumed to be the URL
// of an alternate logout page which users will be sent to when they
// log out.
$conf['user']['redirect_on_logout'] = false;
// If this is true, then users will be given a <select> menu in the
// compose window allowing them to choose which folder to save their
// sent messages to. If this is false, then messages will be saved to
// the folder defined in their preferences.
$conf['user']['select_sentmail_folder'] = false;
/**
** Mail Server Settings
**/
// Should we display a list of servers (defined in config/servers.php)
// for users to choose from? The options are 'shown', 'hidden', and
// 'none'. If the server list is hidden then you can use the
// 'preferred' mechanism to auto-select from it based on an HTTP
// virtualhost or another piece of data. If it is shown, the user will
// be able to pick from any of the options. If none, no server list
// will be shown and the defaults will be used unless another
// mechanism changes them.
$conf['server']['server_list'] = 'none';
// If we are not using the server list, should we allow users to type
// in a mail server?
$conf['server']['change_server'] = false;
// If we are not using the server list, should we allow users to
// select the mail server's port?
$conf['server']['change_port'] = false;
// If we are not using the server list, should we allow users to
// select the mail server's protocol?
$conf['server']['change_protocol'] = false;
// If we are not using the server list, should we allow users to
// select the mail server's folder prefix?
$conf['server']['change_folders'] = false;
// Should we show files that begin with a '.' in the folder lists?
$conf['server']['show_dotfiles'] = false;
// Should we enable any folder hierarchies that aren't shown by
// default? For instance, UW can be configured to serve out #shared/,
// #news/, #ftp/, and #public/ folder hierarchies. Put any of these
// that you want shown into an array entry here.
$conf['server']['hierarchies'] = array();
/**
** Mailbox Settings
**/
// What should we display for the various message flags/types, and
// what styles should we use for different kinds of flagged messages?
$conf['mailbox']['deleted_flag'] = Horde::img('deleted.gif', 'alt="' .
_("Deleted") . '"');
$conf['mailbox']['deleted_style'] = 'strike';
$conf['mailbox']['unseen_flag'] = Horde::img('unseen.gif', 'alt="' .
_("Unread") . '"');
$conf['mailbox']['unseen_style'] = 'b';
$conf['mailbox']['answered_flag'] = Horde::img('answered.gif', 'alt="'
. _("Answered") . '"');
$conf['mailbox']['answered_style'] = '';
$conf['mailbox']['important_flag'] = Horde::img('important.gif',
'alt="' . _("Important") . '"');
$conf['mailbox']['important_style'] = 'i';
$conf['mailbox']['draft_flag'] = Horde::img('draft.gif', 'alt="' .
_("Draft") . '"');
$conf['mailbox']['draft_style'] = '';
$conf['mailbox']['personal_flag'] = Horde::img('personal.gif', 'alt="'
. _("Personal") . '"');
// What format string should we pass to strftime() for messages sent on
// days other than today?
$conf['mailbox']['date_format'] = '%x';
// What format string should we pass to strftime() for messages sent
// today?
$conf['mailbox']['time_format'] = '%X';
// In the mailbox view, we will chop off From: addresses longer than
// this value.
$conf['mailbox']['max_from_chars'] = 40;
// In the mailbox view, we will chop off Subjects longer than this
// value.
$conf['mailbox']['max_subj_chars'] = 50;
// Where should the link in the From: column go to? Valid values are
// 'message' (read the message) and 'compose' (compose a message to
:1
<?php
/**
* IMP Configuration File
*
* This file contains global configuration settings for IMP. Values
* may be safely edited by hand. Use conf.php.dist as a reference.
*
* Mail servers are defined in 'servers.php'.
* Default user preferences are defined in 'prefs.php'.
*
* Strings should be enclosed in 'quotes'.
* Integers should be given literally (without quotes).
* Boolean values may be 'true' or 'false'.
*
* $Horde: imp/config/conf.php.dist,v 1.156.2.11 2002/10/30 03:31:58
chuck Exp $
*/
/**
** External Utilities
**/
// If ispell or aspell is available, then we will provide a spelling
// checker. If this is empty (''), null, or false, then spell checking
// will be disabled.
$conf['utils']['spellchecker'] = 'ispell';
/**
** Menu settings
**/
// This is an array of applications (using the names defined in
// horde/config/registry.php) to include links to in the menubar. An
// example providing a link to Turba (an addressbook program) would
// be: $conf['menu']['apps'] = array('turba');
$conf['menu']['apps'] = array('turba');
/hook
// What format string should be pass to strftime() for the heading of the
// compose window?
$conf['compose']['date_format'] = '%c';
// Can the user request a return receipt?
$conf['compose']['allow_receipts'] = true;
// Should we give the user a pop-up window with special characters in
// it?
$conf['compose']['special_characters'] = true;
/**
** Custom Function Hooks
**/
// If this is set to a function name, that function will be used
// to get the user's email address to use when sending mail. See
// the 'imp_expand_fromaddress' function below for an example.
$conf['hooks']['from'] = '';
/* Here is an example imp_expand_fromaddress function. You get passed the
* $imp array and have access to everything inside it, which should be
* plenty of informatio
More information about the cvs
mailing list