diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e594810 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.rpm +*.log +*spec-20* +*.tar.xz diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f707280 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: e-smith-imp +# $Id: Makefile,v 1.1 2016/02/05 22:49:59 stephdl Exp $ +NAME := e-smith-imp +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/README.md b/README.md index 675ef57..7793e9d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ -# e-smith-imp +# e-smith-imp -SMEServer Koozali developed git repo for e-smith-imp smeserver \ No newline at end of file +SMEServer Koozali developed git repo for e-smith-imp smeserver + +## Wiki +
https://wiki.koozali.org/ + +## Bugzilla +Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=e-smith-imp&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED) + +## Description + +
*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.* +*Once it has been checked, then this comment will be deleted* +
+ +E-smith-imp is a software package designed for creating and managing professional academic journals. It is designed to provide a user-friendly platform for managing the entire publishing process from submission to publication. With E-smith-imp, it is easy to review and track submissions, manage reviews, set up editorial board members, track manuscript progress, and keep a detailed record of all activity. Additionally, it allows editors and authors to communicate directly with each other, allowing for an efficient and streamlined workflow. It also offers a powerful search engine for quickly and easily locating manuscripts and reviews. E-smith-imp is a great tool for academic journals, making the entire publishing process simpler and more efficient. diff --git a/additional/COPYING b/additional/COPYING new file mode 100644 index 0000000..eeb586b --- /dev/null +++ b/additional/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) 19yy + + 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 + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..ef36a67 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +sme10 diff --git a/createlinks b/createlinks new file mode 100755 index 0000000..838260f --- /dev/null +++ b/createlinks @@ -0,0 +1,32 @@ +#!/usr/bin/perl -w + +use esmith::Build::CreateLinks qw(:all); + +# conf-imp + +foreach (qw(prefs.php conf.php servers.php header.txt trailer.txt hooks.php mime_drivers.php)) +{ + templates2events("/home/httpd/html/horde/imp/config/$_", + qw( + bootstrap-console-save + email-update + )); +} + +foreach (qw(conf.php prefs.php servers.php hooks.php mime_drivers.php)) +{ + safe_symlink("/etc/e-smith/templates-default/template-begin-php", + "root/etc/e-smith/templates/home/httpd/html/horde/imp/config/$_/template-begin"); + safe_symlink("/etc/e-smith/templates-default/template-end-php", + "root/etc/e-smith/templates/home/httpd/html/horde/imp/config/$_/template-end"); +} + +foreach (qw( + 35imp_mysql_create_tables + 36imp_upgrade + )) +{ + templates2events( + "/etc/e-smith/sql/init/$_", + qw(post-install post-upgrade)); +} diff --git a/e-smith-imp.spec b/e-smith-imp.spec new file mode 100644 index 0000000..f587c28 --- /dev/null +++ b/e-smith-imp.spec @@ -0,0 +1,102 @@ +# $Id: e-smith-imp.spec,v 1.1 2016/02/05 22:49:59 stephdl Exp $ + +Summary: e-smith specific IMP configuration and templates. +%define name e-smith-imp +Name: %{name} +%define version 5.6.0 +%define release 2 +Version: %{version} +Release: %{release}%{?dist} +License: GPL +Group: Networking/Daemons +Source: %{name}-%{version}.tar.xz +BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot +BuildArchitectures: noarch +Requires: imp-h3 >= 4.3 +Requires: e-smith-base >= 4.15.1 +Requires: e-smith-apache >= 1.1.0-18 +Requires: e-smith-lib >= 1.15.1-16 +Requires: e-smith-ingo +Requires: php +Requires: php-ldap +Requires: php-mysql +BuildRequires: e-smith-devtools >= 1.13.1-03 +AutoReqProv: no +Obsoletes: dcb-e-smith-imp +Obsoletes: smeserver-imp-menuarray +Requires: php-pear(HTTP_Request) + +%changelog +* Wed Jul 12 2023 cvs2git.sh aka Brian Read 5.6.0-2.sme +- Roll up patches and move to git repo [SME: 12338] + +* Wed Jul 12 2023 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + +* Fri Feb 05 2016 stephane de Labrusse 5.6.0-1.sme +- Initial release to sme10 + +* Fri Jun 21 2013 Daniel Berteaud 5.4.0-2.sme +- Don't use SSL over loopback [SME: 7682] + +* Wed Feb 13 2013 Shad L. Lords 5.4.0-1.sme +- Roll new stream for sme9 + +* Mon May 10 2010 John H. Bennett III 5.2.0-9 +- Updated templates to reflect changes in imp 4.3.7 [SME: 5938] + +* Sun Feb 14 2010 John H. Bennett III 5.2.0-8 +- Patch to template imp's mime_drivers.php file so some settings can be customized [SME: 5224] +- config setprop horde Limitinlinesize <--default is 1048576 +- config setprop horde inlineHTML true|false <--default is true +- config setprop horde inlineImages true|false <--default is true + + +* Sat Feb 13 2010 John H. Bennett III 5.2.0-7 +- Updated templates to reflect changes in imp 4.3.6 [SME: 5776] + +* Tue Oct 13 2009 John H. Bennett III 5.2.0-6 +- Updated templates to reflect changes in imp 4.3.5 [SME: 5510] + +* Sat Jun 20 2009 John H. Bennett III 5.2.0-5 +- Updated templates to reflect changes in imp 4.3.4 [SME: 5371] + +* Wed Jan 07 2009 Gavin Weight 5.2.0-4 +- Updated spec file to require php-pear(HTTP_Request) and remove obsolete + php-pear-HTTP-Request line. [SME: 4928] + +* Wed Dec 24 2008 John H. Bennett III 5.2.0-3 +- Updated spec file to require php-pear-HTTP-Request to accomodate HTML composition [SME: 4821] + +* Sat Dec 06 2008 John H. Bennett III 5.2.0-2 +- Updated templates to reflect changes in imp 4.3 [SME: 4832] + +* Tue Oct 7 2008 Shad L. Lords 5.2.0-1.sme +- Roll new stream to separate sme7/sme8 trees [SME: 4633] + +* Mon Jun 23 2008 John H. Bennett III 4.2-1 +- Initial build +- Jump in package name to reflect new version of imp + +%description +This package adds necessary templates and configuration items +so that IMP will work properly on SME Server + +%prep +%setup + +%build +perl createlinks + +%install +rm -rf $RPM_BUILD_ROOT +(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist +echo "%doc COPYING" >> %{name}-%{version}-filelist + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}-%{version}-filelist +%defattr(-,root,root) diff --git a/root/etc/e-smith/db/configuration/defaults/horde/imp b/root/etc/e-smith/db/configuration/defaults/horde/imp new file mode 100644 index 0000000..f94d6ed --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/horde/imp @@ -0,0 +1 @@ +installed diff --git a/root/etc/e-smith/db/configuration/defaults/imp/access b/root/etc/e-smith/db/configuration/defaults/imp/access new file mode 100644 index 0000000..fe0d4a2 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/imp/access @@ -0,0 +1 @@ +SSL diff --git a/root/etc/e-smith/db/configuration/defaults/imp/status b/root/etc/e-smith/db/configuration/defaults/imp/status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/imp/status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/configuration/defaults/imp/type b/root/etc/e-smith/db/configuration/defaults/imp/type new file mode 100644 index 0000000..24e1098 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/imp/type @@ -0,0 +1 @@ +service diff --git a/root/etc/e-smith/events/actions/imp_upgrade b/root/etc/e-smith/events/actions/imp_upgrade new file mode 100644 index 0000000..04ec218 --- /dev/null +++ b/root/etc/e-smith/events/actions/imp_upgrade @@ -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"; +} + diff --git a/root/etc/e-smith/templates.metadata/etc/e-smith/sql/init/35imp_mysql_create_tables b/root/etc/e-smith/templates.metadata/etc/e-smith/sql/init/35imp_mysql_create_tables new file mode 100644 index 0000000..62a13fb --- /dev/null +++ b/root/etc/e-smith/templates.metadata/etc/e-smith/sql/init/35imp_mysql_create_tables @@ -0,0 +1,2 @@ +PERMS=0540 + diff --git a/root/etc/e-smith/templates.metadata/etc/e-smith/sql/init/36imp_upgrade b/root/etc/e-smith/templates.metadata/etc/e-smith/sql/init/36imp_upgrade new file mode 100644 index 0000000..62a13fb --- /dev/null +++ b/root/etc/e-smith/templates.metadata/etc/e-smith/sql/init/36imp_upgrade @@ -0,0 +1,2 @@ +PERMS=0540 + diff --git a/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/conf.php b/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/conf.php new file mode 100644 index 0000000..dc5f838 --- /dev/null +++ b/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/conf.php @@ -0,0 +1,2 @@ +GID="www" +PERMS=0640 diff --git a/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/header.txt b/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/header.txt new file mode 100644 index 0000000..dc5f838 --- /dev/null +++ b/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/header.txt @@ -0,0 +1,2 @@ +GID="www" +PERMS=0640 diff --git a/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/hooks.php b/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/hooks.php new file mode 100644 index 0000000..dc5f838 --- /dev/null +++ b/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/hooks.php @@ -0,0 +1,2 @@ +GID="www" +PERMS=0640 diff --git a/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/mime_drivers.php b/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/mime_drivers.php new file mode 100644 index 0000000..dc5f838 --- /dev/null +++ b/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/mime_drivers.php @@ -0,0 +1,2 @@ +GID="www" +PERMS=0640 diff --git a/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/prefs.php b/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/prefs.php new file mode 100644 index 0000000..dc5f838 --- /dev/null +++ b/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/prefs.php @@ -0,0 +1,2 @@ +GID="www" +PERMS=0640 diff --git a/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/servers.php b/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/servers.php new file mode 100644 index 0000000..dc5f838 --- /dev/null +++ b/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/servers.php @@ -0,0 +1,2 @@ +GID="www" +PERMS=0640 diff --git a/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/trailer.txt b/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/trailer.txt new file mode 100644 index 0000000..dc5f838 --- /dev/null +++ b/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/trailer.txt @@ -0,0 +1,2 @@ +GID="www" +PERMS=0640 diff --git a/root/etc/e-smith/templates/etc/e-smith/sql/init/35imp_mysql_create_tables b/root/etc/e-smith/templates/etc/e-smith/sql/init/35imp_mysql_create_tables new file mode 100644 index 0000000..a12ebbd --- /dev/null +++ b/root/etc/e-smith/templates/etc/e-smith/sql/init/35imp_mysql_create_tables @@ -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 + diff --git a/root/etc/e-smith/templates/etc/e-smith/sql/init/36imp_upgrade b/root/etc/e-smith/templates/etc/e-smith/sql/init/36imp_upgrade new file mode 100644 index 0000000..2b21f4e --- /dev/null +++ b/root/etc/e-smith/templates/etc/e-smith/sql/init/36imp_upgrade @@ -0,0 +1,2 @@ +exec /etc/e-smith/events/actions/imp_upgrade + diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85ImpAccess b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85ImpAccess new file mode 100644 index 0000000..df6bb43 --- /dev/null +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85ImpAccess @@ -0,0 +1,30 @@ +{ + my $status = $imp{"status"} || "disabled"; + + if ($status eq 'enabled') + { + $OUT .= qq( +# IMP specific access configuration + + + order deny,allow + deny from all + + + + order deny,allow + deny from all + + + + order deny,allow + deny from all + + + + order deny,allow + deny from all + +); + } +} diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/30WebmailAliases b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/30WebmailAliases new file mode 100644 index 0000000..badafe0 --- /dev/null +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/30WebmailAliases @@ -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"; + } + } +} diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/conf.menu.apps.php/02AppImp b/root/etc/e-smith/templates/home/httpd/html/horde/conf.menu.apps.php/02AppImp new file mode 100644 index 0000000..2ac5bcd --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/conf.menu.apps.php/02AppImp @@ -0,0 +1,5 @@ +{ +my $ImpMenu = $imp{MenuArray} || "enabled"; return "" unless ($ImpMenu eq "enabled"); +$apps{imp} = 1; +$OUT = ''; +} diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/config/registry.php/120AppRegistryImp b/root/etc/e-smith/templates/home/httpd/html/horde/config/registry.php/120AppRegistryImp new file mode 100644 index 0000000..9d50ea4 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/config/registry.php/120AppRegistryImp @@ -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') +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/config/registry.php/170AppRegistryImpFolders b/root/etc/e-smith/templates/home/httpd/html/horde/config/registry.php/170AppRegistryImpFolders new file mode 100644 index 0000000..502ca60 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/config/registry.php/170AppRegistryImpFolders @@ -0,0 +1,8 @@ +// 170AppRegistryImp +$this->applications['imp-folders'] = array( + 'status' => 'block', + 'app' => 'imp', + 'blockname' => 'tree_folders', + 'menu_parent' => 'imp', +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/00header b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/00header new file mode 100644 index 0000000..926c13e --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/00header @@ -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 $ diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/100SpellUtils b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/100SpellUtils new file mode 100644 index 0000000..4a2b6fc --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/100SpellUtils @@ -0,0 +1,4 @@ +// 100SpellUtils +$conf['spell']['params']['path'] = '/usr/bin/ispell'; +$conf['spell']['driver'] = 'aspell'; + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/105ExternalUtils b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/105ExternalUtils new file mode 100644 index 0000000..ef709d3 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/105ExternalUtils @@ -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'; + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/120MenuSettings b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/120MenuSettings new file mode 100644 index 0000000..ca89495 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/120MenuSettings @@ -0,0 +1,3 @@ +// 120MenuSettings +include '/home/httpd/html/horde/conf.menu.apps.php'; + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/140UserCapabilities b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/140UserCapabilities new file mode 100644 index 0000000..74305ef --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/140UserCapabilities @@ -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; + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/160MailServerSettings b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/160MailServerSettings new file mode 100644 index 0000000..e1a93fe --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/160MailServerSettings @@ -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'; + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/180MailboxSettings b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/180MailboxSettings new file mode 100644 index 0000000..823d4b3 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/180MailboxSettings @@ -0,0 +1,3 @@ +// 180MailboxSettings +$conf['mailbox']['show_preview'] = true; + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/190Fetchmail b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/190Fetchmail new file mode 100644 index 0000000..309f6ce --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/190Fetchmail @@ -0,0 +1,4 @@ +// 190Fetchmail +$conf['fetchmail']['show_account_colors'] = false; +$conf['fetchmail']['size_limit'] = 4000000; + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/200MessageSettings b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/200MessageSettings new file mode 100644 index 0000000..dba9bb4 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/200MessageSettings @@ -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'] = '****'; + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/220SpamReporting b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/220SpamReporting new file mode 100644 index 0000000..a66e2fd --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/220SpamReporting @@ -0,0 +1,4 @@ +// 220SpamReporting +$conf['spam']['reporting'] = false; +$conf['notspam']['reporting'] = false; + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/225Printedby b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/225Printedby new file mode 100644 index 0000000..5006356 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/225Printedby @@ -0,0 +1,3 @@ +// 225Printedby +$conf['print']['add_printedby'] = false; + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/230HeaderTrailer b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/230HeaderTrailer new file mode 100644 index 0000000..ccbdb7c --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/230HeaderTrailer @@ -0,0 +1,4 @@ +// 230HeaderTrailer +$conf['msg']['prepend_header'] = true; +$conf['msg']['append_trailer'] = true; + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/240ComposeSettings b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/240ComposeSettings new file mode 100644 index 0000000..e819e72 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/240ComposeSettings @@ -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; + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/260CustomHooks b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/260CustomHooks new file mode 100644 index 0000000..73b4d54 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/260CustomHooks @@ -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; + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/280Other b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/280Other new file mode 100644 index 0000000..30cff8e --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/280Other @@ -0,0 +1,6 @@ +// 280Other +$conf['maillog']['use_maillog'] = true; +$conf['sentmail']['driver'] = 'none'; +$conf['tasklist']['use_tasklist'] = true; +$conf['notepad']['use_notepad'] = true; + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/999footer b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/999footer new file mode 100644 index 0000000..ccc160d --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php/999footer @@ -0,0 +1,2 @@ +// 999footer +/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */ diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/header.txt/00header b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/header.txt/00header new file mode 100644 index 0000000..f1a613e --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/header.txt/00header @@ -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: +#
: +# +# 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 diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/header.txt/template-begin b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/header.txt/template-begin new file mode 100644 index 0000000..e69de29 diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/hooks.php/00header b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/hooks.php/00header new file mode 100644 index 0000000..502d3fa --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/hooks.php/00header @@ -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 $ + */ + + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/hooks.php/100imp_hook_msglist_format b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/hooks.php/100imp_hook_msglist_format new file mode 100644 index 0000000..ffa7c8e --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/hooks.php/100imp_hook_msglist_format @@ -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; + \} + \} + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/mime_drivers.php/10mime_drivers.php b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/mime_drivers.php/10mime_drivers.php new file mode 100644 index 0000000..028e42b --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/mime_drivers.php/10mime_drivers.php @@ -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' + ) +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/000header b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/000header new file mode 100644 index 0000000..8e2a002 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/000header @@ -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'; + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/005identities b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/005identities new file mode 100644 index 0000000..e8dcb9c --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/005identities @@ -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') +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/010server b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/010server new file mode 100644 index 0000000..91ba863 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/010server @@ -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') + ); +\} + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/015acl b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/015acl new file mode 100644 index 0000000..7b1664a --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/015acl @@ -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' + ); +\} + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/020logintasks b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/020logintasks new file mode 100644 index 0000000..811773c --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/020logintasks @@ -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')); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/025compose b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/025compose new file mode 100644 index 0000000..9c58cb4 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/025compose @@ -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') +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/030allow_receipts b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/030allow_receipts new file mode 100644 index 0000000..50acc0b --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/030allow_receipts @@ -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')); +\} + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/032reply_forward b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/032reply_forward new file mode 100644 index 0000000..8a62cd0 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/032reply_forward @@ -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') +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/033drafts b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/033drafts new file mode 100644 index 0000000..cb74721 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/033drafts @@ -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') +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/035viewing b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/035viewing new file mode 100644 index 0000000..e513f44 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/035viewing @@ -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') +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/040use_maillog b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/040use_maillog new file mode 100644 index 0000000..66b0014 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/040use_maillog @@ -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')); +\} + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/045delmove b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/045delmove new file mode 100644 index 0000000..82c58dd --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/045delmove @@ -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')); +\} + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/050newmail b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/050newmail new file mode 100644 index 0000000..39a3f03 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/050newmail @@ -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') +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/055show_preview b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/055show_preview new file mode 100644 index 0000000..62cf4fd --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/055show_preview @@ -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') + ); +\} + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/060fetchmail b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/060fetchmail new file mode 100644 index 0000000..a928cb4 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/060fetchmail @@ -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') + ); +\} + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/065display b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/065display new file mode 100644 index 0000000..ca26ced --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/065display @@ -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')); +\} + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/070filters b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/070filters new file mode 100644 index 0000000..7b318f4 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/070filters @@ -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' +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/075addressbooks b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/075addressbooks new file mode 100644 index 0000000..3b0e824 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/075addressbooks @@ -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') + ); +\} + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/080gnupg b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/080gnupg new file mode 100644 index 0000000..5a63737 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/080gnupg @@ -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' + ); +\} + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/085smime b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/085smime new file mode 100644 index 0000000..094f2cd --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/085smime @@ -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' + ); +\} + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/090replyto_addr b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/090replyto_addr new file mode 100644 index 0000000..af6d6d1 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/090replyto_addr @@ -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: (optional)")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/095alias_addr b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/095alias_addr new file mode 100644 index 0000000..6c10973 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/095alias_addr @@ -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: (optional, enter each address on a new line)")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/100tieto_addr b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/100tieto_addr new file mode 100644 index 0000000..ed943d1 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/100tieto_addr @@ -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: (optional, enter each address on a new line)")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/105bcc_addr b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/105bcc_addr new file mode 100644 index 0000000..ffcf511 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/105bcc_addr @@ -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: (optional, enter each address on a new line)")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/115signature b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/115signature new file mode 100644 index 0000000..be659d8 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/115signature @@ -0,0 +1,9 @@ +//115signature +// user signature +$_prefs['signature'] = array( + 'value' => '', + 'locked' => false, + 'shared' => false, + 'type' => 'textarea', + 'desc' => _("Your signature:")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/120sig_dashes b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/120sig_dashes new file mode 100644 index 0000000..eb68a1b --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/120sig_dashes @@ -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 ('-- ')?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/125sig_first b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/125sig_first new file mode 100644 index 0000000..b1f4f20 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/125sig_first @@ -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?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/130save_sent_mail b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/130save_sent_mail new file mode 100644 index 0000000..8bc3d6c --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/130save_sent_mail @@ -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?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/135sent_mail_folder b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/135sent_mail_folder new file mode 100644 index 0000000..d2be9b9 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/135sent_mail_folder @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/140sentmailselect b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/140sentmailselect new file mode 100644 index 0000000..77763da --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/140sentmailselect @@ -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 + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/143use_vinbox b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/143use_vinbox new file mode 100644 index 0000000..801fe20 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/143use_vinbox @@ -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?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/145subscribe b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/145subscribe new file mode 100644 index 0000000..d9b2f81 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/145subscribe @@ -0,0 +1,9 @@ +//145subscribe +// use IMAP subscribe? +$_prefs['subscribe'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Use IMAP folder subscriptions?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/150folderselect b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/150folderselect new file mode 100644 index 0000000..c1f2c76 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/150folderselect @@ -0,0 +1,5 @@ +//150folderselect +// drafts folder selection widget. includes some javascript, so it's specific +// to IMP. +$_prefs['folderselect'] = array('type' => 'special'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/155drafts_folder b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/155drafts_folder new file mode 100644 index 0000000..72b7540 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/155drafts_folder @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/160trashselect b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/160trashselect new file mode 100644 index 0000000..47c6126 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/160trashselect @@ -0,0 +1,5 @@ +//160trashselect +// trash folder selection widget. includes some javascript, so it's +// specific to IMP. +$_prefs['trashselect'] = array('type' => 'special'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/165trash_folder b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/165trash_folder new file mode 100644 index 0000000..62fb8d2 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/165trash_folder @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/170spamselect b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/170spamselect new file mode 100644 index 0000000..2418162 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/170spamselect @@ -0,0 +1,5 @@ +//170spanselect +// spam folder selection widget. includes some javascript, so it's +// specific to IMP. +$_prefs['spamselect'] = array('type' => 'special'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/175spam_folder b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/175spam_folder new file mode 100644 index 0000000..7c73301 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/175spam_folder @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/180vfolder b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/180vfolder new file mode 100644 index 0000000..1032e68 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/180vfolder @@ -0,0 +1,10 @@ +//180vfolder +$_prefs['vfolder'] = array( + 'value' => '', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + +// End Server and Folder Information preferences + + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/185acl2 b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/185acl2 new file mode 100644 index 0000000..b31f958 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/185acl2 @@ -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 + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/190initialpageselect b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/190initialpageselect new file mode 100644 index 0000000..954db2c --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/190initialpageselect @@ -0,0 +1,6 @@ +//190initialpageselect +// Login/Maintenance Tasks preferences + +// select widget for the initial_page preference +$_prefs['initialpageselect'] = array('type' => 'special'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/195initial_page b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/195initial_page new file mode 100644 index 0000000..04b2ee5 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/195initial_page @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/205rename_sentmail_monthly b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/205rename_sentmail_monthly new file mode 100644 index 0000000..78fa02c --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/205rename_sentmail_monthly @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/210delete_sentmail_monthly b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/210delete_sentmail_monthly new file mode 100644 index 0000000..7e4c325 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/210delete_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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/215delete_sentmail_monthly_keep b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/215delete_sentmail_monthly_keep new file mode 100644 index 0000000..6291780 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/215delete_sentmail_monthly_keep @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/217purge_sentmail b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/217purge_sentmail new file mode 100644 index 0000000..246c5d9 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/217purge_sentmail @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/218purge_sentmail_interval b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/218purge_sentmail_interval new file mode 100644 index 0000000..5d60530 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/218purge_sentmail_interval @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/219purge_sentmail_keep b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/219purge_sentmail_keep new file mode 100644 index 0000000..b1cf522 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/219purge_sentmail_keep @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/220delete_attachments_monthly b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/220delete_attachments_monthly new file mode 100644 index 0000000..76944fb --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/220delete_attachments_monthly @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/225delete_attachments_monthly_keep b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/225delete_attachments_monthly_keep new file mode 100644 index 0000000..2bacbbc --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/225delete_attachments_monthly_keep @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/227purge_spam b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/227purge_spam new file mode 100644 index 0000000..33df6d8 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/227purge_spam @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/228purge_spam_interval b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/228purge_spam_interval new file mode 100644 index 0000000..a38509a --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/228purge_spam_interval @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/229purge_spam_keep b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/229purge_spam_keep new file mode 100644 index 0000000..75020a0 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/229purge_spam_keep @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/230purge_trash b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/230purge_trash new file mode 100644 index 0000000..62f3e46 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/230purge_trash @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/235purge_trash_interval b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/235purge_trash_interval new file mode 100644 index 0000000..85557ed --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/235purge_trash_interval @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/240purge_trash_keep b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/240purge_trash_keep new file mode 100644 index 0000000..8e05b0c --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/240purge_trash_keep @@ -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'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/245tos_agreement b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/245tos_agreement new file mode 100644 index 0000000..3420f38 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/245tos_agreement @@ -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 + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/250stationary_link b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/250stationary_link new file mode 100644 index 0000000..edc8ef5 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/250stationary_link @@ -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.")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/255stationary b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/255stationary new file mode 100644 index 0000000..6245add --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/255stationary @@ -0,0 +1,7 @@ +//255stationary +$_prefs['stationery'] = array( + 'value' => 'a:0:\{\}', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/257mailto_handler b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/257mailto_handler new file mode 100644 index 0000000..3378a29 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/257mailto_handler @@ -0,0 +1,12 @@ +//257mailto_handler +// Link to add a Firefox 3 mailto: handler +$_prefs['mailto_handler'] = array( + 'type' => 'link', + 'xurl' => 'javascript:if(typeof navigator.registerProtocolHandler==\'undefined\')alert(\'' + . addslashes(_("Your browser does not support this feature.")) + . '\');else navigator.registerProtocolHandler(\'mailto\',\'' + . Util::addParameter(Horde::applicationUrl('compose.php', true), + array('actionID' => 'mailto_link', 'to' => ''), false) + . '%s\',\'' . $GLOBALS['registry']->get('name') . '\');', + 'desc' => sprintf(_("Click here to open all mailto: links in %s."), $GLOBALS['registry']->get('name'))); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/260compose_cc b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/260compose_cc new file mode 100644 index 0000000..3255b1f --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/260compose_cc @@ -0,0 +1,10 @@ +//260compose_cc +// Show Cc: field? +$_prefs['compose_cc'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Show the Cc: header field when composing mail?") +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/265compose_bcc b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/265compose_bcc new file mode 100644 index 0000000..9f36e34 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/265compose_bcc @@ -0,0 +1,10 @@ +//265compose_bcc +// Show Bcc: field? +$_prefs['compose_bcc'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Show the Bcc: header field when composing mail?") +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/270compose_spellcheck b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/270compose_spellcheck new file mode 100644 index 0000000..6658e39 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/270compose_spellcheck @@ -0,0 +1,8 @@ +//270compose_spellcheck +// Check spelling before sending the message? +$_prefs['compose_spellcheck'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Check spelling before sending a message?")); diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/275compose_confirm b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/275compose_confirm new file mode 100644 index 0000000..24367e4 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/275compose_confirm @@ -0,0 +1,9 @@ +//275compose_confirm +// confirm successful sending of messages? +$_prefs['compose_confirm'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Display confirmation after sending a message?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/280set_priority b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/280set_priority new file mode 100644 index 0000000..82fc528 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/280set_priority @@ -0,0 +1,9 @@ +//280set_priority +// allow the user to add a "X-Priority" header when composing messages? +$_prefs['set_priority'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Set the X-Priority header when composing messages?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/285compose_popup b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/285compose_popup new file mode 100644 index 0000000..b693f3b --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/285compose_popup @@ -0,0 +1,10 @@ +//285compose_popup +// compose in a separate window? +$_prefs['compose_popup'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Compose messages in a separate window?") +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/290compose_html b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/290compose_html new file mode 100644 index 0000000..b65f27b --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/290compose_html @@ -0,0 +1,11 @@ +//290compose_html +// If browser supports the HTML editor, should we compose in HTML mode by +// default? +$_prefs['compose_html'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Compose messages with an HTML GUI by default (if browser supports the feature)?") +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/295jseditor b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/295jseditor new file mode 100644 index 0000000..a727531 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/295jseditor @@ -0,0 +1,13 @@ +//295jseditor +// The default JS HTML editor. +$_prefs['jseditor'] = array( + 'value' => 'xinha', + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + // To use 'fckeditor', you must have Horde 3.2 or greater installed. + 'enum' => array('fckeditor' => _("FCKeditor"), + 'xinha' => _("Xinha")), + 'desc' => _("The javascript editor to use on the compose page.") +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/300fckeditor_buttons b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/300fckeditor_buttons new file mode 100644 index 0000000..dc07149 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/300fckeditor_buttons @@ -0,0 +1,12 @@ +//300fckeditor_buttons +// The list of buttons to show in FCKeditor +$_prefs['fckeditor_buttons'] = array( + 'value' => "[['Source','FitWindow','-','Templates'],['Cut','Copy','Paste','PasteText','PasteWord'],['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],'/',['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],['Link','Unlink'],['Image','Flash','Table','Rule','Smiley','SpecialChar'],'/',['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],['TextColor','BGColor'],'/',['Style','FontFormat','FontName','FontSize']]", + // Use the following line for a very basic set of buttons: + // 'value' => "['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink']", + 'locked' => true, + 'shared' => false, + 'type' => 'textarea', + 'desc' => _("The buttons to show when using FCKeditor.") +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/305xinha_hide_buttons b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/305xinha_hide_buttons new file mode 100644 index 0000000..6397a12 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/305xinha_hide_buttons @@ -0,0 +1,55 @@ +//205xinha_hide_buttons +// Hidden Xinha buttons. +$_prefs['xinha_hide_buttons'] = array( + 'value' => 'a:25:\{i:0;s:11:"popupeditor";i:1;s:13:"strikethrough";i:2;s:13:"textindicator";i:3;s:9:"subscript";i:4;s:11:"superscript";i:5;s:20:"inserthorizontalrule";i:6;s:11:"insertimage";i:7;s:11:"inserttable";i:8;s:9:"selectall";i:9;s:5:"print";i:10;s:3:"cut";i:11;s:4:"copy";i:12;s:5:"paste";i:13;s:9:"overwrite";i:14;s:6:"saveas";i:15;s:8:"killword";i:16;s:10:"clearfonts";i:17;s:12:"removeformat";i:18;s:13:"toggleborders";i:19;s:10:"splitblock";i:20;s:11:"lefttoright";i:21;s:11:"righttoleft";i:22;s:8:"htmlmode";i:23;s:8:"showhelp";i:24;s:5:"about";\}', + 'locked' => false, + 'shared' => false, + 'type' => 'multienum', + 'enum' => array( + 'popupeditor' => _("Maximize/Minimize Editor"), + 'formatblock' => _("Text Format"), + 'fontname' => _("Text Font"), + 'fontsize' => _("Text Size"), + 'bold' => _("Bold"), + 'italic' => _("Italic"), + 'underline' => _("Underline"), + 'strikethrough' => _("Strikethrough"), + 'forecolor' => _("Font Color"), + 'hilitecolor' => _("Background Color"), + 'textindicator' => _("Current style"), + 'subscript' => _("Subscript"), + 'superscript' => _("Superscript"), + 'justifyleft' => _("Justify Left"), + 'justifycenter' => _("Justify Center"), + 'justifyright' => _("Justify Right"), + 'justifyfull' => _("Justify Full"), + 'insertorderedlist' => _("Ordered List"), + 'insertunorderedlist' => _("Bulleted List"), + 'outdent' => _("Decrease Indent"), + 'indent' => _("Increase Indent"), + 'inserthorizontalrule' => _("Horizontal Rule"), + 'createlink' => _("Insert Web Link"), + 'insertimage' => _("Insert/Modify Image"), + 'inserttable' => _("Insert Table"), + 'undo' => _("Undoes your last action"), + 'redo' => _("Redoes your last action"), + 'selectall' => _("Select all"), + 'print' => _("Print document"), + 'cut' => _("Cut selection"), + 'copy' => _("Copy selection"), + 'paste' => _("Paste from clipboard"), + 'overwrite' => _("Insert/Overwrite"), + 'saveas' => _("Save as"), + 'killword' => _("Clear MSOffice tags"), + 'clearfonts' => _("Clear Inline Font Specifications"), + 'removeformat' => _("Remove formatting"), + 'toggleborders' => _("Toggle Borders"), + 'splitblock' => _("Split Block"), + 'lefttoright' => _("Direction left to right"), + 'righttoleft' => _("Direction right to left"), + 'htmlmode' => _("Toggle HTML Source"), + 'showhelp' => _("Help using editor"), + 'about' => _("About this editor")), + 'desc' => _("The buttons NOT to show when using Xinha.") +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/310mail_domain b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/310mail_domain new file mode 100644 index 0000000..9d34c01 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/310mail_domain @@ -0,0 +1,9 @@ +//310mail_domain +// default outgoing mail domain and address completion +$_prefs['mail_domain'] = array( + 'value' => '', + 'locked' => false, + 'shared' => false, + 'type' => 'text', + 'desc' => _("When sending mail or expanding addresses, what domain should we append to unqualified addresses (email addresses without \"@\")?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/312compose_cursor b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/312compose_cursor new file mode 100644 index 0000000..8577b85 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/312compose_cursor @@ -0,0 +1,13 @@ +//312compose_cursor +// Where should the cursor be located in the compose text area by default? +$_prefs['compose_cursor'] = array( + 'value' => 'top', + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array('top' => _("Top"), + 'bottom' => _("Bottom"), + 'sig' => _("Before Signature")), + 'desc' => _("Where should the cursor be located in the compose text area by default?") +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/315sending_charset b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/315sending_charset new file mode 100644 index 0000000..07a4888 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/315sending_charset @@ -0,0 +1,11 @@ +//315sending_charset +// Select widget for the possible charsets +$_prefs['sending_charset'] = array( + 'value' => '', + 'locked' => false, + 'shared' => true, + 'type' => 'enum', + 'enum' => array_merge(array('' => _("Default")), + $GLOBALS['nls']['encodings']), + 'desc' => _("Your default charset for sending messages:")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/320encryptselect b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/320encryptselect new file mode 100644 index 0000000..2e33f07 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/320encryptselect @@ -0,0 +1,4 @@ +//320encryptselect +// Select widget for the 'default_encrypt' preference +$_prefs['encryptselect'] = array('type' => 'special'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/325default_encrypt b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/325default_encrypt new file mode 100644 index 0000000..0fa5bde --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/325default_encrypt @@ -0,0 +1,8 @@ +//325default_encrypt +// The default encryption method to use when sending messages +$_prefs['default_encrypt'] = array( + 'value' => IMP_ENCRYPT_NONE, + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/330save_attachments b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/330save_attachments new file mode 100644 index 0000000..4f683c8 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/330save_attachments @@ -0,0 +1,14 @@ +//330save_attachments +// Save attachments when saving in sent-mail folder? +$_prefs['save_attachments'] = array( + 'value' => 'prompt_no', + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array('always' => _("Always save attachments"), + 'prompt_yes' => _("Prompt every time an attachment is sent; default to YES"), + 'prompt_no' => _("Prompt every time an attachment is sent; default to NO"), + 'never' => _("Never save attachments")), + 'desc' => _("When saving sent-mail, should we save attachment data?"), + 'help' => 'prefs-save_attachments'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/335disposition_request_read b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/335disposition_request_read new file mode 100644 index 0000000..36e713f --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/335disposition_request_read @@ -0,0 +1,16 @@ +//335disposition_request_read +// Disposition Notification Preferences +$_prefs['disposition_request_read'] = array( + 'value' => 'ask', + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array('never' => _("Never"), + 'ask' => _("Ask"), + 'always' => _("Always")), + 'desc' => _("Request read receipts?"), + 'help' => 'prefs-disposition_request_read' +); + +// End Message Composition preferences + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/340reply_quote b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/340reply_quote new file mode 100644 index 0000000..6ee8f56 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/340reply_quote @@ -0,0 +1,11 @@ +//340reply_quote +// Message Replies/Forwards preferences + +// Should the original message be included? +$_prefs['reply_quote'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Include original message in a reply?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/345reply_format b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/345reply_format new file mode 100644 index 0000000..bad1573 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/345reply_format @@ -0,0 +1,10 @@ +//345reply_format +// When replying/forwarding to a message, should we use the same format as the +// original message? +$_prefs['reply_format'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("When replying/forwarding to a message, should we use the same format as the original message?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/350forward_default b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/350forward_default new file mode 100644 index 0000000..2ad09c0 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/350forward_default @@ -0,0 +1,13 @@ +//350forward_default +// What should the default forward method be? +$_prefs['forward_default'] = array( + 'value' => 'forward_all', + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array('forward_all' => _("Entire Message"), + 'forward_body' => _("Body Text Only"), + 'forward_attachments' => _("Body Text with Attachments")), + 'desc' => _("Default forwarding method:"), + 'help' => 'message-forward'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/355forward_bodytext b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/355forward_bodytext new file mode 100644 index 0000000..70efdb9 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/355forward_bodytext @@ -0,0 +1,9 @@ +//355forward_bodytext +// Should the original message be included? +$_prefs['forward_bodytext'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Include body text in forward message by default?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/360reply_headers b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/360reply_headers new file mode 100644 index 0000000..fd1ad93 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/360reply_headers @@ -0,0 +1,10 @@ +//360reply_headers +// Reply to header summary - leave a brief summary of the header inside +// the message. +$_prefs['reply_headers'] = array( + 'desc' => _("Include a brief summary of the header in a reply?"), + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/362attrib_text b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/362attrib_text new file mode 100644 index 0000000..e641386 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/362attrib_text @@ -0,0 +1,12 @@ +//362attrib_text +// How should we attribute quoted lines in a reply +$_prefs['attrib_text'] = array( + 'value' => _("Quoting %f:"), + 'locked' => false, + 'shared' => false, + 'type' => 'text', + 'desc' => _("How to attribute quoted lines in a reply"), + 'help' => 'prefs-attrib_text'); + +// End Message Replies/Forwards preferences + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/365close_draft b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/365close_draft new file mode 100644 index 0000000..e08f553 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/365close_draft @@ -0,0 +1,11 @@ +//365close_draft +// Message Drafts preferences + +// closing window after saving a draft? +$_prefs['close_draft'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Should the compose window be closed after saving a draft?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/367unseen_drafts b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/367unseen_drafts new file mode 100644 index 0000000..c06efe5 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/367unseen_drafts @@ -0,0 +1,9 @@ +//367unseen_drafts +// save drafts as seen or unseen +$_prefs['unseen_drafts'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Save drafts as unseen?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/370auto_save_drafts b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/370auto_save_drafts new file mode 100644 index 0000000..2adce2e --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/370auto_save_drafts @@ -0,0 +1,15 @@ +//370auto_save_drafts +// auto-save drafts? value is in minutes, 0 == don't save. +// Only works w/DIMP - does not show in prefs screen by default +$_prefs['auto_save_drafts'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array(0 => _("No"), + 5 => _("Every 5 minutes")), + 'desc' => _("Save drafts automatically while composing?"), +); + +// End Message Drafts preferences + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/372filtering b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/372filtering new file mode 100644 index 0000000..da351af --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/372filtering @@ -0,0 +1,11 @@ +//372filtering +// Message Viewing preferences + +// filter message content? +$_prefs['filtering'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Filter message content for profanity?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/375strip_attachments b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/375strip_attachments new file mode 100644 index 0000000..4e93a26 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/375strip_attachments @@ -0,0 +1,9 @@ +//375strip_attachments +// Should we display an icon to strip attachments? +$_prefs['strip_attachments'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Show an icon to allow stripping of attachments from messages?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/377delete_spam_after_report b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/377delete_spam_after_report new file mode 100644 index 0000000..b7e08ff --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/377delete_spam_after_report @@ -0,0 +1,17 @@ +//377delete_spam_after_report +// What should we do with spam messages after reporting them? +$_prefs['delete_spam_after_report'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array(0 => _("Nothing"), + 1 => _("Delete spam messages")), + 'desc' => _("What should we do with spam messages after they have been reported as spam or innocent?"), + 'help' => 'prefs-delete_spam_after_report' +); +if (!$is_pop3) \{ + $_prefs['delete_spam_after_report']['enum'][2] = + _("Move spam messages to spam folder and innocent messages to INBOX"); +\} + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/380html_image_replacement b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/380html_image_replacement new file mode 100644 index 0000000..169221d --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/380html_image_replacement @@ -0,0 +1,11 @@ +//380html_image_replacement +// Replace image tags in HTML messages with blank images? +$_prefs['html_image_replacement'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Block images in HTML messages unless they are specifically requested?"), + 'help' => 'prefs-html_image_replacement' +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/382html_image_addrbook b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/382html_image_addrbook new file mode 100644 index 0000000..520073e --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/382html_image_addrbook @@ -0,0 +1,12 @@ +//382html_image_addrbook +// By default, automatically show images in HTML messages if the sender is in +// the user's addressbook? +$_prefs['html_image_addrbook'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Automatically show images in HTML messages when the sender is in my address book?"), + 'help' => 'prefs-html_image_addrbook' +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/385highlight_text b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/385highlight_text new file mode 100644 index 0000000..38eafff --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/385highlight_text @@ -0,0 +1,9 @@ +//385highlight_text +// should we try to mark different conversations with different colors? +$_prefs['highlight_text'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Mark different levels of quoting with different colors?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/387highlight_simple_markup b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/387highlight_simple_markup new file mode 100644 index 0000000..d07c807 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/387highlight_simple_markup @@ -0,0 +1,9 @@ +//387highlight_simple_markup +// should we try to mark simple markup with html tags? +$_prefs['highlight_simple_markup'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Mark simple markup?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/390show_quoteblocks b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/390show_quoteblocks new file mode 100644 index 0000000..d8c0519 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/390show_quoteblocks @@ -0,0 +1,14 @@ +//390show_quoteblocks +// should we show large blocks of quoted text or hide them? +$_prefs['show_quoteblocks'] = array( + 'value' => 'thread', + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array('shown' => _("Shown"), + 'thread' => _("Hidden in Thread View"), + 'list' => _("Hidden in List Messages"), + 'listthread' => _("Hidden in Thread View and List Messages"), + 'hidden' => _("Hidden")), + 'desc' => _("Should large blocks of quoted text be shown or hidden by default? It can be toggled easily whichever you choose.")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/392dim_signature b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/392dim_signature new file mode 100644 index 0000000..7546ee9 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/392dim_signature @@ -0,0 +1,9 @@ +//392dim_signature +// should we dim signatures? +$_prefs['dim_signature'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Dim signatures?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/395emoticons b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/395emoticons new file mode 100644 index 0000000..46f85d5 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/395emoticons @@ -0,0 +1,9 @@ +//395emoticons +// Convert textual emoticons into graphical ones? +$_prefs['emoticons'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Convert textual emoticons into graphical ones?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/400attachment_display b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/400attachment_display new file mode 100644 index 0000000..c2b6a7f --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/400attachment_display @@ -0,0 +1,12 @@ +//400attachment_display +// how do we display attachments? +$_prefs['attachment_display'] = array( + 'value' => 'list', + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array('list' => _("Listing in the Header"), + 'inline' => _("Display in Body of Message"), + 'both' => _("Both Header Listing and Body of Message")), + 'desc' => _("How do you want to display attachments?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/401mail_hdr b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/401mail_hdr new file mode 100644 index 0000000..3013516 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/401mail_hdr @@ -0,0 +1,11 @@ +//401mail_hdr +// Display custom headers (configured via the identity screen) when viewing +// messages? +$_prefs['mail_hdr'] = array( + 'value' => '', +// 'value' => "Message-ID\nX-Spam-Level", + 'locked' => false, + 'shared' => false, + 'type' => 'textarea', + 'desc' => _("Additional headers to display when viewing: (optional, enter each header on a new line)")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/402default_msg_charset b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/402default_msg_charset new file mode 100644 index 0000000..b1e77e4 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/402default_msg_charset @@ -0,0 +1,16 @@ +//402default_msg_charset +// default message character set +$_prefs['default_msg_charset'] = array( + 'value' => isset($GLOBALS['nls']['emails'][$GLOBALS['language']]) + ? $GLOBALS['nls']['emails'][$GLOBALS['language']] + : (isset($GLOBALS['nls']['charsets'][$GLOBALS['language']]) + ? $GLOBALS['nls']['charsets'][$GLOBALS['language']] + : ''), + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array_merge(array('' => _("Default (US-ASCII)")), + $GLOBALS['nls']['encodings']), + 'desc' => _("The default charset for messages with no charset information:"), + 'help' => 'prefs-default_msg_charset'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/403alternative_display b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/403alternative_display new file mode 100644 index 0000000..6b40b80 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/403alternative_display @@ -0,0 +1,12 @@ +//403alternative_display +// how do we display alternative mime parts? +$_prefs['alternative_display'] = array( + 'value' => 'none', + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array('above' => _("Above the message text"), + 'below' => _("Below the message text"), + 'none' => _("Not at all")), + 'desc' => _("Where do you want to display links to alternative formats of a message?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/404disposition_send_mdn b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/404disposition_send_mdn new file mode 100644 index 0000000..acb9633 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/404disposition_send_mdn @@ -0,0 +1,12 @@ +//404disposition_send_mdn +$_prefs['disposition_send_mdn'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Prompt to send read receipt when requested by the sender?"), + 'help' => 'prefs-disposition_send_mdn' +); + +// End Message Viewing preferences + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/405mailbox_return b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/405mailbox_return new file mode 100644 index 0000000..c28b5b1 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/405mailbox_return @@ -0,0 +1,11 @@ +//405mailbox_return +// Deleting and Moving Messages preferences + +// should we return to the mailbox listing after deleting a message? +$_prefs['mailbox_return'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Return to the mailbox listing after deleting, moving, or copying a message?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/410use_trash b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/410use_trash new file mode 100644 index 0000000..3a34cc6 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/410use_trash @@ -0,0 +1,10 @@ +//410use_trash +// should we move messages to a trash folder instead of just marking +// them as deleted? +$_prefs['use_trash'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("When deleting messages, move them to your Trash folder instead of marking them as deleted?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/415use_vtrash b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/415use_vtrash new file mode 100644 index 0000000..18238f3 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/415use_vtrash @@ -0,0 +1,8 @@ +//415use_vtrash +// use Virtual Trash folder +$_prefs['use_vtrash'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/417vtrash_id b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/417vtrash_id new file mode 100644 index 0000000..3f5e5e7 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/417vtrash_id @@ -0,0 +1,8 @@ +//417vtrash_id +// virtual trash folder identifier +$_prefs['vtrash_id'] = array( + 'value' => '', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/418empty_trash_menu b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/418empty_trash_menu new file mode 100644 index 0000000..2b836bb --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/418empty_trash_menu @@ -0,0 +1,9 @@ +//418empty_trash_menu +// display the 'Empty Trash' link in the menubar? +$_prefs['empty_trash_menu'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Display the \"Empty Trash\" link in the menubar?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/419empty_spam_menu b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/419empty_spam_menu new file mode 100644 index 0000000..6dbd07b --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/419empty_spam_menu @@ -0,0 +1,9 @@ +//419empty_spam_menu +// display the 'Empty Spam' link in the menubar? +$_prefs['empty_spam_menu'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Display the \"Empty Spam\" link in the menubar?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/420delhide b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/420delhide new file mode 100644 index 0000000..bd20dc4 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/420delhide @@ -0,0 +1,10 @@ +//420delhide +// hide deleted +$_prefs['delhide'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + +// End Deleting and Moving Messages preferences + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/425refresh_time b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/425refresh_time new file mode 100644 index 0000000..ed70496 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/425refresh_time @@ -0,0 +1,18 @@ +//425refresh_time +// New Mail preferences + +// time before reloading the navigator or mailbox page +$_prefs['refresh_time'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array(0 => _("Never"), + 30 => _("Every 30 seconds"), + 60 => _("Every minute"), + 300 => _("Every 5 minutes"), + 900 => _("Every 15 minutes"), + 1800 => _("Every half hour")), + 'desc' => _("Refresh Folder Views:"), +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/430nav_popup b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/430nav_popup new file mode 100644 index 0000000..d2d8f9d --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/430nav_popup @@ -0,0 +1,10 @@ +//430nav_popup +// javascript popup if there's new mail? +$_prefs['nav_popup'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Display pop-up notification of new mail?"), +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/432nav_aud b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/432nav_aud new file mode 100644 index 0000000..be7d4ee --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/432nav_aud @@ -0,0 +1,14 @@ +//432nav_audio +// play a sound on new mail? if so, which one? +$_prefs['nav_audio'] = array( + 'value' => '', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit', +); + +// sound selection widget +$_prefs['soundselect'] = array('type' => 'special'); + +// End New Mail preferences + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/435preview_enabled b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/435preview_enabled new file mode 100644 index 0000000..4e957da --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/435preview_enabled @@ -0,0 +1,11 @@ +//435preview_enabled +// Message Preview Preferences + +$_prefs['preview_enabled'] = array( + 'value' => '0', + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Enable message previews?") +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/440preview_maxlen b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/440preview_maxlen new file mode 100644 index 0000000..106a352 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/440preview_maxlen @@ -0,0 +1,13 @@ +//440preview_maxlen +$_prefs['preview_maxlen'] = array( + 'value' => 250, + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array(100 => _("100 characters"), + 250 => _("250 characters"), + 500 => _("500 characters"), + 1000 => _("1000 characters")), + 'desc' => _("Characters to display:") +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/445preview_strip_nl b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/445preview_strip_nl new file mode 100644 index 0000000..26435c8 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/445preview_strip_nl @@ -0,0 +1,9 @@ +//445preview_strip_nl +$_prefs['preview_strip_nl'] = array( + 'value' => '1', + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Strip linebreaks?") +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/450preview_show_unread b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/450preview_show_unread new file mode 100644 index 0000000..f130888 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/450preview_show_unread @@ -0,0 +1,9 @@ +//450preview_show_unread +$_prefs['preview_show_unread'] = array( + 'value' => '1', + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Show previews for unread messages only?") +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/455preview_show_tooltip b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/455preview_show_tooltip new file mode 100644 index 0000000..1a595c9 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/455preview_show_tooltip @@ -0,0 +1,11 @@ +//455preview_show_tooltip +$_prefs['preview_show_tooltip'] = array( + 'value' => '0', + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Show previews in tooltips?") +); + +// End Message Preview + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/460fetchmail_link b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/460fetchmail_link new file mode 100644 index 0000000..e12340a --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/460fetchmail_link @@ -0,0 +1,10 @@ +//460fetchmail_link +// Fetch Mail preferences + +// Change this if you want to customize how fetchmailprefs.php works. +$_prefs['fetchmail_link'] = array( + 'type' => 'link', + 'url' => 'fetchmailprefs.php', + 'img' => 'fetchmail.png', + 'desc' => _("Edit your preferences for accessing other mail accounts.")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/465fetchmail_popup b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/465fetchmail_popup new file mode 100644 index 0000000..887ca9e --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/465fetchmail_popup @@ -0,0 +1,9 @@ +//465fetchmail_popup +// Fetch mail on separate window? +$_prefs['fetchmail_popup'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Fetch Mail in a separate window?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/470fetchmail_menu b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/470fetchmail_menu new file mode 100644 index 0000000..7a698bf --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/470fetchmail_menu @@ -0,0 +1,9 @@ +//470fetchmail_menu +// Show the Fetch mail icon on the menubar? +$_prefs['fetchmail_menu'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Show the Fetch Mail icon on the menubar?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/475fm_accounts b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/475fm_accounts new file mode 100644 index 0000000..9840368 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/475fm_accounts @@ -0,0 +1,8 @@ +//475fm_accounts +// Don't change anything here. +$_prefs['fm_accounts'] = array( + 'value' => 'a:0:\{\}', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/480fetchmail_login b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/480fetchmail_login new file mode 100644 index 0000000..3cc75e3 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/480fetchmail_login @@ -0,0 +1,9 @@ +//480fetchmail_login +$_prefs['fetchmail_login'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + +// End Fetch Mail preferences + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/485mailbox_start b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/485mailbox_start new file mode 100644 index 0000000..124f81d --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/485mailbox_start @@ -0,0 +1,16 @@ +//485mailbox)_start +// Display Options preferences + +// which page to start on when opening mailbox +$_prefs['mailbox_start'] = array( + 'value' => IMP_MAILBOXSTART_FIRSTUNSEEN, + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array(IMP_MAILBOXSTART_FIRSTUNSEEN => _("Page with the First Unseen Message"), + IMP_MAILBOXSTART_LASTUNSEEN => _("Page with the Last Unseen Message"), + IMP_MAILBOXSTART_FIRSTPAGE => _("First Mailbox Page"), + IMP_MAILBOXSTART_LASTPAGE => _("Last Mailbox Page")), + 'desc' => _("When opening a new mailbox for the first time, which page do you want to start on?"), + 'help' => 'prefs-mailbox_start'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/490sortby b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/490sortby new file mode 100644 index 0000000..1668288 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/490sortby @@ -0,0 +1,16 @@ +//490sortby +// default sorting column +$_prefs['sortby'] = array( + 'value' => SORTARRIVAL, + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array(SORTARRIVAL => _("Arrival Time"), + SORTDATE => _("Message Date"), + SORTFROM => _("From Address"), + SORTTO => _("To Address"), + SORTSUBJECT => _("Subject Field"), + SORTSIZE => _("Message Size"), + SORTTHREAD => _("Thread View")), + 'desc' => _("Default sorting criteria:")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/495sortdir b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/495sortdir new file mode 100644 index 0000000..6c25f30 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/495sortdir @@ -0,0 +1,11 @@ +//495sortdir +// default sorting direction +$_prefs['sortdir'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array(0 => _("Ascending"), + 1 => _("Descending")), + 'desc' => _("Default sorting direction:")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/498sortpref b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/498sortpref new file mode 100644 index 0000000..dc3f682 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/498sortpref @@ -0,0 +1,8 @@ +//498sortpref +// sort prefs for individual folders +$_prefs['sortpref'] = array( + 'value' => 'a:0:\{\}', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/500max_msgs b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/500max_msgs new file mode 100644 index 0000000..a5633e3 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/500max_msgs @@ -0,0 +1,9 @@ +//500max_msgs +// mailbox constraints +$_prefs['max_msgs'] = array( + 'value' => 20, + 'locked' => false, + 'shared' => false, + 'type' => 'number', + 'desc' => _("Messages per page in the mailbox view.")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/505from_link b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/505from_link new file mode 100644 index 0000000..8b14003 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/505from_link @@ -0,0 +1,14 @@ +//505from_link +// How the from field should be displayed on the mailbox screen +$_prefs['from_link'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array( + 0 => _("Clicking on the address will compose a new message to the sender"), + 1 => _("Clicking on the address will open the message to be read"), + 2 => _("Do not generate a link in the From: column") + ), + 'desc' => _("The From: column of the message should be linked:")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/510time_format b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/510time_format new file mode 100644 index 0000000..198e281 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/510time_format @@ -0,0 +1,16 @@ +//510time_format +// Time format for messages dated today +$_prefs['time_format'] = array( + 'value' => '%X', + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array( + '%X' => strftime('%X'), + '%H:%M:%S' => strftime('%H:%M:%S'), + '%I:%M:%S %p' => strftime('%I:%M:%S %p'), + '%H:%M' => strftime('%H:%M'), + '%I:%M%p' => strftime('%I:%M%p'), + ), + 'desc' => _("Format of message dates in the mailbox view for messages dated today")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/512from_link b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/512from_link new file mode 100644 index 0000000..381ca89 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/512from_link @@ -0,0 +1,14 @@ +//512from_link +// How the from field should be displayed on the mailbox screen +$_prefs['from_link'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array( + 0 => _("Clicking on the address will compose a new message to the sender"), + 1 => _("Clicking on the address will open the message to be read"), + 2 => _("Do not generate a link in the From: column") + ), + 'desc' => _("The From: column of the message should be linked:")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/514time_format b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/514time_format new file mode 100644 index 0000000..3e49be6 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/514time_format @@ -0,0 +1,16 @@ +//514time_format +// Time format for messages dated today +$_prefs['time_format'] = array( + 'value' => '%X', + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array( + '%X' => strftime('%X'), + '%H:%M:%S' => strftime('%H:%M:%S'), + '%I:%M:%S %p' => strftime('%I:%M:%S %p'), + '%H:%M' => strftime('%H:%M'), + '%I:%M%p' => strftime('%I:%M%p'), + ), + 'desc' => _("Format of message dates in the mailbox view for messages dated today")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/515nav_expanded b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/515nav_expanded new file mode 100644 index 0000000..af58d4b --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/515nav_expanded @@ -0,0 +1,12 @@ +//515nav_expanded +// expand folder tree by default +$_prefs['nav_expanded'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array(0 => _("No"), + 1 => _("Yes"), + 2 => _("Remember the last view")), + 'desc' => _("Expand the entire folder tree by default in the folders view?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/517tree_view b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/517tree_view new file mode 100644 index 0000000..d267f7a --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/517tree_view @@ -0,0 +1,12 @@ +//517tree_view +// folder tree view style +$_prefs['tree_view'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array(0 => _("Combine all namespaces"), + 1 => _("Show non-private mailboxes in separate folders")), + 'desc' => _("How should namespaces be displayed in the folder tree view?") +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/518nav_expanded_sidebar b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/518nav_expanded_sidebar new file mode 100644 index 0000000..ea6999a --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/518nav_expanded_sidebar @@ -0,0 +1,12 @@ +//517nav_expanded_sidebar +// expand folder tree by default in sidebar +$_prefs['nav_expanded_sidebar'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'enum', + 'enum' => array(0 => _("No"), + 1 => _("Yes"), + 2 => _("Current expanded status in the folders view")), + 'desc' => _("Expand the entire folder tree by default in the sidebar?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/520nav_poll_all b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/520nav_poll_all new file mode 100644 index 0000000..60fba30 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/520nav_poll_all @@ -0,0 +1,9 @@ +//520nav_poll_all +// poll all folders for new mail? +$_prefs['nav_poll_all'] = array( + 'value' => false, + 'locked' => isset($_SESSION['imp']) && $_SESSION['imp']['base_protocol'] == 'pop3', + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Poll all folders for new mail?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/525expanded_folders b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/525expanded_folders new file mode 100644 index 0000000..53c3780 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/525expanded_folders @@ -0,0 +1,8 @@ +//525expanded_folders +// list of folders to expand by default +$_prefs['expanded_folders'] = array( + 'value' => 'a:0:\{\}', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/530nav_poll b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/530nav_poll new file mode 100644 index 0000000..f0660ec --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/530nav_poll @@ -0,0 +1,10 @@ +//530nav_poll +// list of folders to poll for new mail +$_prefs['nav_poll'] = array( + 'value' => '', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + +// End Display Options preferences + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/535filter_on_login b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/535filter_on_login new file mode 100644 index 0000000..55afb34 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/535filter_on_login @@ -0,0 +1,10 @@ +//535filter_on_login +// Filter preference + +// run filters on login? +$_prefs['filter_on_login'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/540filter_on_display b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/540filter_on_display new file mode 100644 index 0000000..5999381 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/540filter_on_display @@ -0,0 +1,8 @@ +//filter_on_display +// run filters with INBOX display? +$_prefs['filter_on_display'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/542filter_on_sidbar b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/542filter_on_sidbar new file mode 100644 index 0000000..4b85ab4 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/542filter_on_sidbar @@ -0,0 +1,8 @@ +//542filter_on_sidebar +// run filters when sidebar updates? +$_prefs['filter_on_sidebar'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/545filter_menuitem b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/545filter_menuitem new file mode 100644 index 0000000..dc30b0e --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/545filter_menuitem @@ -0,0 +1,8 @@ +//545filter_menuitem +// show filter icon on the menubar? +$_prefs['filter_menuitem'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/550filter_any_mailbox b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/550filter_any_mailbox new file mode 100644 index 0000000..297ed21 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/550filter_any_mailbox @@ -0,0 +1,10 @@ +//550filter_any_mailbox +// Allow filters to be applied to any mailbox? +$_prefs['filter_any_mailbox'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + +// End Filter preferences + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/560save_recipients b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/560save_recipients new file mode 100644 index 0000000..4037b17 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/560save_recipients @@ -0,0 +1,12 @@ +//560save_recipients +// Address book preferences + +// Should recipients of outgoing messages be added automatically to +// the address book? +$_prefs['save_recipients'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'checkbox', + 'desc' => _("Save recipients automatically to the default address book?")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/565display_contact b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/565display_contact new file mode 100644 index 0000000..6379535 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/565display_contact @@ -0,0 +1,11 @@ +//565display_contact +// By default, display all contacts in the address book when loading +// the contacts screen. If your default address book is large and +// slow to display, you may want to disable and lock this option. +$_prefs['display_contact'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => true, + 'type' => 'checkbox', + 'desc' => _("List all contacts when loading the contacts screen? (if disabled, you will only see contacts that you search for explicitly)")); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/570sourceselect b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/570sourceselect new file mode 100644 index 0000000..a7c0d2f --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/570sourceselect @@ -0,0 +1,4 @@ +//570sourceselect +// address book selection widget +$_prefs['sourceselect'] = array('type' => 'special'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/575search_sources b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/575search_sources new file mode 100644 index 0000000..010e2e5 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/575search_sources @@ -0,0 +1,11 @@ +//575search_sources +// address book(s) to use when expanding addresses +// You can provide default values this way (note the \t and the double quotes): +// 'value' => "source_one\tsource_two" +// refer to turba/config/sources.php for possible source values +$_prefs['search_sources'] = array( + 'value' => "", + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/580search_fields b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/580search_fields new file mode 100644 index 0000000..862df05 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/580search_fields @@ -0,0 +1,14 @@ +//580search_fields +// field(s) to use when expanding addresses +// This depends on the search_sources preference if you want to provide +// default values: +// 'value' => "source_one\tfield_one\tfield_two\nsource_two\tfield_three" +// will search the fields 'field_one' and 'field_two' in source_one and +// 'field_three' in source_two. +// refer to turba/config/sources.php for possible source and field values +$_prefs['search_fields'] = array( + 'value' => "", + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/585add_source b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/585add_source new file mode 100644 index 0000000..fb282b7 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/585add_source @@ -0,0 +1,14 @@ +//585add_source +// address book to use for adding addresses +// put $cfgSources array element name in the value field. +// Setting value to localsql would allow you to add contacts to MySQL database +// See turba/config/sources.php for more info +$_prefs['add_source'] = array( + 'value' => 'localsql', + 'locked' => false, + 'shared' => true, + 'type' => 'implicit' +); + +// End Address book preferences + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/590use_pgp b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/590use_pgp new file mode 100644 index 0000000..6962568 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/590use_pgp @@ -0,0 +1,11 @@ +//590use_pgp +// PGP options + +// Activate PGP support? +$_prefs['use_pgp'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'implicit' +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/595pgp_attach_pubkey b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/595pgp_attach_pubkey new file mode 100644 index 0000000..6ae7d67 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/595pgp_attach_pubkey @@ -0,0 +1,8 @@ +//595pgp_attach_pubkey +// You should not manually change the rest of the PGP entries +$_prefs['pgp_attach_pubkey'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/600pgp_scan_body b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/600pgp_scan_body new file mode 100644 index 0000000..b09f61d --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/600pgp_scan_body @@ -0,0 +1,7 @@ +//600php_scan_body +$_prefs['pgp_scan_body'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/602pgp_verify b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/602pgp_verify new file mode 100644 index 0000000..9bef2c9 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/602pgp_verify @@ -0,0 +1,7 @@ +//602pgp_verify +$_prefs['pgp_verify'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/605pgp_private_key b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/605pgp_private_key new file mode 100644 index 0000000..57f9c37 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/605pgp_private_key @@ -0,0 +1,7 @@ +//605php_private_key +$_prefs['pgp_private_key'] = array( + 'value' => '', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/610pgp_public_key b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/610pgp_public_key new file mode 100644 index 0000000..e945588 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/610pgp_public_key @@ -0,0 +1,9 @@ +//610php_public_key +$_prefs['pgp_public_key'] = array( + 'value' => '', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + +// End PGP Options + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/615use_smime b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/615use_smime new file mode 100644 index 0000000..a06b375 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/615use_smime @@ -0,0 +1,10 @@ +//615use_smime +// S/MIME options + +// Activate S/MIME support? +$_prefs['use_smime'] = array( + 'value' => 0, + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/617smime_verify b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/617smime_verify new file mode 100644 index 0000000..3304ce5 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/617smime_verify @@ -0,0 +1,9 @@ +//617smime_verify +// You should not manually change the rest of the S/MIME entries +$_prefs['smime_verify'] = array( + 'value' => 1, + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/620smime_private_key b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/620smime_private_key new file mode 100644 index 0000000..05bbed5 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/620smime_private_key @@ -0,0 +1,7 @@ +//620smime_private_key +$_prefs['smime_private_key'] = array( + 'value' => '', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/625smime_public_key b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/625smime_public_key new file mode 100644 index 0000000..547a0b4 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/625smime_public_key @@ -0,0 +1,7 @@ +//625smime_public_key +$_prefs['smime_public_key'] = array( + 'value' => '', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/630smime_additional_cert b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/630smime_additional_cert new file mode 100644 index 0000000..0dec8ce --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/630smime_additional_cert @@ -0,0 +1,9 @@ +//630smime_additional_cert +$_prefs['smime_additional_cert'] = array( + 'value' => '', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + +// End S/MIME Options + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/635vinbox_id b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/635vinbox_id new file mode 100644 index 0000000..5b9bb44 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/635vinbox_id @@ -0,0 +1,10 @@ +//635vinbox_id +// Other entries (used internally in IMP) + +// virtual inbox identifier +$_prefs['vinbox_id'] = array( + 'value' => '', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/999notes b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/999notes new file mode 100644 index 0000000..e6d9ce6 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/999notes @@ -0,0 +1,4 @@ +//999notes +//Here is what the value fieds mean +// a value of 0 = no, 1 = yes + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/servers.php/00Header b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/servers.php/00Header new file mode 100644 index 0000000..985bf32 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/servers.php/00Header @@ -0,0 +1,5 @@ +//00Header +/** + * $Horde: imp/config/servers.php.dist,v 1.50.2.23 2008/07/03 13:06:15 jan Exp $ + */ + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/servers.php/100Labels b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/servers.php/100Labels new file mode 100644 index 0000000..e62f0d7 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/servers.php/100Labels @@ -0,0 +1,9 @@ +//100Labels +/* Any entries whose key value ('foo' in $servers['foo']) begin with '_' + * (an underscore character) will be treated as prompts, and you won't be + * able to log in to them. The only property these entries need is 'name'. + * This lets you put labels in the list, like this example: */ +$servers['_prompt'] = array( + 'name' => _("Choose a mail server:") +); + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/servers.php/120IMAPServers b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/servers.php/120IMAPServers new file mode 100644 index 0000000..d47a196 --- /dev/null +++ b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/servers.php/120IMAPServers @@ -0,0 +1,24 @@ +{ + use esmith::DomainsDB; + my $db = esmith::DomainsDB->open_ro; + my @domains = ($DomainName, + map { $_->key } + grep { my $p = $_->prop('SystemPrimaryDomain') || ''; $p ne 'yes' } + $db->get_all()); + foreach my $domain (@domains) + { + $OUT .= "\$servers['$domain'] = array(\n"; + $OUT .= " 'name' => 'IMAP Server',\n"; + $OUT .= " 'server' => 'localhost',\n"; + $OUT .= " 'hordeauth' => false,\n"; + $OUT .= " 'protocol' => 'imap/notls',\n"; + $OUT .= " 'port' => '$imap{TCPPort}',\n"; + $OUT .= " 'maildomain' => '$domain',\n"; + $OUT .= " 'smtphost' => 'localhost',\n"; + $OUT .= " 'smtpport' => '$smtpd{TCPPort}',\n"; + $OUT .= " 'realm' => '$domain',\n"; + $OUT .= " 'preferred' => ''\n"; + $OUT .= ");\n"; + } +} + diff --git a/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/trailer.txt/template-begin b/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/trailer.txt/template-begin new file mode 100644 index 0000000..e69de29 diff --git a/root/home/httpd/html/horde/imp/SSLonly/.gitignore b/root/home/httpd/html/horde/imp/SSLonly/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/root/home/httpd/html/horde/smeserver/imp.sql b/root/home/httpd/html/horde/smeserver/imp.sql new file mode 100644 index 0000000..a833614 --- /dev/null +++ b/root/home/httpd/html/horde/smeserver/imp.sql @@ -0,0 +1,14 @@ +-- $Horde: imp/scripts/sql/imp.sql,v 1.1.2.1 2007/12/20 14:00:36 jan Exp $ + +CREATE TABLE IF NOT EXISTS imp_sentmail ( + sentmail_id BIGINT NOT NULL, + sentmail_who VARCHAR(255) NOT NULL, + sentmail_ts BIGINT NOT NULL, + sentmail_messageid VARCHAR(255) NOT NULL, + sentmail_action VARCHAR(32) NOT NULL, + sentmail_recipient VARCHAR(255) NOT NULL, + sentmail_success INT NOT NULL, +-- + PRIMARY KEY (sentmail_id) +); +