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