initial commit of file from CVS for e-smith-imp on Wed 12 Jul 08:57:19 BST 2023
This commit is contained in:
1
root/etc/e-smith/db/configuration/defaults/horde/imp
Normal file
1
root/etc/e-smith/db/configuration/defaults/horde/imp
Normal file
@@ -0,0 +1 @@
|
||||
installed
|
1
root/etc/e-smith/db/configuration/defaults/imp/access
Normal file
1
root/etc/e-smith/db/configuration/defaults/imp/access
Normal file
@@ -0,0 +1 @@
|
||||
SSL
|
1
root/etc/e-smith/db/configuration/defaults/imp/status
Normal file
1
root/etc/e-smith/db/configuration/defaults/imp/status
Normal file
@@ -0,0 +1 @@
|
||||
disabled
|
1
root/etc/e-smith/db/configuration/defaults/imp/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/imp/type
Normal file
@@ -0,0 +1 @@
|
||||
service
|
84
root/etc/e-smith/events/actions/imp_upgrade
Normal file
84
root/etc/e-smith/events/actions/imp_upgrade
Normal file
@@ -0,0 +1,84 @@
|
||||
#!/usr/bin/perl -w
|
||||
#----------------------------------------------------------------------
|
||||
# copyright (C) 2002-20085 Mitel Networks Corporation
|
||||
# copyright (C) 2002-2008 SME Server, INC
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
use strict;
|
||||
use DBI;
|
||||
use esmith::ConfigDB;
|
||||
use esmith::util;
|
||||
|
||||
# Exit early if there is nothing to do
|
||||
die("imp db must exist") unless ( -f "/var/lib/mysql/horde/imp_sentmail.frm");
|
||||
|
||||
|
||||
# This is a translation of the script 'mysql_upgrade_1.1_to_1.2.sql
|
||||
# that is safe to run multiple times, and which can be run on a 1.2
|
||||
# installation without barfing.
|
||||
|
||||
my $conf = esmith::ConfigDB->open_ro
|
||||
or die "Can't open configuration database: $!\n";
|
||||
our $username = 'root';
|
||||
our $password = esmith::util::LdapPassword();
|
||||
our $imp_DATABASE = 'horde';
|
||||
our $dbi_options = {RaiseError => 1, ChopBlanks => 1, AutoCommit => 1};
|
||||
|
||||
my $db_imphandle = DBI->connect
|
||||
("DBI:mysql:$imp_DATABASE",
|
||||
$username, $password, $dbi_options )
|
||||
|| die ("Connection error: $DBI::errstr");
|
||||
|
||||
|
||||
# These are all safe to run multiple times
|
||||
|
||||
# We now need to create some columns, but we need to first check
|
||||
# whether they exist already
|
||||
my $sth = $db_imphandle->prepare("show columns from imp_sentmail");
|
||||
$sth->execute;
|
||||
my $imp_sentmail = $sth->fetchall_hashref('Field');
|
||||
|
||||
# Create an index for sentmail_ts if needed
|
||||
unless ($imp_sentmail->{sentmail_ts}->{Key})
|
||||
{
|
||||
my $statement = 'alter table imp_sentmail ' .
|
||||
'add index sentmail_ts_idx (sentmail_ts)';
|
||||
$statement = $db_imphandle->prepare($statement) or
|
||||
die "prepare: $$statement: $DBI::errstr";
|
||||
$statement->execute or die "execute: $$statement: $DBI::errstr";
|
||||
}
|
||||
|
||||
# Create an index for sentmail_who if needed
|
||||
unless ($imp_sentmail->{sentmail_who}->{Key})
|
||||
{
|
||||
my $statement = 'alter table imp_sentmail ' .
|
||||
'add index sentmail_who_idx (sentmail_who)';
|
||||
$statement = $db_imphandle->prepare($statement) or
|
||||
die "prepare: $$statement: $DBI::errstr";
|
||||
$statement->execute or die "execute: $$statement: $DBI::errstr";
|
||||
}
|
||||
|
||||
# Create an index for sentmail_success if needed
|
||||
unless ($imp_sentmail->{sentmail_success}->{Key})
|
||||
{
|
||||
my $statement = 'alter table imp_sentmail ' .
|
||||
'add index sentmail_success_idx (sentmail_success)';
|
||||
$statement = $db_imphandle->prepare($statement) or
|
||||
die "prepare: $$statement: $DBI::errstr";
|
||||
$statement->execute or die "execute: $$statement: $DBI::errstr";
|
||||
}
|
||||
|
@@ -0,0 +1,2 @@
|
||||
PERMS=0540
|
||||
|
@@ -0,0 +1,2 @@
|
||||
PERMS=0540
|
||||
|
@@ -0,0 +1,2 @@
|
||||
GID="www"
|
||||
PERMS=0640
|
@@ -0,0 +1,2 @@
|
||||
GID="www"
|
||||
PERMS=0640
|
@@ -0,0 +1,2 @@
|
||||
GID="www"
|
||||
PERMS=0640
|
@@ -0,0 +1,2 @@
|
||||
GID="www"
|
||||
PERMS=0640
|
@@ -0,0 +1,2 @@
|
||||
GID="www"
|
||||
PERMS=0640
|
@@ -0,0 +1,2 @@
|
||||
GID="www"
|
||||
PERMS=0640
|
@@ -0,0 +1,2 @@
|
||||
GID="www"
|
||||
PERMS=0640
|
@@ -0,0 +1,5 @@
|
||||
#! /bin/sh
|
||||
|
||||
#test -f /var/lib/mysql/horde/imp_sentmail.frm && exit 0
|
||||
exec mysql horde < /home/httpd/html/horde/smeserver/imp.sql
|
||||
|
@@ -0,0 +1,2 @@
|
||||
exec /etc/e-smith/events/actions/imp_upgrade
|
||||
|
@@ -0,0 +1,30 @@
|
||||
{
|
||||
my $status = $imp{"status"} || "disabled";
|
||||
|
||||
if ($status eq 'enabled')
|
||||
{
|
||||
$OUT .= qq(
|
||||
# IMP specific access configuration
|
||||
|
||||
<Directory /home/httpd/html/horde/imp/config>
|
||||
order deny,allow
|
||||
deny from all
|
||||
</Directory>
|
||||
|
||||
<Directory /home/httpd/html/horde/imp/lib>
|
||||
order deny,allow
|
||||
deny from all
|
||||
</Directory>
|
||||
|
||||
<Directory /home/httpd/html/horde/imp/locale>
|
||||
order deny,allow
|
||||
deny from all
|
||||
</Directory>
|
||||
|
||||
<Directory /home/httpd/html/horde/imp/templates>
|
||||
order deny,allow
|
||||
deny from all
|
||||
</Directory>
|
||||
);
|
||||
}
|
||||
}
|
@@ -0,0 +1,24 @@
|
||||
{
|
||||
# vim: ft=perl:
|
||||
|
||||
$haveSSL = (exists ${modSSL}{status} and ${modSSL}{status} eq "enabled") ? 'yes' : 'no';
|
||||
my $webmailStatus = $imp{'status'} || "disabled";
|
||||
my $webmailAccessType = $imp{'access'} || "SSL";
|
||||
|
||||
my $dirs;
|
||||
$dirs{horde} = '/home/httpd/html/horde';
|
||||
$dirs{webmail} = "$dirs{horde}/imp";
|
||||
|
||||
return " # webmail is disabled in this VirtualHost"
|
||||
unless $webmailStatus eq 'enabled';
|
||||
|
||||
foreach $place ('webmail','horde')
|
||||
{
|
||||
if (($port eq "80") && ($haveSSL eq 'yes') && ($webmailAccessType eq 'SSL'))
|
||||
{
|
||||
$OUT .= " RewriteRule ^/$place(/.*|\$) https://%{HTTP_HOST}/$place\$1 [L,R]\n";
|
||||
} else {
|
||||
$OUT .= " Alias /$place $dirs{$place}\n";
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
my $ImpMenu = $imp{MenuArray} || "enabled"; return "" unless ($ImpMenu eq "enabled");
|
||||
$apps{imp} = 1;
|
||||
$OUT = '';
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
// 120AppRegistryImp
|
||||
$this->applications['imp'] = array(
|
||||
'fileroot' => dirname(__FILE__) . '/../imp',
|
||||
'webroot' => $this->applications['horde']['webroot'] . '/imp',
|
||||
'name' => _("Mail"),
|
||||
'status' => 'active',
|
||||
'provides' => array('mail', 'contacts/favouriteRecipients')
|
||||
);
|
||||
|
@@ -0,0 +1,8 @@
|
||||
// 170AppRegistryImp
|
||||
$this->applications['imp-folders'] = array(
|
||||
'status' => 'block',
|
||||
'app' => 'imp',
|
||||
'blockname' => 'tree_folders',
|
||||
'menu_parent' => 'imp',
|
||||
);
|
||||
|
@@ -0,0 +1,3 @@
|
||||
// 00header
|
||||
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
|
||||
// $Horde: imp/config/conf.xml,v 1.53.2.43 2009/07/02 06:18:15 slusarz Exp $
|
@@ -0,0 +1,4 @@
|
||||
// 100SpellUtils
|
||||
$conf['spell']['params']['path'] = '/usr/bin/ispell';
|
||||
$conf['spell']['driver'] = 'aspell';
|
||||
|
@@ -0,0 +1,7 @@
|
||||
// 105ExternalUtils
|
||||
$conf['utils']['gnupg'] = '/usr/bin/gpg';
|
||||
$conf['utils']['gnupg_keyserver'] = array('pgp.mit.edu');
|
||||
$conf['utils']['gnupg_timeout'] = 10;
|
||||
$conf['utils']['openssl_cafile'] = '/etc/httpd/conf/ssl.crt/ca-bundle.crt';
|
||||
$conf['utils']['openssl_binary'] = '/usr/bin/openssl';
|
||||
|
@@ -0,0 +1,3 @@
|
||||
// 120MenuSettings
|
||||
include '/home/httpd/html/horde/conf.menu.apps.php';
|
||||
|
@@ -0,0 +1,10 @@
|
||||
// 140UserCapabilities
|
||||
$conf['user']['select_sentmail_folder'] = false;
|
||||
$conf['user']['allow_resume_all_in_drafts'] = true;
|
||||
$conf['user']['allow_folders'] = true;
|
||||
$conf['user']['allow_resume_all'] = false;
|
||||
$conf['user']['allow_view_source'] = true;
|
||||
$conf['user']['alternate_login'] = false;
|
||||
$conf['user']['redirect_on_logout'] = false;
|
||||
$conf['user']['select_view'] = true;
|
||||
|
@@ -0,0 +1,14 @@
|
||||
// 160MailServerSettings
|
||||
$conf['server']['change_server'] = false;
|
||||
$conf['server']['change_port'] = false;
|
||||
$conf['server']['change_protocol'] = false;
|
||||
$conf['server']['change_smtphost'] = false;
|
||||
$conf['server']['change_smtpport'] = false;
|
||||
$conf['server']['server_list'] = 'none';
|
||||
$conf['server']['fixed_folders'] = array();
|
||||
$conf['server']['sort_limit'] = 0;
|
||||
$conf['server']['cache_folders'] = true;
|
||||
$conf['server']['token_lifetime'] = 1800;
|
||||
$conf['server']['cachejs'] = 'none';
|
||||
$conf['server']['cachecss'] = 'none';
|
||||
|
@@ -0,0 +1,3 @@
|
||||
// 180MailboxSettings
|
||||
$conf['mailbox']['show_preview'] = true;
|
||||
|
@@ -0,0 +1,4 @@
|
||||
// 190Fetchmail
|
||||
$conf['fetchmail']['show_account_colors'] = false;
|
||||
$conf['fetchmail']['size_limit'] = 4000000;
|
||||
|
@@ -0,0 +1,6 @@
|
||||
// 200MessageSettings
|
||||
$conf['msgcache']['use_msgcache'] = false;
|
||||
$conf['mlistcache']['use_mlistcache'] = false;
|
||||
$conf['msgsettings']['filtering']['words'] = './config/filter.txt';
|
||||
$conf['msgsettings']['filtering']['replacement'] = '****';
|
||||
|
@@ -0,0 +1,4 @@
|
||||
// 220SpamReporting
|
||||
$conf['spam']['reporting'] = false;
|
||||
$conf['notspam']['reporting'] = false;
|
||||
|
@@ -0,0 +1,3 @@
|
||||
// 225Printedby
|
||||
$conf['print']['add_printedby'] = false;
|
||||
|
@@ -0,0 +1,4 @@
|
||||
// 230HeaderTrailer
|
||||
$conf['msg']['prepend_header'] = true;
|
||||
$conf['msg']['append_trailer'] = true;
|
||||
|
@@ -0,0 +1,11 @@
|
||||
// 240ComposeSettings
|
||||
$conf['compose']['allow_receipts'] = true;
|
||||
$conf['compose']['special_characters'] = true;
|
||||
$conf['compose']['use_vfs'] = false;
|
||||
$conf['compose']['link_all_attachments'] = false;
|
||||
$conf['compose']['link_attachments_notify'] = true;
|
||||
$conf['compose']['link_attachments'] = true;
|
||||
$conf['compose']['attach_size_limit'] = 0;
|
||||
$conf['compose']['attach_count_limit'] = 0;
|
||||
$conf['compose']['reply_limit'] = 0;
|
||||
|
@@ -0,0 +1,12 @@
|
||||
// 260CustomHooks
|
||||
$conf['hooks']['vinfo'] = false;
|
||||
$conf['hooks']['postlogin'] = false;
|
||||
$conf['hooks']['postsent'] = false;
|
||||
$conf['hooks']['signature'] = false;
|
||||
$conf['hooks']['trailer'] = false;
|
||||
$conf['hooks']['fetchmail_filter'] = false;
|
||||
$conf['hooks']['mbox_redirect'] = false;
|
||||
$conf['hooks']['mbox_icon'] = false;
|
||||
$conf['hooks']['spam_bounce'] = false;
|
||||
$conf['hooks']['msglist_format'] = true;
|
||||
|
@@ -0,0 +1,6 @@
|
||||
// 280Other
|
||||
$conf['maillog']['use_maillog'] = true;
|
||||
$conf['sentmail']['driver'] = 'none';
|
||||
$conf['tasklist']['use_tasklist'] = true;
|
||||
$conf['notepad']['use_notepad'] = true;
|
||||
|
@@ -0,0 +1,2 @@
|
||||
// 999footer
|
||||
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
|
@@ -0,0 +1,21 @@
|
||||
# This file will allow you to set headers to append to mail messages.
|
||||
#
|
||||
# It will also substitute PHP variables into the headers, allowing you
|
||||
# to send some extra information from the client if you desire.
|
||||
#
|
||||
# The format of the lines should be:
|
||||
# <Header>: <Value | Variable>
|
||||
#
|
||||
# Where the parts of the lines are:
|
||||
#
|
||||
# o Header = The letters "X-" and then the header name
|
||||
# o Value = a text value for the header
|
||||
# o Variable = a PHP variable, surrounded by percent ('%') signs
|
||||
#
|
||||
# An example of this is:
|
||||
#
|
||||
# X-WebMail-Company: Hotmail Killers, Inc.
|
||||
#
|
||||
# Or one that uses a variable, and is useful for tracking abuse:
|
||||
X-Originating-IP: %REMOTE_ADDR%
|
||||
X-Sent-Via: SME Server
|
@@ -0,0 +1,14 @@
|
||||
//00header
|
||||
/**
|
||||
* IMP Hooks configuration file.
|
||||
*
|
||||
* THE HOOKS PROVIDED IN THIS FILE ARE EXAMPLES ONLY. DO NOT ENABLE THEM
|
||||
* BLINDLY IF YOU DO NOT KNOW WHAT YOU ARE DOING. YOU HAVE TO CUSTOMIZE THEM
|
||||
* TO MATCH YOUR SPECIFIC NEEDS AND SYSTEM ENVIRONMENT.
|
||||
*
|
||||
* For more information please see the horde/config/hooks.php.dist file.
|
||||
*
|
||||
* $Horde: imp/config/hooks.php.dist,v 1.3.2.13 2009-11-18 13:14:32 jan Exp $
|
||||
*/
|
||||
|
||||
|
@@ -0,0 +1,49 @@
|
||||
//100imp_hook_msglist_format
|
||||
// This is an example hook function for displaying additional message
|
||||
// information in the message listing screen for a mailbox. This example hook
|
||||
// will add a icon if the message contains attachments and will change the
|
||||
// display of the message entry based on the X-Priority header.
|
||||
|
||||
if (!function_exists('_imp_hook_msglist_format')) \{
|
||||
function _imp_hook_msglist_format($mailbox, $uid)
|
||||
\{
|
||||
// Required return (array):
|
||||
// 'class' - An array of CSS classnames that will be added to
|
||||
// the row.
|
||||
// 'flagbits' - An integer value which will be OR'd with the
|
||||
// current flags set for the row. The IMAP flag
|
||||
// constants used in IMP can be found at the top
|
||||
// of lib/IMP.php.
|
||||
// 'status' - HTML code to add to the status column for the row.
|
||||
$ret = array('class' => array(), 'flagbits' => 0, 'status' => '');
|
||||
|
||||
require_once IMP_BASE . '/lib/IMAP/MessageCache.php';
|
||||
$cache = &IMP_MessageCache::singleton();
|
||||
$cache_entry = $cache->retrieve($mailbox, array($uid), 8 | 32);
|
||||
$ob = reset($cache_entry);
|
||||
|
||||
// Add attachment information
|
||||
require_once IMP_BASE . '/lib/UI/Mailbox.php';
|
||||
$imp_ui = new IMP_UI_Mailbox();
|
||||
if (($attachment = $imp_ui->getAttachmentType($ob->structure))) \{
|
||||
$ret['status'] = Horde::img($attachment . '.png', $imp_ui->getAttachmentAlt($attachment), array('title' => $imp_ui->getAttachmentAlt($attachment)));
|
||||
\}
|
||||
|
||||
// Add xpriority information
|
||||
switch ($ob->header->getXpriority()) \{
|
||||
case 'high':
|
||||
$ret['flagbits'] = IMP_FLAGGED;
|
||||
$ret['status'] .= Horde::img('mail_priority_high.png', _("High Priority"), array('title' => _("High Priority")));
|
||||
$ret['class'][] = 'important';
|
||||
break;
|
||||
|
||||
case 'low':
|
||||
$ret['status'] .= Horde::img('mail_priority_low.png', _("Low Priority"), array('title' => _("Low Priority")));
|
||||
$ret['class'][] = 'unimportant';
|
||||
break;
|
||||
\}
|
||||
|
||||
return $ret;
|
||||
\}
|
||||
\}
|
||||
|
@@ -0,0 +1,311 @@
|
||||
/**
|
||||
* $Horde: imp/config/mime_drivers.php.dist,v 1.35.10.7 2009-06-20 21:37:43 jan Exp $
|
||||
*
|
||||
* Decide which output drivers you want to activate for the IMP application.
|
||||
* Settings in this file override settings in horde/config/mime_drivers.php.
|
||||
*
|
||||
* Additional settings for IMP:
|
||||
* + If you want to limit the display of message data inline for large
|
||||
* messages of a certain type, add a 'limit_inline_size' parameter to the
|
||||
* desired mime type to the maximum size of the displayed message in bytes
|
||||
* (see example under text/plain below). If set, the user will only be able
|
||||
* to download the part. Don't set the parameter, or set to 0, to disable
|
||||
* this check.
|
||||
*
|
||||
* The available drivers are:
|
||||
* --------------------------
|
||||
* alternative multipart/alternative parts
|
||||
* appledouble multipart/appledouble parts
|
||||
* enriched Enriched text messages
|
||||
* html HTML messages
|
||||
* images Attached images inline
|
||||
* itip iCalendar Transport-Independent Interoperability Protocol
|
||||
* multipart All other multipart/* messages
|
||||
* notification Notification messages
|
||||
* partial message/partial parts
|
||||
* pdf Portable Document Format (PDF) files
|
||||
* pgp PGP signed/encrypted messages
|
||||
* pkcs7 S/MIME signed/encrypted messages
|
||||
* plain URL syntax highlighting for text/plain parts
|
||||
* related multipart/related parts
|
||||
* rfc822 Digested messages
|
||||
* status Mail delivery status messages
|
||||
* tnef MS-TNEF attachments
|
||||
* zip ZIP attachments
|
||||
*/
|
||||
$mime_drivers_map['imp']['registered'] = array(
|
||||
'alternative', 'appledouble', 'enriched', 'html', 'images', 'itip',
|
||||
'multipart', 'notification', 'partial', 'pdf', 'pgp', 'pkcs7', 'plain',
|
||||
'related', 'rfc822', 'smil', 'status', 'tnef', 'zip'
|
||||
);
|
||||
|
||||
/**
|
||||
* If you want to specifically override any MIME type to be handled by
|
||||
* a specific driver, then enter it here. Normally, this is safe to
|
||||
* leave, but it's useful when multiple drivers handle the same MIME
|
||||
* type, and you want to specify exactly which one should handle it.
|
||||
*/
|
||||
$mime_drivers_map['imp']['overrides'] = array();
|
||||
|
||||
/**
|
||||
* Driver specific settings. See horde/config/mime_drivers.php for
|
||||
* the format.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Text driver settings
|
||||
*/
|
||||
$mime_drivers['imp']['plain'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array('text/plain', 'text/rfc822-headers', 'application/pgp'),
|
||||
/* If you want to scan ALL incoming messages for UUencoded data, set the
|
||||
* following to true. This is very performance intensive and can take a
|
||||
* long time for large messages. It is not recommended and is disabled by
|
||||
* default. */
|
||||
'uuencode' => false,
|
||||
/* If you want to limit the display of message data inline for large
|
||||
* messages, set the maximum size of the displayed message here (in
|
||||
* bytes). If exceeded, the user will only be able to download the part.
|
||||
* Set to 0 to disable this check. */
|
||||
{
|
||||
return " 'limit_inline_size' => " . ($horde{Limitinlinesize} || 1048576)
|
||||
}
|
||||
);
|
||||
|
||||
/**
|
||||
* HTML driver settings
|
||||
*/
|
||||
$mime_drivers['imp']['html'] = array(
|
||||
'inline' => { $horde{inlineHTML} || 'true' },
|
||||
'handles' => array(
|
||||
'text/html'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'html.png'
|
||||
),
|
||||
/* If you don't want to display the link to open the HTML content in a
|
||||
* separate window, set the following to false. */
|
||||
'external' => true,
|
||||
/* Run 'tidy' on all HTML output? This requires at least version 2.0 of the
|
||||
* PECL 'tidy' extension to be installed on your system. */
|
||||
'tidy' => false,
|
||||
/* Check for phishing exploits? */
|
||||
'phishing_check' => true
|
||||
);
|
||||
|
||||
/**
|
||||
* Default smil driver settings
|
||||
*/
|
||||
$mime_drivers['imp']['smil'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'application/smil'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Image driver settings
|
||||
*/
|
||||
$mime_drivers['imp']['images'] = array(
|
||||
'inline' => { $horde{inlineImages} || 'true' },
|
||||
'handles' => array(
|
||||
'image/*'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'image.png'
|
||||
),
|
||||
/* Display thumbnails for all images, not just large images? */
|
||||
'allthumbs' => true
|
||||
);
|
||||
|
||||
/**
|
||||
* Enriched text driver settings
|
||||
*/
|
||||
$mime_drivers['imp']['enriched'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'text/enriched'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'text.png'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* PDF settings
|
||||
*/
|
||||
$mime_drivers['imp']['pdf'] = array(
|
||||
'inline' => false,
|
||||
'handles' => array(
|
||||
'application/pdf', 'image/pdf'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'pdf.png'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* PGP settings
|
||||
*/
|
||||
$mime_drivers['imp']['pgp'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'application/pgp-encrypted', 'application/pgp-keys',
|
||||
'application/pgp-signature'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'encryption.png'
|
||||
),
|
||||
/* Turn background green or red depending on whether a signature could
|
||||
* be verified? */
|
||||
'highlight' => true
|
||||
);
|
||||
|
||||
/**
|
||||
* PKCS7 settings (S/MIME)
|
||||
*/
|
||||
$mime_drivers['imp']['pkcs7'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'application/x-pkcs7-signature', 'application/x-pkcs7-mime',
|
||||
'application/pkcs7-signature', 'application/pkcs7-mime'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'encryption.png'
|
||||
),
|
||||
/* Turn background green or red depending on whether a signature could
|
||||
* be verified? */
|
||||
'highlight' => true
|
||||
);
|
||||
|
||||
/**
|
||||
* Digest message (message/rfc822) settings
|
||||
*/
|
||||
$mime_drivers['imp']['rfc822'] = array(
|
||||
'inline' => false,
|
||||
'handles' => array(
|
||||
'message/rfc822'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'mail.png'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Zip File Attachments settings
|
||||
*/
|
||||
$mime_drivers['imp']['zip'] = array(
|
||||
'inline' => false,
|
||||
'handles' => array(
|
||||
'application/zip', 'application/x-compressed',
|
||||
'application/x-zip-compressed'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'compressed.png'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Delivery Status messages settings
|
||||
*/
|
||||
$mime_drivers['imp']['status'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'message/delivery-status'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Disposition Notification message settings
|
||||
*/
|
||||
$mime_drivers['imp']['notification'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'message/disposition-notification'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* multipart/appledouble settings
|
||||
*/
|
||||
$mime_drivers['imp']['appledouble'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'multipart/appledouble'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* iCalendar Transport-Independent Interoperability Protocol
|
||||
*/
|
||||
$mime_drivers['imp']['itip'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'text/calendar', 'text/x-vcalendar'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'itip.png'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* multipart/alternative settings
|
||||
* YOU SHOULD NOT NORMALLY ALTER THIS SETTING.
|
||||
*/
|
||||
$mime_drivers['imp']['alternative'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'multipart/alternative'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* multipart/related settings
|
||||
* YOU SHOULD NOT NORMALLY ALTER THIS SETTING.
|
||||
*/
|
||||
$mime_drivers['imp']['related'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'multipart/related'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'html.png'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* message/partial settings
|
||||
* YOU SHOULD NOT NORMALLY ALTER THIS SETTING.
|
||||
*/
|
||||
$mime_drivers['imp']['partial'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'message/partial'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* All other multipart/* messages
|
||||
* YOU SHOULD NOT NORMALLY ALTER THIS SETTING.
|
||||
*/
|
||||
$mime_drivers['imp']['multipart'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'multipart/*'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* MS-TNEF Attachment (application/ms-tnef) settings
|
||||
* YOU SHOULD NOT NORMALLY ALTER THIS SETTING.
|
||||
*/
|
||||
$mime_drivers['imp']['tnef'] = array(
|
||||
'inline' => false,
|
||||
'handles' => array(
|
||||
'application/ms-tnef'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'binary.png'
|
||||
)
|
||||
);
|
||||
|
@@ -0,0 +1,12 @@
|
||||
//000preamble
|
||||
/**
|
||||
* $Horde: imp/config/prefs.php.dist,v 1.216.4.38 2010/03/19 17:16:34 slusarz Exp $
|
||||
*
|
||||
* See horde/config/prefs.php for documentation on the structure of this file.
|
||||
*/
|
||||
|
||||
// Make sure that constants are defined.
|
||||
require_once dirname(__FILE__) . '/../lib/IMP.php';
|
||||
$is_pop3 = isset($_SESSION['imp']) &&
|
||||
$_SESSION['imp']['base_protocol'] == 'pop3';
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//005identities
|
||||
$prefGroups['identities'] = array(
|
||||
'column' => _("General Options"),
|
||||
'label' => _("Personal Information"),
|
||||
'desc' => _("Change the name, address, and signature that people see when they read and reply to your email."),
|
||||
'members' => array('replyto_addr', 'alias_addr', 'tieto_addr', 'bcc_addr',
|
||||
'signature', 'sig_dashes', 'sig_first',
|
||||
'save_sent_mail', 'sent_mail_folder', 'sentmailselect')
|
||||
);
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//010server
|
||||
if (!$is_pop3) \{
|
||||
$prefGroups['server'] = array(
|
||||
'column' => _("General Options"),
|
||||
'label' => _("Server and Folder Information"),
|
||||
'desc' => _("Change mail server and folder settings."),
|
||||
'members' => array('use_vinbox', 'subscribe', 'folderselect',
|
||||
'trashselect', 'spamselect')
|
||||
);
|
||||
\}
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//015acl
|
||||
if (!empty($_SESSION['imp']['acl'])) \{
|
||||
$prefGroups['acl'] = array(
|
||||
'column' => _("General Options"),
|
||||
'label' => _("Share Folders"),
|
||||
'desc' => _("Share your mail folders with other users."),
|
||||
'url' => 'acl.php'
|
||||
);
|
||||
\}
|
||||
|
@@ -0,0 +1,21 @@
|
||||
//020logintasks
|
||||
$prefGroups['logintasks'] = array(
|
||||
'column' => _("General Options"),
|
||||
'label' => _("Login Tasks"),
|
||||
'desc' => sprintf(_("Customize tasks to run upon logon to %s."), $GLOBALS['registry']->get('name')),
|
||||
'members' => array()
|
||||
);
|
||||
if (!$is_pop3) \{
|
||||
$prefGroups['logintasks']['members'] = array_merge(
|
||||
$prefGroups['logintasks']['members'],
|
||||
array('initialpageselect', 'rename_sentmail_monthly',
|
||||
'delete_sentmail_monthly', 'delete_sentmail_monthly_keep',
|
||||
'purge_sentmail', 'purge_sentmail_interval',
|
||||
'purge_sentmail_keep', 'purge_trash', 'purge_trash_interval',
|
||||
'purge_trash_keep', 'purge_spam', 'purge_spam_interval',
|
||||
'purge_spam_keep'));
|
||||
\}
|
||||
$prefGroups['logintasks']['members'] = array_merge(
|
||||
$prefGroups['logintasks']['members'],
|
||||
array('delete_attachments_monthly', 'delete_attachments_monthly_keep'));
|
||||
|
@@ -0,0 +1,13 @@
|
||||
//025compose
|
||||
$prefGroups['compose'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("Message Composition"),
|
||||
'desc' => _("Customize how you send mail."),
|
||||
'members' => array('stationery_link', 'mailto_handler', 'compose_cc',
|
||||
'compose_bcc', 'compose_spellcheck', 'compose_confirm',
|
||||
'set_priority', 'compose_popup', 'compose_html',
|
||||
'jseditor', 'fckeditor_buttons', 'xinha_hide_buttons',
|
||||
'mail_domain', 'compose_cursor', 'sending_charset',
|
||||
'encryptselect', 'save_attachments')
|
||||
);
|
||||
|
@@ -0,0 +1,5 @@
|
||||
//030allow_receipts
|
||||
if (!empty($GLOBALS['conf']['compose']['allow_receipts'])) \{
|
||||
$prefGroups['compose']['members'] = array_merge($prefGroups['compose']['members'], array('disposition_request_read'));
|
||||
\}
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//032reply_forward
|
||||
$prefGroups['reply_forward'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("Message Replies/Forwards"),
|
||||
'desc' => _("Customize how you reply to or forward mail."),
|
||||
'members' => array('reply_quote', 'reply_format', 'forward_default',
|
||||
'forward_bodytext', 'reply_headers', 'attrib_text')
|
||||
);
|
||||
|
@@ -0,0 +1,8 @@
|
||||
//033drafts
|
||||
$prefGroups['drafts'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("Message Drafts"),
|
||||
'desc' => _("Customize how to deal with message drafts."),
|
||||
'members' => array('folderselect', 'close_draft', 'unseen_drafts')
|
||||
);
|
||||
|
@@ -0,0 +1,13 @@
|
||||
//035viewing
|
||||
$prefGroups['viewing'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("Message Viewing"),
|
||||
'desc' => _("Configure how messages are displayed."),
|
||||
'members' => array('filtering', 'strip_attachments',
|
||||
'html_image_replacement', 'html_image_addrbook',
|
||||
'highlight_text', 'highlight_simple_markup',
|
||||
'show_quoteblocks', 'dim_signature', 'emoticons',
|
||||
'attachment_display', 'mail_hdr', 'default_msg_charset',
|
||||
'alternative_display')
|
||||
);
|
||||
|
@@ -0,0 +1,5 @@
|
||||
//040use_maillog
|
||||
if (!empty($GLOBALS['conf']['maillog']['use_maillog'])) \{
|
||||
$prefGroups['viewing']['members'] = array_merge($prefGroups['viewing']['members'], array('disposition_send_mdn'));
|
||||
\}
|
||||
|
@@ -0,0 +1,14 @@
|
||||
//045delmove
|
||||
$prefGroups['delmove'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("Deleting and Moving Messages"),
|
||||
'desc' => _("Set preferences for what happens when you move and delete messages."),
|
||||
'members' => array('mailbox_return', 'delete_spam_after_report',
|
||||
'empty_spam_menu')
|
||||
);
|
||||
if (!$is_pop3) \{
|
||||
$prefGroups['delmove']['members'] = array_merge(
|
||||
$prefGroups['delmove']['members'],
|
||||
array('use_trash', 'trashselect', 'use_vtrash', 'empty_trash_menu'));
|
||||
\}
|
||||
|
@@ -0,0 +1,8 @@
|
||||
//050newmail
|
||||
$prefGroups['newmail'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("New Mail"),
|
||||
'desc' => _("Control when new mail will be checked for, and whether or not to notify you when it arrives."),
|
||||
'members' => array('refresh_time', 'nav_poll_all', 'nav_popup', 'soundselect')
|
||||
);
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//055show_preview
|
||||
if (!empty($GLOBALS['conf']['mailbox']['show_preview'])) \{
|
||||
$prefGroups['mailpreview'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("Mail Previews"),
|
||||
'desc' => _("Configure mail preview options."),
|
||||
'members' => array('preview_enabled', 'preview_maxlen', 'preview_strip_nl', 'preview_show_unread', 'preview_show_tooltip')
|
||||
);
|
||||
\}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//060fetchmail
|
||||
if (!$is_pop3) \{
|
||||
$prefGroups['fetchmail'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("Fetch Mail"),
|
||||
'desc' => _("Customize accounts for fetching mail from other accounts."),
|
||||
'members' => array('fetchmail_link', 'fetchmail_popup',
|
||||
'fetchmail_menu')
|
||||
);
|
||||
\}
|
||||
|
@@ -0,0 +1,14 @@
|
||||
//065display
|
||||
$prefGroups['display'] = array(
|
||||
'column' => _("Other Options"),
|
||||
'label' => _("Mailbox and Folder Display Options"),
|
||||
'desc' => _("Change display options such as how many messages you see on each page and how messages are sorted."),
|
||||
'members' => array('mailbox_start', 'sortby', 'sortdir', 'max_msgs',
|
||||
'from_link', 'time_format')
|
||||
);
|
||||
if (!$is_pop3) \{
|
||||
$prefGroups['display']['members'] = array_merge(
|
||||
$prefGroups['display']['members'],
|
||||
array('nav_expanded', 'tree_view', 'nav_expanded_sidebar'));
|
||||
\}
|
||||
|
@@ -0,0 +1,8 @@
|
||||
//070filters
|
||||
$prefGroups['filters'] = array(
|
||||
'column' => _("Other Options"),
|
||||
'label' => _("Filters"),
|
||||
'desc' => _("Create filtering rules to organize your incoming mail, sort it into folders, and delete spam."),
|
||||
'url' => 'filterprefs.php'
|
||||
);
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//075addressbooks
|
||||
$contacts_app = $GLOBALS['registry']->hasInterface('contacts');
|
||||
if ($contacts_app && $GLOBALS['registry']->hasPermission($contacts_app)) \{
|
||||
$prefGroups['addressbooks'] = array(
|
||||
'column' => _("Other Options"),
|
||||
'label' => _("Address Books"),
|
||||
'desc' => _("Select address book sources for adding and searching for addresses."),
|
||||
'members' => array('save_recipients', 'display_contact', 'sourceselect')
|
||||
);
|
||||
\}
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//080gnupg
|
||||
if (isset($GLOBALS['conf']['utils']['gnupg'])) \{
|
||||
$prefGroups['pgp'] = array(
|
||||
'column' => _("Other Options"),
|
||||
'label' => _("PGP Options"),
|
||||
'desc' => sprintf(_("Control PGP support for %s."), $GLOBALS['registry']->get('name')),
|
||||
'url' => 'pgp.php'
|
||||
);
|
||||
\}
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//085smime
|
||||
if (Util::extensionExists('openssl') && isset($GLOBALS['conf']['utils']['openssl_binary'])) \{
|
||||
$prefGroups['smime'] = array(
|
||||
'column' => _("Other Options"),
|
||||
'label' => _("S/MIME Options"),
|
||||
'desc' => sprintf(_("Control S/MIME support for %s."), $GLOBALS['registry']->get('name')),
|
||||
'url' => 'smime.php'
|
||||
);
|
||||
\}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//090replyto_addr
|
||||
// Personal Information preferences
|
||||
|
||||
// user preferred email address for Reply-To:, if different from From:
|
||||
$_prefs['replyto_addr'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'text',
|
||||
'desc' => _("Your Reply-to: address: <em>(optional)</em>"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//095alias_addr
|
||||
// user preferred alias addresses
|
||||
$_prefs['alias_addr'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'textarea',
|
||||
'desc' => _("Your alias addresses: <em>(optional, enter each address on a new line)</em>"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//100tieto_addr
|
||||
// user preferred 'tie to' addresses
|
||||
$_prefs['tieto_addr'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'textarea',
|
||||
'desc' => _("Addresses to explicitly tie to this identity: <em>(optional, enter each address on a new line)</em>"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//105bcc_addr
|
||||
// Automatically Bcc addresses when composing
|
||||
$_prefs['bcc_addr'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'textarea',
|
||||
'desc' => _("Addresses to BCC all messages: <em>(optional, enter each address on a new line)</em>"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//115signature
|
||||
// user signature
|
||||
$_prefs['signature'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'textarea',
|
||||
'desc' => _("Your signature:"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//120sig_dashes
|
||||
// precede the signature with dashes ('-- ')?
|
||||
$_prefs['sig_dashes'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Precede your signature with dashes ('-- ')?"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//125sig_first
|
||||
// signature before replies and forwards?
|
||||
$_prefs['sig_first'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Place your signature before replies and forwards?"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//130save_sent_mail
|
||||
// save a copy of sent messages?
|
||||
$_prefs['save_sent_mail'] = array(
|
||||
'value' => 1,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Save sent mail?"));
|
||||
|
@@ -0,0 +1,14 @@
|
||||
//135sent_mail_folder
|
||||
// sent mail folder
|
||||
$_prefs['sent_mail_folder'] = array(
|
||||
// The mailbox value must be encoded in the UTF7-IMAP charset (see RFC
|
||||
// 3501 [5.1.3]).
|
||||
//'value' => String::convertCharset(_("Sent"), null, 'UTF7-IMAP'),
|
||||
// For Exchange, uncomment the entry below.
|
||||
// 'value' => 'Sent Items',
|
||||
// value below for SME Server that is consistent from day one
|
||||
'value' => String::convertCharset(_("sent-mail"), null, 'UTF7-IMAP'),
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
@@ -0,0 +1,7 @@
|
||||
//140sentmailselect
|
||||
// sent mail folder selection widget. includes some javascript, so it's
|
||||
// specific to IMP.
|
||||
$_prefs['sentmailselect'] = array('type' => 'special');
|
||||
|
||||
// End Personal Information preferences
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//143use_vinbox
|
||||
// Server and Folder Information preferences
|
||||
|
||||
// display Virtual INBOX?
|
||||
$_prefs['use_vinbox'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Display Virtual Inbox?"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//145subscribe
|
||||
// use IMAP subscribe?
|
||||
$_prefs['subscribe'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Use IMAP folder subscriptions?"));
|
||||
|
@@ -0,0 +1,5 @@
|
||||
//150folderselect
|
||||
// drafts folder selection widget. includes some javascript, so it's specific
|
||||
// to IMP.
|
||||
$_prefs['folderselect'] = array('type' => 'special');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//155drafts_folder
|
||||
// drafts folder
|
||||
$_prefs['drafts_folder'] = array(
|
||||
// The mailbox value must be encoded in the UTF7-IMAP charset (see RFC
|
||||
// 3501 [5.1.3]).
|
||||
'value' => String::convertCharset(_("Drafts"), null, 'UTF7-IMAP'),
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
@@ -0,0 +1,5 @@
|
||||
//160trashselect
|
||||
// trash folder selection widget. includes some javascript, so it's
|
||||
// specific to IMP.
|
||||
$_prefs['trashselect'] = array('type' => 'special');
|
||||
|
@@ -0,0 +1,14 @@
|
||||
//165trash_folder
|
||||
// trash folder
|
||||
$_prefs['trash_folder'] = array(
|
||||
// The mailbox value must be encoded in the UTF7-IMAP charset (see RFC
|
||||
// 3501 [5.1.3]).
|
||||
//'value' => String::convertCharset(_("Trash"), null, 'UTF7-IMAP'),
|
||||
// For Exchange, uncomment the entry below.
|
||||
// 'value' => 'Deleted Items',
|
||||
// Value below for SME Server so that it's consistent from the beginning
|
||||
'value' => String::convertCharset(_("trash"), null, 'UTF7-IMAP'),
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
@@ -0,0 +1,5 @@
|
||||
//170spanselect
|
||||
// spam folder selection widget. includes some javascript, so it's
|
||||
// specific to IMP.
|
||||
$_prefs['spamselect'] = array('type' => 'special');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//175spam_folder
|
||||
// spam folder
|
||||
$_prefs['spam_folder'] = array(
|
||||
// The mailbox value must be encoded in the UTF7-IMAP charset (see RFC
|
||||
// 3501 [5.1.3]).
|
||||
'value' => String::convertCharset(_("Spam"), null, 'UTF7-IMAP'),
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//180vfolder
|
||||
$_prefs['vfolder'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
||||
// End Server and Folder Information preferences
|
||||
|
||||
|
@@ -0,0 +1,13 @@
|
||||
//185acl2
|
||||
// Folder sharing preferences
|
||||
|
||||
// folder sharing options
|
||||
// set 'locked' => true to disable folder sharing
|
||||
$_prefs['acl'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
||||
// End folder sharing preferences
|
||||
|
@@ -0,0 +1,6 @@
|
||||
//190initialpageselect
|
||||
// Login/Maintenance Tasks preferences
|
||||
|
||||
// select widget for the initial_page preference
|
||||
$_prefs['initialpageselect'] = array('type' => 'special');
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//195initial_page
|
||||
// the page to display. Either a filename like 'folders.php'
|
||||
// or a mailbox name.
|
||||
$_prefs['initial_page'] = array(
|
||||
'value' => 'INBOX',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//205rename_sentmail_monthly
|
||||
// rename sent-mail folder every month?
|
||||
$_prefs['rename_sentmail_monthly'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Rename sent-mail folder at beginning of month?"),
|
||||
'help' => 'prefs-rename_sentmail_monthly');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//210delete_sentmail_monthly
|
||||
// delete sent-mail folders every month?
|
||||
$_prefs['delete_sentmail_monthly'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Delete old sent-mail folders at beginning of month?"),
|
||||
'help' => 'prefs-delete_sentmail_monthly');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//215delete_sentmail_monthly_keep
|
||||
// how many old sent-mail folders to keep every month?
|
||||
$_prefs['delete_sentmail_monthly_keep'] = array(
|
||||
'value' => 12,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'number',
|
||||
'desc' => _("Number of old sent-mail folders to keep if deleting monthly."),
|
||||
'help' => 'prefs-delete_sentmail_monthly_keep');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//217purge_sentmail
|
||||
// purge sent-mail folder?
|
||||
$_prefs['purge_sentmail'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Purge old messages in the sent-mail folder(s)?"),
|
||||
'help' => 'prefs-purge_sentmail');
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//218purge_sentmail_interval
|
||||
// how often to purge the Sent-Mail folder?
|
||||
// 'value': yearly = 1, monthly = 2, weekly = 3, daily = 4, every login = 5
|
||||
$_prefs['purge_sentmail_interval'] = array(
|
||||
'value' => '2',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'select',
|
||||
'desc' => _("Purge sent-mail how often:"),
|
||||
'help' => 'prefs-purge_sentmail_interval');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//219purge_sentmail_keep
|
||||
// when purging sent-mail folder, purge messages older than how many days?
|
||||
$_prefs['purge_sentmail_keep'] = array(
|
||||
'value' => 30,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'number',
|
||||
'desc' => _("Purge messages in sent-mail folder(s) older than this amount of days."),
|
||||
'help' => 'prefs-purge_sentmail_keep');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//220delete_attachemets_monthly
|
||||
// purge old attachments every month?
|
||||
$_prefs['delete_attachments_monthly'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Delete old linked attachments at beginning of month?"),
|
||||
'help' => 'prefs-delete_attachments_monthly');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//225delete_attachments_monthly_keep
|
||||
// how many old months of attachments to keep?
|
||||
$_prefs['delete_attachments_monthly_keep'] = array(
|
||||
'value' => 6,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'number',
|
||||
'desc' => _("Number of months to keep old linked attachments if deleting monthly."),
|
||||
'help' => 'prefs-delete_attachments_monthly_keep');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//227purge_spam
|
||||
// purge Spam folder?
|
||||
$_prefs['purge_spam'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Purge old messages in the Spam folder?"),
|
||||
'help' => 'prefs-purge_spam');
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//228purge_spam_interval
|
||||
// how often to purge the Spam folder?
|
||||
// 'value': yearly = 1, monthly = 2, weekly = 3, daily = 4, every login = 5
|
||||
$_prefs['purge_spam_interval'] = array(
|
||||
'value' => '2',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'select',
|
||||
'desc' => _("Purge Spam how often:"),
|
||||
'help' => 'prefs-purge_spam_interval');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//229purge_spam_keep
|
||||
// when purging Spam folder, purge messages older than how many days?
|
||||
$_prefs['purge_spam_keep'] = array(
|
||||
'value' => 30,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'number',
|
||||
'desc' => _("Purge messages in Spam folder older than this amount of days."),
|
||||
'help' => 'prefs-purge_spam_keep');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//230purge_trash
|
||||
// purge Trash folder?
|
||||
$_prefs['purge_trash'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Purge old messages in the Trash folder?"),
|
||||
'help' => 'prefs-purge_trash');
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//235purge_trash_interval
|
||||
// how often to purge the Trash folder?
|
||||
// 'value': yearly = 1, monthly = 2, weekly = 3, daily = 4, every login = 5
|
||||
$_prefs['purge_trash_interval'] = array(
|
||||
'value' => '2',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'select',
|
||||
'desc' => _("Purge Trash how often:"),
|
||||
'help' => 'prefs-purge_trash_interval');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//240purge_trash_keep
|
||||
// when purging Trash folder, purge messages older than how many days?
|
||||
$_prefs['purge_trash_keep'] = array(
|
||||
'value' => 30,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'number',
|
||||
'desc' => _("Purge messages in Trash folder older than this amount of days."),
|
||||
'help' => 'prefs-purge_trash_keep');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//245tos_agreement
|
||||
// show tos agreement?
|
||||
$_prefs['tos_agreement'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
||||
// End Login/Maintenance preferences
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//250stationary_link
|
||||
// Message Composition preferences
|
||||
|
||||
// Link to the stationery preferences.
|
||||
$_prefs['stationery_link'] = array(
|
||||
'type' => 'link',
|
||||
'url' => 'stationery.php',
|
||||
'desc' => _("To the stationery and form responses."));
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user