From 8fba4dbc1ab3cedcf277f1cfe95a173898ad8683 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sat, 7 Sep 2024 19:53:47 +1000 Subject: [PATCH] initial commit of file from CVS for smeserver-fetchmail on Sat Sep 7 19:53:47 AEST 2024 --- .gitignore | 4 + Makefile | 21 + README.md | 19 +- additional/CHANGELOG.git | 55 + additional/COPYING | 340 +++++ additional/README.md | 1 + additional/smeserver-fetchmail.spec | 70 + contriborbase | 1 + createlinks | 56 + .../configuration/defaults/FetchMails/Routing | 1 + .../defaults/FetchMails/RoutingNNTP | 1 + .../defaults/FetchMails/RoutingSMTP | 1 + .../configuration/defaults/FetchMails/status | 1 + .../configuration/defaults/FetchMails/timeout | 1 + .../db/configuration/defaults/FetchMails/type | 1 + .../events/actions/conf-fetchmail-group-files | 39 + .../actions/fetchmail-email-group-adjust | 79 ++ .../events/actions/user-update-fetchmail | 39 + .../bg/etc/e-smith/web/functions/fetchmail | 356 +++++ .../da/etc/e-smith/web/functions/fetchmail | 356 +++++ .../de/etc/e-smith/web/functions/fetchmail | 356 +++++ .../el/etc/e-smith/web/functions/fetchmail | 356 +++++ .../en-us/etc/e-smith/web/functions/fetchmail | 476 +++++++ .../es/etc/e-smith/web/functions/fetchmail | 356 +++++ .../et/etc/e-smith/web/functions/fetchmail | 356 +++++ .../fr/etc/e-smith/web/functions/fetchmail | 356 +++++ .../he/etc/e-smith/web/functions/fetchmail | 356 +++++ .../hu/etc/e-smith/web/functions/fetchmail | 356 +++++ .../id/etc/e-smith/web/functions/fetchmail | 356 +++++ .../it/etc/e-smith/web/functions/fetchmail | 356 +++++ .../ja/etc/e-smith/web/functions/fetchmail | 356 +++++ .../nb/etc/e-smith/web/functions/fetchmail | 356 +++++ .../nl/etc/e-smith/web/functions/fetchmail | 356 +++++ .../pl/etc/e-smith/web/functions/fetchmail | 356 +++++ .../pt-br/etc/e-smith/web/functions/fetchmail | 356 +++++ .../pt/etc/e-smith/web/functions/fetchmail | 356 +++++ .../ro/etc/e-smith/web/functions/fetchmail | 356 +++++ .../ru/etc/e-smith/web/functions/fetchmail | 356 +++++ .../sl/etc/e-smith/web/functions/fetchmail | 356 +++++ .../sv/etc/e-smith/web/functions/fetchmail | 356 +++++ .../th/etc/e-smith/web/functions/fetchmail | 356 +++++ .../tr/etc/e-smith/web/functions/fetchmail | 356 +++++ .../zh-cn/etc/e-smith/web/functions/fetchmail | 356 +++++ .../zh-tw/etc/e-smith/web/functions/fetchmail | 356 +++++ .../e-smith/templates/etc/crontab/FetchMails | 137 ++ .../templates/etc/fetchmail/90fetchmail | 363 +++++ .../etc/rc.d/init.d/masq/00Definitions2 | 12 + .../rc.d/init.d/masq/35transproxy-fetchmail | 40 + .../templates/etc/startmail/90FetchMails | 50 + .../var/qmail/users/assign/85fetchmail-groups | 77 ++ .../qpsmtpd/config/forcespamcheck/60fetchmail | 6 + .../qpsmtpd/config/goodrcptto/60fetchmail | 24 + root/etc/e-smith/web/common/Light_0.jpg | Bin 0 -> 1055 bytes root/etc/e-smith/web/common/Light_1.jpg | Bin 0 -> 1058 bytes root/etc/e-smith/web/functions/fetchmail | 235 ++++ root/usr/lib/.gitignore | 0 .../esmith/FormMagick/Panel/fetchmail.pm | 1203 +++++++++++++++++ root/var/lib/fetchmail/.gitignore | 0 smeserver-fetchmail.spec | 154 +++ 59 files changed, 12405 insertions(+), 2 deletions(-) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 additional/CHANGELOG.git create mode 100644 additional/COPYING create mode 100644 additional/README.md create mode 100644 additional/smeserver-fetchmail.spec create mode 100644 contriborbase create mode 100644 createlinks create mode 100644 root/etc/e-smith/db/configuration/defaults/FetchMails/Routing create mode 100644 root/etc/e-smith/db/configuration/defaults/FetchMails/RoutingNNTP create mode 100644 root/etc/e-smith/db/configuration/defaults/FetchMails/RoutingSMTP create mode 100644 root/etc/e-smith/db/configuration/defaults/FetchMails/status create mode 100644 root/etc/e-smith/db/configuration/defaults/FetchMails/timeout create mode 100644 root/etc/e-smith/db/configuration/defaults/FetchMails/type create mode 100644 root/etc/e-smith/events/actions/conf-fetchmail-group-files create mode 100755 root/etc/e-smith/events/actions/fetchmail-email-group-adjust create mode 100755 root/etc/e-smith/events/actions/user-update-fetchmail create mode 100644 root/etc/e-smith/locale/bg/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/da/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/de/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/el/etc/e-smith/web/functions/fetchmail create mode 100755 root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/es/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/et/etc/e-smith/web/functions/fetchmail create mode 100755 root/etc/e-smith/locale/fr/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/he/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/hu/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/id/etc/e-smith/web/functions/fetchmail create mode 100755 root/etc/e-smith/locale/it/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/ja/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/nb/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/nl/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/pl/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/pt/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/ro/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/ru/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/sl/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/sv/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/th/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/tr/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/fetchmail create mode 100644 root/etc/e-smith/templates/etc/crontab/FetchMails create mode 100644 root/etc/e-smith/templates/etc/fetchmail/90fetchmail create mode 100644 root/etc/e-smith/templates/etc/rc.d/init.d/masq/00Definitions2 create mode 100644 root/etc/e-smith/templates/etc/rc.d/init.d/masq/35transproxy-fetchmail create mode 100644 root/etc/e-smith/templates/etc/startmail/90FetchMails create mode 100644 root/etc/e-smith/templates/var/qmail/users/assign/85fetchmail-groups create mode 100644 root/etc/e-smith/templates/var/service/qpsmtpd/config/forcespamcheck/60fetchmail create mode 100644 root/etc/e-smith/templates/var/service/qpsmtpd/config/goodrcptto/60fetchmail create mode 100644 root/etc/e-smith/web/common/Light_0.jpg create mode 100644 root/etc/e-smith/web/common/Light_1.jpg create mode 100755 root/etc/e-smith/web/functions/fetchmail create mode 100644 root/usr/lib/.gitignore create mode 100755 root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fetchmail.pm create mode 100644 root/var/lib/fetchmail/.gitignore create mode 100644 smeserver-fetchmail.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cbb3a13 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.rpm +*.log +*spec-20* +*.tar.gz diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f70c29f --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: smeserver-fetchmail +# $Id: Makefile,v 1.1 2020/10/27 11:43:49 brianr Exp $ +NAME := smeserver-fetchmail +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 e416d50..e5b7b94 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,18 @@ -# smeserver-fetchmail +# smeserver-fetchmail -SMEServer Koozali developed git repo for smeserver-fetchmail smecontribs \ No newline at end of file +SMEServer Koozali developed git repo for smeserver-fetchmail smecontribs + +## Wiki +
https://wiki.koozali.org/Fetchmail +
https://wiki.koozali.org/Fetchmail/fr +
https://wiki.koozali.org/Fetchmail/de +
https://wiki.koozali.org/Fetchmail_secure_connection_troubles + +## Bugzilla +Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-fetchmail&product=SME%20Contribs&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* +
diff --git a/additional/CHANGELOG.git b/additional/CHANGELOG.git new file mode 100644 index 0000000..8156810 --- /dev/null +++ b/additional/CHANGELOG.git @@ -0,0 +1,55 @@ +commit 32c09bcca034480d05bbd45d812d0873df03b70b +Author: Stephane de Labrusse +Date: Fri Feb 6 10:41:14 2015 +0100 + + * Fri Feb 06 2015 stephane de Labrusse 1.6-6.sme + - Corrected a typo in the detection of smtpd port in the template 90fetchmail + +commit 904f003ec28bb10a660d146d1bf55a0edfb3b68b +Author: Stephane de Labrusse +Date: Fri Feb 6 10:36:15 2015 +0100 + + * Fri Feb 06 2015 stephane de Labrusse 1.6-5.sme + - Corrected a typo in the detection of smtpd port in the template 90fetchmail + +commit c6e92c29a06884441be51fe29c9a3b7a5973704e +Author: Stephane de Labrusse +Date: Fri Feb 6 08:37:44 2015 +0100 + + * Fri Feb 06 2015 stephane de Labrusse 1.6-5.sme + - Corrected a typo in the detection of smtpd port in the template 90fetchmail + +commit 3717a94ae4775f5984bd3944dc073d8c4448cb34 +Author: Stephane de Labrusse +Date: Mon Jan 12 18:33:39 2015 +0100 + + * Mon Jan 12 2015 stephane de Labrusse 1.6-4.sme + - Add settings if smtpd TCPPort set to a non default value [sme: 8797] + - code done by ecureuil + +commit bb0828a37bf071891cc8b48505687d60af282e5a +Author: Stephane de Labrusse +Date: Sun Nov 2 17:10:01 2014 +0100 + + * Sun Nov 2 2014 stephane de Labrusse 1.6-3.sme + - Recovery of large attachments with fetchmail [SME:8630] + +commit cf19e4d194703cb12ca5f2ba98b947261b0ae85f +Author: Stephane de Labrusse +Date: Sun Oct 5 22:09:27 2014 +0200 + + * Sun Oct 5 2014 stephane de Labrusse 1.6-2.sme + - bug of .gitignore in /etc/e-smith/web/panels/manager/cgi-bin + +commit 1eb9409243b91133e5bc6c85002868842573ae48 +Author: Stephane de Labrusse +Date: Sat Jun 21 13:29:15 2014 +0200 + + * Sat Jun 21 2014 stephane de Labrusse 1.6-1.sme + - Initial release to sme9 + +commit 6d1036de57a0b9b111d346480a0acb4a604ff8b0 +Author: Stephane de Labrusse +Date: Sat Jun 21 13:21:17 2014 +0200 + + first commit to SME Server 9 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/additional/README.md b/additional/README.md new file mode 100644 index 0000000..d9d8e9e --- /dev/null +++ b/additional/README.md @@ -0,0 +1 @@ +smeserver-fetchmail is a contrib for SME Server, a Linux distro oriented server. see http://wiki.contribs.org diff --git a/additional/smeserver-fetchmail.spec b/additional/smeserver-fetchmail.spec new file mode 100644 index 0000000..9bc531c --- /dev/null +++ b/additional/smeserver-fetchmail.spec @@ -0,0 +1,70 @@ +# $Id: smeserver-fetchmail.spec,v 1.2 2013/07/14 20:52:55 unnilennium Exp $ +# Authority: unnilennium +# Name: Jean-Philippe Pialasse + +Summary: sme module to generate fetchmail poll +%define name smeserver-fetchmail +Name: %{name} +%define version 1.6 +%define release 6 +%define smepanel FetchMails +Version: %{version} +Release: %{release}%{?dist} +License: GPL +Group: Networking/Daemons +Source: %{name}-%{version}.tar.gz +BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot +BuildArchitectures: noarch +Requires: smeserver-release >= 9.0 +Requires: e-smith-email >= 4.16.0-18 +Requires: e-smith-formmagick >= 1.4.0-12 +BuildRequires: e-smith-devtools >= 1.13.1-03 +Obsoletes: sme-fetchmail +Obsoletes: smeserver-fetchmail-utf8 +AutoReqProv: no + +%changelog +* Fri Feb 06 2015 stephane de Labrusse 1.6-6.sme +- Corrected a typo in the detection of smtpd port in the template 90fetchmail + +* Mon Jan 12 2015 stephane de Labrusse 1.6-4.sme +- Add settings if smtpd TCPPort set to a non default value [sme: 8797] +- code done by ecureuil + +* Sun Nov 2 2014 stephane de Labrusse 1.6-3.sme +- Recovery of large attachments with fetchmail [SME:8630] + +* Sun Oct 5 2014 stephane de Labrusse 1.6-2.sme +- bug of .gitignore in /etc/e-smith/web/panels/manager/cgi-bin + +* Sat Jun 21 2014 stephane de Labrusse 1.6-1.sme +- Initial release to sme9 + +* Sun Jul 14 2013 JP Pialasse 1.4-2.sme +- apply locale 2013-07-14 patch + +* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 1.4-1.sme +- Initial version + +%description +sme server enhancement to make fetchmail more useable + +%prep +%setup + +%build +perl createlinks +echo "%{version}-%{release}" >root/etc/e-smith/db/configuration/defaults/%{smepanel}/version + +%install +rm -rf $RPM_BUILD_ROOT +(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) +rm -f %{name}-%{version}-filelist +/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/contriborbase b/contriborbase new file mode 100644 index 0000000..9b7fd51 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +contribs10 diff --git a/createlinks b/createlinks new file mode 100644 index 0000000..3a56e42 --- /dev/null +++ b/createlinks @@ -0,0 +1,56 @@ +#!/usr/bin/perl -w +use esmith::Build::CreateLinks qw(:all); +# our event specific for updating with yum without reboot +$event = 'smeserver-fetchmail-update'; +#add here the path to your templates needed to expand +#see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event + +foreach my $file (qw( + /etc/fetchmail + /etc/startmail + /etc/crontab +)) +{ + templates2events( $file, $event ); +} +#action needed in case we have a systemd unit +event_link('systemd-default', $event, '88'); +event_link('systemd-reload', $event, '89'); + + +#-------------------------------------------------- +# functions for manager panel +#-------------------------------------------------- +my $panel = "manager"; +panel_link("fetchmail", $panel); + +#-------------------------------------------------- +# actions for console-save event: +#-------------------------------------------------- + +event_link("user-update-fetchmail", "user-create", "25"); +event_link("user-update-fetchmail", "user-modify" ,"25"); +event_link("user-update-fetchmail", "user-delete", "90"); +event_link("fetchmail-email-group-adjust", "user-delete", "25"); + +#-------------------------------------------------- +# an event launched if case of routing modification +#-------------------------------------------------- + +templates2events("/etc/rc.d/init.d/masq", qw(fetchmail-routing)); +safe_symlink("adjust", + "root/etc/e-smith/events/fetchmail-routing/services2adjust/masq"); + +#-------------------------------------------------- +# an event launched if case of fetchmail conf change +#-------------------------------------------------- + +templates2events("/etc/fetchmail", qw(fetchmail-change)); +templates2events("/etc/crontab", qw(fetchmail-change)); +templates2events("/etc/startmail", qw(fetchmail-change)); + +event_link("fetchmail-email-group-adjust", "fetchmail-change", "30"); +event_link("conf-fetchmail-group-files", "fetchmail-change", "50"); +safe_symlink("adjust", + "root/etc/e-smith/events/fetchmail-change/services2adjust/masq"); + diff --git a/root/etc/e-smith/db/configuration/defaults/FetchMails/Routing b/root/etc/e-smith/db/configuration/defaults/FetchMails/Routing new file mode 100644 index 0000000..f033a50 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/FetchMails/Routing @@ -0,0 +1 @@ +YES diff --git a/root/etc/e-smith/db/configuration/defaults/FetchMails/RoutingNNTP b/root/etc/e-smith/db/configuration/defaults/FetchMails/RoutingNNTP new file mode 100644 index 0000000..f033a50 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/FetchMails/RoutingNNTP @@ -0,0 +1 @@ +YES diff --git a/root/etc/e-smith/db/configuration/defaults/FetchMails/RoutingSMTP b/root/etc/e-smith/db/configuration/defaults/FetchMails/RoutingSMTP new file mode 100644 index 0000000..f033a50 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/FetchMails/RoutingSMTP @@ -0,0 +1 @@ +YES diff --git a/root/etc/e-smith/db/configuration/defaults/FetchMails/status b/root/etc/e-smith/db/configuration/defaults/FetchMails/status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/FetchMails/status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/configuration/defaults/FetchMails/timeout b/root/etc/e-smith/db/configuration/defaults/FetchMails/timeout new file mode 100644 index 0000000..abdfb05 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/FetchMails/timeout @@ -0,0 +1 @@ +60 diff --git a/root/etc/e-smith/db/configuration/defaults/FetchMails/type b/root/etc/e-smith/db/configuration/defaults/FetchMails/type new file mode 100644 index 0000000..24e1098 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/FetchMails/type @@ -0,0 +1 @@ +service diff --git a/root/etc/e-smith/events/actions/conf-fetchmail-group-files b/root/etc/e-smith/events/actions/conf-fetchmail-group-files new file mode 100644 index 0000000..d1ca097 --- /dev/null +++ b/root/etc/e-smith/events/actions/conf-fetchmail-group-files @@ -0,0 +1,39 @@ +#!/usr/bin/perl -w + +#---------------------------------------------------------------------- +# copyright (C) 1999, 2000 e-smith, 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 +# +# Technical support for this program is available from e-smith, inc. +# Please visit our web site www.e-smith.com for details. +#---------------------------------------------------------------------- + +package esmith; + +use strict; +use Errno; +use esmith::templates; + +# Now regenerate the goodrcpttoo list (can be done only at the end of the process) +esmith::templates::processTemplate ( + { + TEMPLATE_PATH => "/var/service/qpsmtpd/config/goodrcptto", + PERMS => 0644, + UID => "root", + GID => "root", + } ); + +exit (0); diff --git a/root/etc/e-smith/events/actions/fetchmail-email-group-adjust b/root/etc/e-smith/events/actions/fetchmail-email-group-adjust new file mode 100755 index 0000000..a9025cf --- /dev/null +++ b/root/etc/e-smith/events/actions/fetchmail-email-group-adjust @@ -0,0 +1,79 @@ +#!/usr/bin/perl -w +# vim: ft=perl ts=4 sw=4 et: + +use strict ; +use esmith::util; +use esmith::ConfigDB ; +use esmith::AccountsDB ; + +my $db = esmith::ConfigDB->open_ro + or die "Can't open the Config database : $!\n" ; +my $accountdb = esmith::AccountsDB->open_ro + or die "Can't open the Account database : $!\n" ; + +my @users ; +my $fetchmail = $db->get('FetchMails') ; +my $FMStatus = 'disabled' ; +if ( defined $fetchmail ) { + $FMStatus = $fetchmail->prop('status') || 'disabled' ; +} +# print "$FMStatus\n" ; +# as of version 1.3.4-04, the offending fm% prefix becomes fm_fm- +# PS Apr 30, 2005 +# no need to have any .qmail-fm% or .qmail-fm_fm- files +# it's better to suppress all aliases files, in case of +# a user deletion. +# The whole file are recreated after anyway. +opendir ( DIR, "/var/qmail/alias" ) ; +foreach my $fic ( grep( /^.qmail-(fm%|fm_fm-)/, readdir DIR) ) { + unlink "/var/qmail/alias/$fic" ; +} +closedir ( DIR ) ; + +if ( $FMStatus eq 'enabled' ) { + my @users = $accountdb->get('admin'); + push @users, $accountdb->users(); + foreach my $u ( @users ) { + # print $u->key ; + my $MailCopyTo = '' ; + $MailCopyTo = $u->prop( 'FM-MailCopyTo' ) if ( defined $u->prop( 'FM-MailCopyTo' ) ) ; + my $TransName = '' ; + if ( defined $u->prop( 'FM-TransName' ) ) { + $TransName = $u->prop( 'FM-TransName' ) ; + } + if ( $TransName ne '' ) { + $TransName =~ s/\s//g ; + $TransName =~ s/:/,/g ; + if ( $MailCopyTo eq '' ) { $MailCopyTo = $TransName } + else { $MailCopyTo = $MailCopyTo . "," . $TransName } + } + # print "$MailCopyTo\n" ; + if ( $MailCopyTo ne '' ) { + # add the local account only if the account is not a Ghost account + if ( ( $u->prop( 'FM-Ghost' ) || 'NO' ) ne 'YES' ) { + $MailCopyTo = $u->key . "," . $MailCopyTo ; + } + my $Group = "fm_fm-" . $u->key ; + # PS Oct 25, 2006 : in SME 7, names can contain dot. But Qmail doesn't like dots + # in group filename. + # borrowed in /etc/e-smith/events/actions/qmail-update-group : + # $groupName =~ s/\./:/g; + $Group =~ s/\./:/g; + + esmith::util::processTemplate( + { + CONFREF => + { + Members => $MailCopyTo, + }, + + TEMPLATE_PATH => + "/var/qmail/alias/.qmail-group", + + OUTPUT_FILENAME => "/var/qmail/alias/.qmail-$Group", + } + ); + } + } +} + diff --git a/root/etc/e-smith/events/actions/user-update-fetchmail b/root/etc/e-smith/events/actions/user-update-fetchmail new file mode 100755 index 0000000..89e2aea --- /dev/null +++ b/root/etc/e-smith/events/actions/user-update-fetchmail @@ -0,0 +1,39 @@ +#!/usr/bin/perl -w + +#---------------------------------------------------------------------- +# copyright (C) 1999, 2000 e-smith, 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 +# +# Technical support for this program is available from e-smith, inc. +# Please visit our web site www.e-smith.com for details. +#---------------------------------------------------------------------- + +package esmith; + +use strict; +use Errno; +use esmith::templates; + +# Now regenerate fetchmail +esmith::templates::processTemplate ( + { + TEMPLATE_PATH => "/etc/fetchmail", + PERMS => 0755, + UID => "root", + GID => "root", + } ); + +exit (0); diff --git a/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..b8d8dab --- /dev/null +++ b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Конфигуриране на изтегляне от външна пощенска кутия + + + FIRST_PAGE_DESCRIPTION + Този панел позволява конфигурирането на изтегляне на външни пощенски кутии от SME Server. Какво означава това?
Някои от потребителите могат да имат външни пощенски кутии. Обикновено, клиентите за електронна поща на отделните работни станции трябва да се конфигурират да теглят поща от тези външни пощенски кутии освен от нормалните пощенски кутии, предоставени от SME server. Като използвате този управляващ панел, SME server може да бъде конфигуриран да тегли (fetch) поща от външни пощенски кутии и тогава автоматично да препраща тези съобщения към вътрешни пощенски кутии. Това прави конфигурирането на клиентите за електронна поща на отделните компютри много лесно.
Чрез този метод на изтегляне на поща (и при условие че отделните компютри използват IMAP) значи че тези съобщения ще бъдат архивирани като част от нормалния процес по създаване на резервни копия.
Други функции достъпни чрез този панел са:
- Една кутия може да бъде разпределяна на повече кутии
- Можете да направите 'Призрачен акаунт' : Съобщенията изпращани към този акаунт само ще се разпределят до други пощенски кутии.
- записване на събития за пощенски кутии в журанал.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Включи Fetchmail + + + SERVICE_0 + Fetchmail е изключен + + + BUTTON_LABEL_SERVICE_1 + Изключи Fetchmail + + + SERVICE_1 + Fetchmail е включен + + + BUTTON_LABEL_ROUTING_0 + Включете достъп до външен POP и IMAP сървър + + + ROUTING_0 + Работните станции във вътрешната LAN не могат да достъпват външни POP и IMAP сървъри + + + BUTTON_LABEL_ROUTING_1 + Изключете достъп до външен POP и IMAP сървър + + + ROUTING_1 + Работните станции във вътрешната LAN могат да достъпват външни POP и IMAP сървъри + + + BUTTON_LABEL_ROUTINGSMTP_0 + Включи достъп до външни SMTP сървъри + + + ROUTINGSMTP_0 + Работните станции във вътрешната LAN не могат да достъпват външни SMTP сървъри + + + BUTTON_LABEL_ROUTINGSMTP_1 + Изключете достъпa до външен SMTP сървър + + + ROUTINGSMTP_1 + Работните станции във вътрешната LAN могат да достъпват външни SMTP сървъри + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Форсирай SMTP връзките през SME Proxy + + + ROUTINGSMTPPROXY_0 + Работните станции във вътрешната LAN имат директен достъп до външни SMTP сървъри + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Включи директни връзки до SMTP + + + ROUTINGSMTPPROXY_1 + SMTP връзките от LAN към интернет преминават през proxy на SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Включи достъпа до външни новинарски сървъри + + + ROUTINGNNTP_0 + Работните станции във вътрешната LAN не могат да достъпват външни новинарски сървъри + + + BUTTON_LABEL_ROUTINGNNTP_1 + Изключване на достъпа към външни новинарски сървъри + + + ROUTINGNNTP_1 + Работните станции от вътрешната LAN могат да достъпват външни новинарски сървъри + + + SHOW_FETCHMAIL_USERS + Тук можете да създадете, промените и да премахнете правила за fetchmail за всеки потребител. ]]> + + + NO_USER_ACCOUNTS + Няма дефинирани потребители в момента. + + + SET_GENERAL_TITLE + Задаване на общи правила за изтегляне на поща + + + SET_GENERAL_PAGE_DESCRIPTION + Изберете общата информация за акаунтите на fetchmail.
Конкретните пощенски кутии за изтегляне ще бъдат зададени на следващите екрани.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Съобщенията могат да се доставят в локални акаунти. Този режим е избран ако изберете 'НЕ' за 'Ghost Mode'.
Съобщенията могат да се доставят до други локални акаунти. Този режим е избран при отбелязване на един или повече случая в схемата по-долу.
Съобщенията могат да се доставят до външна пощенска кутия. Този режим е избран ако електронната поща е зададена в полето 'ел. адрес за препращане'.
Трябва да зададете поне един тип получател. ]]>
+
+ + LABEL_USER_ACCOUNT + Потребителски акаунт + + + LABEL_COPY_TO + Копиране на поща в + + + LABEL_GHOST + Това 'призрачен' акаунт ли е (използван само за преразпределение на поща)? + + + LABEL_DEBUG + Искате ли да правите диагностика на този акаунт (акаунтите на fetchmail се отбелязват в журнала /var/log/maillog)? + + + LABEL_SPY + Искате ли този акаунт да бъде наблюдаван от акаунта 'admin'? + + + LABEL_MAIL_RETRIEVE + Какво искате да правите с ел. съобщения на външни сървъри? + + + KEEP_NO + Изтегли всички съобщения + + + KEEP_YES + Прочети съобщенията и и ги остави на сървърите + + + KEEP_NEW + Изтегли само новите съобщения + + + LABEL_MAIL_FORWARD + Искате ли да препратите тези съобщения? + + + FORWARD_GET + Изтегли само за този акаунт + + + FORWARD_COPY + Изтегли само за този акаунт и препрати към друга пощенска кутия + + + FORWARD_FORWARD + Само препрати всички съобщения към друга пощенска кутия + + + LABEL_FORWARD_MAIL + Ел. адрес(и) за препращане на съобщения (формат: xxx@yyy.zzz) За да зададете повече от един адрес ги разделете с двуеточие ':' + + + SET_ACCOUNTS_TITLE + Задаване на информация за достъпа до външна поща + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Тук можете да зададете информацията, необходима за достъпа до външни пощенски кутии: име на сървъра, съдържащ пощенската кутия, тип на сървъра, име на акаунта, парола.

]]>
+
+ + LABEL_MAIL_SERVER + Име или IP адрес на външния пощенски сървър + + + LABEL_MAIL_TYPE + Протокол за четене на пощата + + + LABEL_MAIL_ACCOUNT + Име на акаунта в пощенския сървър + + + LABEL_MAIL_PASSWORD + Парола на акаунта в пощенския сървър + + + LABEL_MAIL_OPTIONS + Опциите които можете да предадете направо на fetchmail. Внимание: тези опции не се проверяват, така че ако не знаете какво правят, по-добре оставете това поле празно! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (експериментално) + + + SIMAP + SSL Imap (експериментално) + + + SHOW_FETCHMAIL_ACCOUNTS + Това е списък на външните кутии вече конфигурирани за този потребител.

]]>
+
+ + ERR_BADSERVER + За да бъде валидно това поле трябва да съдържа или валидно име на сървър или валиден IP адрес.
Валидното име на сървър съдържа между две и пет части разделени от точки '.'
За всяка от частите, без последната позволените символи са букви, цифри и '-'. Тези части могат да са с всякакъв размер.
За последната част (също наречена tld), са позволени само букви, и частта трябва да съдържа между два и пет символа.
Валидния IP адрес се състои от четири цели числа, всяко между 0 и 255. Четирите числа се пишат заедно, разделени с точка. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Валидиране на акаунта + + + MAIL_SERVER + Пощенски сървър + + + MAIL_TYPE + Тип на достъпа до пощата + + + MAIL_ACCOUNT + Акаунт за пощенската кутия на сървъра + + + MAIL_PASSWORD + Парола за пощенската кутия на сървъра + + + MAIL_OPTIONS + 'Сурови' опции за fetchmail + + + fetchmail + Изтегляне на поща + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Промените в конфигурацията на Fetchmail бяха записани успешно. + + + ERROR_WHILE_CHANGING_CONF + Не може да се приложат промените в конфигурацията на Fetchmail. + + + SUCCESSFULLY_MODIFIED_ROUTING + Промените в достъпа до външни POP3 и IMAP4 сървъри от вътрешната мрежа бяха записани успешно. + + + ERROR_WHILE_MODIFYING_ROUTING + Не може да се приложат промените в конфигурацията за достъп към IMAP и POP3. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Промените в достъпа до външни SMTP сървъри от вътрешната мрежа бяха записани успешно. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Не може да се приложат промените в конфигурацията на достъпа към SMTP. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Промените в достъпа до външни новинарски сървъри от вътрешната мрежа бяха записани успешно. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Нe може да се приложат промените в конфигурацията на достъпа към NNTP. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Промените в конфигурацията на SME SMTP Proxy бяха записани успешно. + + + PREVIOUS + Предишен + + + VALIDATE + Валидиране на промените! + + + ERR_NO_FETCHMAIL_RECORD + Не може да бъде изтеглен запис на fetchmail от базата данни за конфигурация. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Не може да се изтегли записа за smtpfront-qmail от базата данни за конфигурация. + + + ERR_BADMAIL + Валидният адрес съдържа само букви, цифри и долна черта в частта за име. В името могат да се използват и '-' и '.', но не в началото или в края. Частта за домейна (в дясно от знака @) трябва да съдържа само главни или малки букви, цифри и и знака '-'. Името на домейна обикновено съдържа между 1 и 4 точки (.). Последната дума (tld) може да съдържа само букви и тя трябва да има най-малко 2 знака, но не повече от 7.
Можете да зададете повече от една външни пощенски кутии. В този случай разделете електронните адреси със знака двоеточие ':' ]]>
+
+ + STATUS_1 + ВКЛЮЧЕН + + + STATUS_0 + ИЗКЛЮЧЕН + + + NB_EXT_BOX + Външна пощенска кутия + + + GHOST_ACCOUNT + Призрачен акаунт + + + DEBUG_MAILBOX + Кутия в режим 'диагностика' + + + SPIED_MAILBOX + Кутия под наблюдение + + + SHOW_SCHEDULE_INFOS +

Информация за графика

Изтеглянето на пощата се прави на регулярни интервали. Правилата за графика са същите като правилата, зададени в панела 'Електронна поща'.
Ако искате да промените графика, просто го променете в панела 'Електронна поща'.
БЕЛЕЖКА!: Ако не използвате ETRN или Multi-Drop, няма да можете да промените графика!
За да заобиколите това ограничение, направете следното:
- Изберете ETRN и изберете новия график, след което направете 'Запис'.
- След това изберете 'Standard (SMTP)' и 'Запис' отново. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/da/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..00cd4e2 --- /dev/null +++ b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Konfigurere afhentning af post fra ekstern postkasse + + + FIRST_PAGE_DESCRIPTION + Dette panel bruges til at konfigurere din SME server til at hente post fra eksterne postkasser. Hvad betyder det?
Nogle af dine brugere har måske eksterne postkasse(r). Normalt vil det være nødvendigt at konfigurere hver enkelt klient til at hente post fra disse eksterne postkasser foruden at konfigurere dem til at hente post fra SME serveren. Ved at bruge dette panel, kan SME serveren konfigureres til at hente posten fra eksterne postkasser og dernæst automatisk videresende denne post til interne postkasser. Det gør konfigurationen af postklienter meget let.
Ved at bruge denne metode til at hente post (og forudsat at klienterne bruger IMAP) betyder det, at post bliver sikkerhedskopieret som en del af den normale sikkerhedskopiering.
Yderligere tilgængelige funktioner under dette panel:
- En postkasse kan videresendes til mange postkasser
- Du kan oprette "skygge konti": Post sendt til en sådan konto videresendes til andre(s) postkasse(r).
- Logning af hændelser for postkasser.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Aktiver Fetchmail + + + SERVICE_0 + Fetchmail er deaktiveret + + + BUTTON_LABEL_SERVICE_1 + Deaktiver Fetchmail + + + SERVICE_1 + Fetchmail er aktiveret + + + BUTTON_LABEL_ROUTING_0 + Aktiver adgang til eksterne POP og IMAP servere + + + ROUTING_0 + PC-arbejdspladser på det interne netværk har ikke adgang til eksterne POP og IMAP servere + + + BUTTON_LABEL_ROUTING_1 + Deaktiver adgang til eksterne POP og IMAP servere + + + ROUTING_1 + PC-arbejdspladser på det interne netværk har adgang til eksterne POP og IMAP servere + + + BUTTON_LABEL_ROUTINGSMTP_0 + Aktiver adgang til ekstern SMTP servere + + + ROUTINGSMTP_0 + PC-arbejdspladser på det interne netværk har ikke adgang til eksterne SMTP servere + + + BUTTON_LABEL_ROUTINGSMTP_1 + Deaktiver adgang til ekstern SMTP servere + + + ROUTINGSMTP_1 + PC-arbejdspladser på det interne netværk har adgang til eksterne SMTP servere + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Tving SMTP forbindelser til at gå gennem SME Proxy + + + ROUTINGSMTPPROXY_0 + PC-arbejdspladser på det interne netværk har direkte adgang til eksterne SMTP servere + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Tillad direkte SMTP forbindelser + + + ROUTINGSMTPPROXY_1 + SMTP forbindelser fra netværk til internet sker via proxy på SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Aktiver adgang til ekstern nyhedsservere + + + ROUTINGNNTP_0 + PC-arbejdspladser på det interne netværk har ikke adgang til eksterne nyhedsservere + + + BUTTON_LABEL_ROUTINGNNTP_1 + Deaktiver adgang til ekstern nyhedsserver + + + ROUTINGNNTP_1 + Pc-arbejdspladser på det interne lokale netværk har adgang til eksterne nyhedsservere + + + SHOW_FETCHMAIL_USERS + Her kan du oprette, redigere og fjerne fetchmail-regler for enhver bruger. ]]> + + + NO_USER_ACCOUNTS + Der er p.t. ikke defineret nogen brugere i dette system. + + + SET_GENERAL_TITLE + Opret generelle regler for modtagelse af mail + + + SET_GENERAL_PAGE_DESCRIPTION + Vælg de generelle informationer for fetchmail kontoen.
De specifikke postkasser til modtagelse angives på de næste skærmbilleder.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Post kan leveres til den lokale konto. Det sker hvis du vælger "NEJ" for "Skygge Tilstand".
Post kan leveres til andre lokale konti. Denne tilstand vælges ved at aktivere et eller flere afkrydsningsfelter nedenfor.
Post kan leveres til en ekstern postkasse. Denne tilstand vælges, hvis der indtastes en e-mail adresse i feltet "E-mail adresse der skal videresendes til".
Du skal angive mindst en type modtager. ]]>
+
+ + LABEL_USER_ACCOUNT + Bruger konti + + + LABEL_COPY_TO + Kopi til + + + LABEL_GHOST + Er det en "skygge" konto (bruges kun til at videresende mails) ? + + + LABEL_DEBUG + Ønsker du af fejlfinde på denne konto (fetchmail aktiviteter registreres i /var/log/maillog) ? + + + LABEL_SPY + Ønsker du at denne konto skal overvåges af "admin" kontoen ? + + + LABEL_MAIL_RETRIEVE + Hvad skal der ske med post på eksterne servere ? + + + KEEP_NO + Modtag al post + + + KEEP_YES + Læs posten og lad dem forblive på serverne + + + KEEP_NEW + Modtag kun ny post + + + LABEL_MAIL_FORWARD + Ønsker du at videresende denne post ? + + + FORWARD_GET + Modtag kun for denne konto + + + FORWARD_COPY + Modtag for denne konto og videresend til anden postkasse + + + FORWARD_FORWARD + Videresend al post til en anden postkasse + + + LABEL_FORWARD_MAIL + Postadresse(r) som der skal videresendes til ( format: xxx@yyy.zz ) For at angive mere end en ekstern postkasse, adskil postadresserne med et kolon ":" + + + SET_ACCOUNTS_TITLE + Angiv adgangsoplysninger for den eksterne postadresse + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Her kan du angive den nødvendige information for adgang til til din eksterne postkasse: Navnet på serveren med postkassen, postservertypen, kontonavn og adgangskode.

]]>
+
+ + LABEL_MAIL_SERVER + Navn eller IP adresse på den eksterne postserver + + + LABEL_MAIL_TYPE + Protokol som skal bruges, når der skal læses post + + + LABEL_MAIL_ACCOUNT + Brugerkonto navn på postserveren + + + LABEL_MAIL_PASSWORD + Brugerkonto adgangskode på postserveren + + + LABEL_MAIL_OPTIONS + Parametre som du kan sende direkte til fetchmail. Advarsel: Disse parametre bliver ikke kontrolleret, så hvis du ikke ved, hvad de gør, så bør du lade feltet være tomt! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Eksperimental) + + + SIMAP + SSL Imap (Eksperimental) + + + SHOW_FETCHMAIL_ACCOUNTS + Dette er liste over eksterne postkasser som allerede er konfigureret for denne bruger.

]]>
+
+ + ERR_BADSERVER + For at være gyldigt, skal feltet udfyldes med enten et gyldigt servernavn eller en gyldig IP adresse.
Et gyldigt servernavn indeholder mellem 2 og 5 dele, adskilt af punktummer "."
For alle dele, bortset fra den sidste, er de tilladte tegn bogstaver(eksl. æ, ø og å), tal og bindestreg "-". Delene kan være alle størrelser.
I den sidste del (også kaldet tld) er kun bogstaver tilladt og skal indeholde mellem 2 og 5 bogstaver.
En gyldig IP adresse består af tal delt i 4 dele af punktummer, hvert tal mellem 0 og 255. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Kontroller konto + + + MAIL_SERVER + Postserver + + + MAIL_TYPE + Post Adgangs Type + + + MAIL_ACCOUNT + Server Postkasse konto + + + MAIL_PASSWORD + Server Postkasse Adgangskode + + + MAIL_OPTIONS + "Raw" parametre for fetchmail + + + fetchmail + Modtagelse af mail + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Dine konfigurationsændringer i Fetchmail er gemt. + + + ERROR_WHILE_CHANGING_CONF + Ændringerne i konfigurationen af Fetchmail mislykkedes. + + + SUCCESSFULLY_MODIFIED_ROUTING + Din ændringer i adgangen til eksterne POP3 og IMAP4 servere fra det interne netværk er gemt. + + + ERROR_WHILE_MODIFYING_ROUTING + Det mislykkedes at ændre konfigureringen af IMAP og POP3 adgang. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Ændringerne i adgangen til eksterne SMTP servere fra det interne netværk er gemt. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Det mislykkedes at ændre konfigurationen af SMTP adgang. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Ændringerne i adgangen til eksterne nyhedsservere fra det interne netværk er gemt. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Det mislykkedes at ændre konfigurationen af NNTP adgang. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Ændringerne i konfigurationen af SME SMTP proxy er gemt. + + + PREVIOUS + Forrige + + + VALIDATE + Kontroller ændringerne ! + + + ERR_NO_FETCHMAIL_RECORD + Kan ikke modtage oplysninger om fetchmail fra konfigurationdatabasen. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Kan ikke modtage oplysninger om smtp-qmail fra konfigurationsdatabasen. + + + ERR_BADMAIL + En gyldig E-mail adresse indeholder kun bogstaver(eksl. æ, ø og å), tal og understregningstegn i navnedelen. Der kan også være bindestreg "-" og punktum "." i navnet, men ikke i begyndelsen eller enden. Domænedelen (delen til højre for @) må kun bestå af store eller små bogstaver, tal og bindestreg "-". Domænenavnet indeholder normalt mellem 1 og 4 punktummer ".". Det sidste ord kan kun indeholde bogstaver og skal bestå af mindst 2 og højst 5 tegn.
Du kan oprette mere end en ekstern postkasse. I så fald skal hver postkasse adskilles med et kolon ":" ]]>
+
+ + STATUS_1 + AKTIVERET + + + STATUS_0 + DEAKTIVERET + + + NB_EXT_BOX + Ekstern postkasse + + + GHOST_ACCOUNT + Skygge konto + + + DEBUG_MAILBOX + Fejlfinding for postkasse er aktiveret + + + SPIED_MAILBOX + Overvågning af postkasse er aktiveret + + + SHOW_SCHEDULE_INFOS +

Information om intervaller

Afhentning af post sker med regelmæssige intervaller. Reglerne er de samme som de regler der er sat i panelet "E-Post".
Hvis du ønsker at ændre intervallerne, så ændres de under panelet "E-post".
BEMÆRK! : Du kan kun ændre intervallerne, hvis du bruger ETRN eller multi-drop!
For at omgå denne begrænsning, skal du gøre følgende:
- Vælg ETRN og vælg dernæst de nye intervaller og gem ændringerne.
- Vælg så "Standard (SMTP)" og gem igen. ]]>
+
+ + SET_FETCHMAIL_SATUS + Bekræft, at du ønsker at ændre Fetchmail status + + + RoutingIMPAPPOP + Bekræft, at du ønsker at ændre status på adgang til ekstern IMAP og POP + + + + RoutingNNTP + Bekræft, at du ønsker at ændre status på adgang til ekstern NNTP + + +
diff --git a/root/etc/e-smith/locale/de/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..e9c55fa --- /dev/null +++ b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Online-Handbuch ]]> + + + FIRST_PAGE_DESCRIPTION + Hier können die Einstellungen für den Empfang externer Mailboxen auf dem SME-Server vorgenommen werden. Was heißt das? Einige Benutzer haben eine oder mehrere externe Mailboxen. FetchMail erlaubt, Mails von diesen Mailboxen zentral auf dem SME-Server zu empfangen und den Benutzern in deren SME-Mailbox bereitzustellen.
Zusätzlich zur ohnehin vorhandenen Backup-Funktion können mit FetchMail folgende weitere Funktionen eingestellt werden :
- Verteilung einer Mailbox auf mehrere Mailboxen
- Es kann ein 'versteckter Benutzer' erstellt werden, dessen empfangene Mails immer an eine oder mehrere andere Mailboxen verteilt werden.
- Ereignisse in den Mailboxen können geloggt werden.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Fetchmail einschalten + + + SERVICE_0 + Fetchmail ist ausgeschaltet + + + BUTTON_LABEL_SERVICE_1 + Fetchmail ausschalten + + + SERVICE_1 + Fetchmail ist eingeschaltet + + + BUTTON_LABEL_ROUTING_0 + Zugang zu externen POP und IMAP-Servern einschalten + + + ROUTING_0 + Stationen im internen Netz haben keinen Zugang zu externen POP und IMAP-Servern + + + BUTTON_LABEL_ROUTING_1 + Zugang zu externen POP und IMAP-Servern ausschalten + + + ROUTING_1 + Stationen im internen Netz haben Zugang zu externen POP und IMAP-Servern + + + BUTTON_LABEL_ROUTINGSMTP_0 + Zugang zu externen SMTP-Servern einschalten + + + ROUTINGSMTP_0 + Stationen im internen Netz haben keinen Zugang zu externen SMTP-Servern + + + BUTTON_LABEL_ROUTINGSMTP_1 + Zugang zu externen SMTP-Servern ausschalten + + + ROUTINGSMTP_1 + Stationen im internen Netz haben Zugang zu externen SMTP-Servern + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + SMTP-Verbindungen über den SME-Proxy erzwingen + + + ROUTINGSMTPPROXY_0 + Stationen im internen Netz haben direkten Zugang zu externen SMTP-Servern + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Direkte SMTP-Verbindungen zulassen + + + ROUTINGSMTPPROXY_1 + SMTP-Verbindungen vom LAN ins Internet sind durch den SME-Proxy zugelassen + + + BUTTON_LABEL_ROUTINGNNTP_0 + Zugang zu externen News-Servern einschalten + + + ROUTINGNNTP_0 + Stationen im internen Netz haben keinen Zugang zu externen News-Servern + + + BUTTON_LABEL_ROUTINGNNTP_1 + Zugang zu externen News-Servern ausschalten + + + ROUTINGNNTP_1 + Stationen im internen Netz haben Zugang zu externen News-Servern + + + SHOW_FETCHMAIL_USERS + Hier können die FetchMail-Regeln für die Benutzer erstellt, geändert und gelöscht werden. ]]> + + + NO_USER_ACCOUNTS + Derzeit sind keine Benutzer auf diesem System definiert. + + + SET_GENERAL_TITLE + Einstellen allgemeiner Regeln für den Mail-Empfang + + + SET_GENERAL_PAGE_DESCRIPTION + Auswahl der allgemeinen Informationen für die FetchMail-Benutzer.
Die Details zum Mail-Empfang können in der nächsten Seite eingestellt werden.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails können an den lokalen Benutzer ausgelifert werden. Dieser Modus wird bei Auswahl von 'Nein' für den 'Ghost Mode' ausgewählt.
Mails können an andere lokale Benutzer ausgeliefert werden. Dieser Modus wird auswählt, wenn in der Tabelle ein oder mehrere Kästchen neben den Benutzern angeklickt werden.
Mails können an externe Mailboxen ausgeliefert werden. Dieser Modus wird ausgewählt, wenn im Feld 'E-Mail-Adresse weiterleiten an' eine E-Mail-Adresse eingetragen wird.
Der Mail-Empfang muss wenigstens auf eine Art eingestellt werden. ]]>
+
+ + LABEL_USER_ACCOUNT + Benutzer Account + + + LABEL_COPY_TO + Mail-Kopie an + + + LABEL_GHOST + Ist es ein 'versteckter Benutzer' (nur zur Mail-Weiterleitung) ? + + + LABEL_DEBUG + Sollen Mail-Ereignisse dieses Benutzers in /var/log/maillog) geloggt werden ? + + + LABEL_SPY + Soll dieser Benutzer durch den 'admin' kontrolliert werden ? + + + LABEL_MAIL_RETRIEVE + Was soll mit Mails auf externen Servern passieren ? + + + KEEP_NO + Alle Mails empfangen + + + KEEP_YES + Mails lesen und auf externen Servern belassen + + + KEEP_NEW + Nur neue Mails empfangen + + + LABEL_MAIL_FORWARD + Sollen diese Mails weitergeleitet werden ? + + + FORWARD_GET + Keine Weiterleitung, nur für diesen Benutzer empfangen + + + FORWARD_COPY + Für diesen Benutzer empfangen und an andere Mailbox weiterleiten + + + FORWARD_FORWARD + Nicht empfangen, aber immer an andere Mailbox weiterleiten + + + LABEL_FORWARD_MAIL + An Email-Adresse(n) weiterleiten ( Format : xxx@yyy.zz ). Bei mehr als einer externen Adresse bitte mit Semikolon':' trennen. + + + SET_ACCOUNTS_TITLE + Informationen für den Zugang zu externen Mails + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Hier müssen die Informationen für den Zugang zu externen Mailboxen hinterlegt werden : Name des Servers, der die Mailbox enthält, Typ des Mailservers, Benutzer-Name, Benutzer-Passwort.

]]>
+
+ + LABEL_MAIL_SERVER + Name des externen Mail-Servers + + + LABEL_MAIL_TYPE + Verwendetes Mail-Protokoll + + + LABEL_MAIL_ACCOUNT + Benutzer-Name auf dem externen Mail-Server + + + LABEL_MAIL_PASSWORD + Benutzer-Passwort auf dem externen Mail-Server + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + POP + + + IMAP + IMAP + + + SPOP3 + SSL POP (Experimentell) + + + SIMAP + SSL IMAP (Experimentell) + + + SHOW_FETCHMAIL_ACCOUNTS + Liste der bereits eingerichtetn externen Mailboxen für diesen Benutzer.

]]>
+
+ + ERR_BADSERVER + Dieses Feld muß entweder einen gültigen Servernamen oder eine gültige IP-Adresse enthalten.
Ein gültiger Servername besteht aus zwei bis fünf durch Punkte '.' getrennte Teile.
In allen Teilen mit Ausnahme des letzten sind nur Buchstaben, Zahlen und '-' erlaubt. Diese Teile dürfen beliebig lang sein.
Für den letzten Teil (auch tld genannt) sind nur Buchstaben erlaubt, und zwar zwei bis sieben.
Eine gültige IP-Adresse besteht aus vier dezimalen Ganzzahlen, jede zwischen 0 und 255. Diese vier Zahlen werden verbunden mit je einem Punkt. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Benutzer überprüfen + + + MAIL_SERVER + Mail-Server + + + MAIL_TYPE + Typ des Mail-Zugangs + + + MAIL_ACCOUNT + Server Mailbox Konto + + + MAIL_PASSWORD + Server Mailbox Password + + + MAIL_OPTIONS + Fehlergründe + + + fetchmail + E-Mail mit FetchMail + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Änderungen der FetchMail-Konfiguration wurden erfolgreich gespeichert. + + + ERROR_WHILE_CHANGING_CONF + Die FetchMail-Einstellungen konnten nicht gespeichert werden. + + + SUCCESSFULLY_MODIFIED_ROUTING + Die Änderungen für den Zugang zu externen POP3 und IMAP4-Servern wurden erfolgreich gespeichert. + + + ERROR_WHILE_MODIFYING_ROUTING + Die Änderungen für den Zugang zu externen POP3 und IMAP4-Servern konnten nicht gespeichert werden. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Die Änderungen für den Zugang zu externen SMTP-Servern wurden erfolgreich gespeichert. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Die Änderungen für den Zugang zu externen SMTP-Servern konnten nicht gespeichert werden. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Die Änderungen für den Zugang zu externen News-Servern wurden erfolgreich gespeichert. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Die Änderungen für den Zugang zu externen News-Servern konnten nicht gespeichert werden. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Die Änderungen für die SME SMTP Proxy Einstellungen wurden erfolgreich gespeichert. + + + PREVIOUS + Vorherige Seite + + + VALIDATE + Änderungen speichern + + + ERR_NO_FETCHMAIL_RECORD + Kein FetchMail-Datensatz in den Einstellungen enthalten. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Kein smtpfront-qmail-Datensatz in den Einstellungen enthalten. + + + ERR_BADMAIL + Eine gültige E-Mail Adresse enthält nur Buchstaben, Zahlen oder Unterstriche im Namensteil. Ebenso dürfen '-' und '.' im Namensteil verwendet werden, aber nicht am Anfang oder Ende. Der Domänenteil (rechts vom @ Zeichen) darf nur Groß- und Kleinbuchstaben, Zahlen und das '-' Zeichen enthalten. Der Domänename enthält normalerweise zwischen 1 und 4 Punkte (.) Zeichen. Der letzte Teil (die tld) darf nur zwischen 2 und 7 Buchstaben enthalten.
Sie können mehr als eine externe Mailbox setzen. In diesem Fall separieren Sie jede E-Mail-Adresse mit einem Doppelpunkt ':' ]]>
+
+ + STATUS_1 + Eingeschaltet + + + STATUS_0 + Ausgeschaltet + + + NB_EXT_BOX + Externe Mailbox + + + GHOST_ACCOUNT + Versteckter Benutzer + + + DEBUG_MAILBOX + Mailbox im 'Kontroll' -Modus + + + SPIED_MAILBOX + Mailbox unter Betreuung + + + SHOW_SCHEDULE_INFOS +

Information zum Zeitplan

Der E-Mail-Abrufmodus findet in geplanten Zeitintervallen statt. Die Regeln für diesen Zeitplan können unter 'E-Mails' eingestellt werden.
Aber Achtung: Bei Benutzung von ETRN oder Multi-Drop kann der Zeitplan für den E-Mail-Empfang nicht geändert werden !
In diesem Fall folgendermaßen vorgehen :
- Erst unter E-Mail Abrufmodus ETRN auswählen und dann den neuen Zeitplan mit 'Speichern' absichern.
- Erst danach unter E-Mail Abrufmodus 'Standard (SMTP)' auswählen und erneut mit 'Speichern' absichern. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/el/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..4992d94 --- /dev/null +++ b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configure External Mailbox Retrieval + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Enable Fetchmail + + + SERVICE_0 + Fetchmail is Disabled + + + BUTTON_LABEL_SERVICE_1 + Disable Fetchmail + + + SERVICE_1 + Fetchmail is Enabled + + + BUTTON_LABEL_ROUTING_0 + Enable External POP and IMAP server access + + + ROUTING_0 + Workstations on the internal LAN cannot access external POP and IMAP servers + + + BUTTON_LABEL_ROUTING_1 + Disable External POP and IMAP server access + + + ROUTING_1 + Workstations on the internal LAN can access external POP and IMAP servers + + + BUTTON_LABEL_ROUTINGSMTP_0 + Enable External SMTP server access + + + ROUTINGSMTP_0 + Workstations on the internal LAN cannot access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTP_1 + Disable External SMTP server access + + + ROUTINGSMTP_1 + Workstations on the internal LAN can access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Force SMTP connections through the SME Proxy + + + ROUTINGSMTPPROXY_0 + Workstations on the internal LAN have direct access to external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Allow direct SMTP connections + + + ROUTINGSMTPPROXY_1 + SMTP connections from LAN to Internet are proxyed by the SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Enable external news server access + + + ROUTINGNNTP_0 + Workstations on the internal LAN cannot access external News servers + + + BUTTON_LABEL_ROUTINGNNTP_1 + Disable external news server access + + + ROUTINGNNTP_1 + Workstations on the internal LAN can access external News servers + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + There are currently no users defined on this system. + + + SET_GENERAL_TITLE + Set general mail retrieval rules + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + User Account + + + LABEL_COPY_TO + Mail copy to + + + LABEL_GHOST + Is it a 'ghost' account (only used to redistribute mails) ? + + + LABEL_DEBUG + Do you want to debug this account (fetchmail actions are logged in /var/log/maillog) ? + + + LABEL_SPY + Do you want this account be monitored by the 'admin' account ? + + + LABEL_MAIL_RETRIEVE + What do you want to do with E-Mails on external servers ? + + + KEEP_NO + Retrieve all mails + + + KEEP_YES + Read mails and leave them on the servers + + + KEEP_NEW + Retrieve new mails only + + + LABEL_MAIL_FORWARD + Do you want to forward theses mails ? + + + FORWARD_GET + Retrieve only for this account + + + FORWARD_COPY + Retrieve for this account and forward to another mailbox + + + FORWARD_FORWARD + Forward all mails to another mailbox only + + + LABEL_FORWARD_MAIL + Email address(es) to forward mails to ( format : xxx@yyy.zz ) To set more than one external address, just separate them with a colon ':' + + + SET_ACCOUNTS_TITLE + Set external mail access informations + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Name or IP Address of the external mail server + + + LABEL_MAIL_TYPE + Protocol to use when reading mails + + + LABEL_MAIL_ACCOUNT + The user account name on the mail server + + + LABEL_MAIL_PASSWORD + The user account password on the mail server + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validate Account + + + MAIL_SERVER + Mail Server + + + MAIL_TYPE + Mail Access Type + + + MAIL_ACCOUNT + Server Mailbox Account + + + MAIL_PASSWORD + Server Mailbox Password + + + MAIL_OPTIONS + Λόγοι αποτυχίας + + + fetchmail + Mail retrieval + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Your changes to the Fetchmail configuration have been saved successfully. + + + ERROR_WHILE_CHANGING_CONF + Unable to apply the Fetchmail configuration changes. + + + SUCCESSFULLY_MODIFIED_ROUTING + Your change to the access of external POP3 and IMAP4 servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTING + Unable to apply the changes to the configuration of IMAP and POP3 access. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Your change to the access of external SMTP servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Unable to apply the changes to the configuration of SMTP access. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Your changes to the access to external News servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Unable to apply the changes to the configuration of NNTP access. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Your changes to the SME SMTP Proxy configuration has been saved successfully. + + + PREVIOUS + Προηγούμενο + + + VALIDATE + Validate Changes ! + + + ERR_NO_FETCHMAIL_RECORD + Cannot retrieve fetchmail record from the configuration database. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Cannot retrieve smtpfront-qmail record from the configuration database. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + ENABLED + + + STATUS_0 + DISABLED + + + NB_EXT_BOX + External Mailbox + + + GHOST_ACCOUNT + Ghost account + + + DEBUG_MAILBOX + Mailbox in 'debug' mode + + + SPIED_MAILBOX + Mailbox under supervision + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/fetchmail new file mode 100755 index 0000000..f896045 --- /dev/null +++ b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,476 @@ + + + FORM_TITLE + Configure External Mailbox Retrieval + + + FIRST_PAGE_DESCRIPTION + + This panel allows configuration of external mailbox retrieval by your SME Server. What + does this mean?
+ Some of your users may have external mailbox(es). Usually, the email clients on + individual workstations have to be configured to fetch mail from these external + mailboxes as well as from the normal mailboxes provided by the SME server. + Using this control panel, the SME server can be configured to fetch mail from external + mailboxes and then automatically forward these mails to internal mail boxes. This + makes configuration of the email clients on individual workstations very easy.
+ Using this method of mail retrieval (and provided that the individual workstations + are using IMAP) means that emails are backed up as part of the normal backup process.
+ Other functions available through this panel are:
+ - A mailbox can be distributed to many mailboxes
+ - You can create 'Ghost account' : Mails sent to this account are + distributed to other(s) mailbox(es) only.
+ - logging of events for a mailboxes.
+ ]]> +
+
+ + BUTTON_LABEL_SERVICE_0 + Enable Fetchmail + + + SERVICE_0 + Fetchmail is Disabled + + + BUTTON_LABEL_SERVICE_1 + Disable Fetchmail + + + SERVICE_1 + Fetchmail is Enabled + + + BUTTON_LABEL_ROUTING_0 + Enable External POP and IMAP server access + + + ROUTING_0 + Workstations on the internal LAN cannot access external POP and IMAP servers + + + BUTTON_LABEL_ROUTING_1 + Disable External POP and IMAP server access + + + ROUTING_1 + Workstations on the internal LAN can access external POP and IMAP servers + + + BUTTON_LABEL_ROUTINGSMTP_0 + Enable External SMTP server access + + + ROUTINGSMTP_0 + Workstations on the internal LAN cannot access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTP_1 + Disable External SMTP server access + + + ROUTINGSMTP_1 + Workstations on the internal LAN can access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Force SMTP connections through the SME Proxy + + + ROUTINGSMTPPROXY_0 + Workstations on the internal LAN have direct access to external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Allow direct SMTP connections + + + ROUTINGSMTPPROXY_1 + SMTP connections from LAN to Internet are proxyed by the SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Enable external news server access + + + ROUTINGNNTP_0 + Workstations on the internal LAN cannot access external News servers + + + BUTTON_LABEL_ROUTINGNNTP_1 + Disable external news server access + + + ROUTINGNNTP_1 + Workstations on the internal LAN can access external News servers + + + SHOW_FETCHMAIL_USERS + + Here you can create, modify, and remove fetchmail rules for + any user. + ]]> + + + + NO_USER_ACCOUNTS + There are currently no users defined on this system. + + + SET_GENERAL_TITLE + Set general mail retrieval rules + + + SET_GENERAL_PAGE_DESCRIPTION + + Select the general information for the fetchmail accounts.
+ The specific mailboxes to retrieve will be set on the next screens. +

+ ]]> +
+
+ + ERROR_NO_FINAL_RECIPIENT + + Mails can be delivered to the local account. This mode is selected + if you choose 'NO' for the 'Ghost Mode'.
+ Mails can be delivered to other local accounts. This mode is selected by + checking one or more cases in the chart below.
+ Mails can be delivered to an external Mailbox. This mode is selected + if an E-Mail is set in the 'Email address to forward mail' field.
+ You must set at least one kind of recipient. + ]]> +
+
+ + LABEL_USER_ACCOUNT + User Account + + + LABEL_COPY_TO + Mail copy to + + + LABEL_GHOST + Is it a 'ghost' account (only used to redistribute mails) ? + + + LABEL_DEBUG + Do you want to debug this account (fetchmail actions are + logged in /var/log/maillog) ? + + + LABEL_SPY + Do you want this account be monitored by the 'admin' account ? + + + LABEL_MAIL_RETRIEVE + What do you want to do with E-Mails on external servers ? + + + KEEP_NO + Retrieve all mails + + + KEEP_YES + Read mails and leave them on the servers + + + KEEP_NEW + Retrieve new mails only + + + LABEL_MAIL_FORWARD + Do you want to forward theses mails ? + + + FORWARD_GET + Retrieve only for this account + + + FORWARD_COPY + Retrieve for this account and forward to another mailbox + + + FORWARD_FORWARD + Forward all mails to another mailbox only + + + LABEL_FORWARD_MAIL + Email address(es) to forward mails to ( format : xxx@yyy.zz ) + To set more than one external address, just separate them + with a colon ':' + + + SET_ACCOUNTS_TITLE + Set external mail access informations + + + SET_ACCOUNTS_PAGE_DESCRIPTION + + Here you can set the information needed to access your + external mailboxes : Name of the server storing the mailbox, + type of mailbox server, account name, account password. +

+ ]]> +
+
+ + LABEL_MAIL_SERVER + Name or IP Address of the external mail server + + + LABEL_MAIL_TYPE + Protocol to use when reading mails + + + LABEL_MAIL_ACCOUNT + The user account name on the mail server + + + LABEL_MAIL_PASSWORD + The user account password on the mail server + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + + This is the list of external mailboxes already configured + for this user. +

+ ]]> +
+
+ + ERR_BADSERVER + + To be valid, this field must contain either a valid server name or a valid IP address.
+ A valid server name contains between two and 5 parts separated by dots '.'
+ For all parts but the last, characters allowed are letters, numbers and '-'. + The parts can be of any size.
+ For the last part (also named tld), only letters are allowed, and the part + must contain between two and seven characters.
+ A valid IP address is made with four decimal integers, each between 0 and 255. The four + numbers are put together, separated by one dot. + ]]> +
+
+ + ERR_BADCHARS + + + + + ERR_FIELD_EMPTY + + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validate Account + + + MAIL_SERVER + Mail Server + + + MAIL_TYPE + Mail Access Type + + + MAIL_ACCOUNT + Server Mailbox Account + + + MAIL_PASSWORD + Server Mailbox Password + + + MAIL_OPTIONS + 'Raw' options for fetchmail + + + fetchmail + Mail retrieval + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Your changes to the Fetchmail configuration have been + saved successfully. + + + + ERROR_WHILE_CHANGING_CONF + Unable to apply the Fetchmail configuration changes. + + + + SUCCESSFULLY_MODIFIED_ROUTING + Your change to the access of external POP3 and IMAP4 servers + from the internal network has been saved successfully. + + + + ERROR_WHILE_MODIFYING_ROUTING + Unable to apply the changes to the configuration + of IMAP and POP3 access. + + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Your change to the access of external SMTP servers + from the internal network has been saved successfully. + + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Unable to apply the changes to the configuration + of SMTP access. + + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Your changes to the access to external News servers + from the internal network has been saved successfully. + + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Unable to apply the changes to the configuration + of NNTP access. + + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Your changes to the SME SMTP Proxy configuration + has been saved successfully. + + + + PREVIOUS + Previous + + + VALIDATE + Validate Changes ! + + + ERR_NO_FETCHMAIL_RECORD + Cannot retrieve fetchmail record from the configuration + database. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Cannot retrieve smtpfront-qmail record from the configuration + database. + + + ERR_BADMAIL + + A valid E-Mail contains only letters, digits and undescores in the name part. + There can also be '-' and '.' in the name, but not at begining or end. + The domain part (to the right of the @ sign) should only contain upper- and + lowercase letters, numbers and the '-' character. The domain name normally contains + between 1 and 4 dot (.) characters. + The last word (the tld) can only contains letters and + it should have a least 2 characters, but not more than 7.
+ You can set more than one external mailbox. In this case, just separate each + e-mail address with a colon ':' + ]]> +
+
+ + STATUS_1 + ENABLED + + + STATUS_0 + DISABLED + + + NB_EXT_BOX + External Mailbox + + + GHOST_ACCOUNT + Ghost account + + + DEBUG_MAILBOX + Mailbox in 'debug' mode + + + SPIED_MAILBOX + Mailbox under supervision + + + SHOW_SCHEDULE_INFOS +

Scheduling information

+ E-mail retrieval is done at regular intervals. The scheduling + rules are the same as the rules set in the 'E-Mails' panel.
+ If you want to change the schedule, simply change them in the + E-Mail panel.
+ NOTE! : If you don't use ETRN or Multi-Drop, + you cannot change the schedule !
+ To work around this limitation, do the following :
+ - Select ETRN and select your new schedule then 'Save'.
+ - Then select 'Standard (SMTP)' and 'Save' again. + ]]> +
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/es/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..5f15951 --- /dev/null +++ b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configurar Recuperación de Casilla Externa + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Habilitar Fetchmail + + + SERVICE_0 + Fetchmail esta Deshabilitado + + + BUTTON_LABEL_SERVICE_1 + Deshabilitar Fetchmail + + + SERVICE_1 + Fetchmail esta Habilitado + + + BUTTON_LABEL_ROUTING_0 + Habilitar Acceso a Servidor Externo POP e IMAP + + + ROUTING_0 + La estaciones de trabajo en la red interna LAN no pueden acceder a servidores externos POP e IMAP + + + BUTTON_LABEL_ROUTING_1 + Deshabilitar Acceso a Servidores Externos POP e IMAP + + + ROUTING_1 + La estaciones de trabajo en la red interna LAN pueden acceder a servidores externos POP e IMAP + + + BUTTON_LABEL_ROUTINGSMTP_0 + Habilitar Acceso a Servidor Externo SMTP + + + ROUTINGSMTP_0 + La estaciones de trabajo en la red interna LAN no pueden acceder a servidores externos SMTP + + + BUTTON_LABEL_ROUTINGSMTP_1 + Deshabilitar Acceso a Servidor Externo SMTP + + + ROUTINGSMTP_1 + La estaciones de trabajo en la red interna LAN pueden acceder a servidores externos SMTP + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Forzar conexiones SMTP a través del Proxy SME + + + ROUTINGSMTPPROXY_0 + La estaciones de trabajo en la red interna LAN tienen acceso directo a servidores externos SMTP + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Permitir conexiones SMTP directas + + + ROUTINGSMTPPROXY_1 + Las conexiones SMTP desde la LAN a Internet pasan a través del proxy del servidor SME + + + BUTTON_LABEL_ROUTINGNNTP_0 + Habilitar acceso a servidor externo de noticias + + + ROUTINGNNTP_0 + La estaciones de trabajo en la red interna LAN no pueden acceder a servidores externos de Noticias + + + BUTTON_LABEL_ROUTINGNNTP_1 + Deshabilitar acceso a servidor de noticias externo + + + ROUTINGNNTP_1 + Los ordenadores de la red interna LAN pueden acceder a los servidores de Noticias externos + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + Actualmente no hay usuarios definidos en este sistema. + + + SET_GENERAL_TITLE + Configuración general de reglas de recuperación de correo + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + Cuenta de Usuario + + + LABEL_COPY_TO + Copiar correo a + + + LABEL_GHOST + ¿ Es ésta una cuenta ghost (sólo utilizada para redistribuir los correos) ? + + + LABEL_DEBUG + ¿ Desea depurar esta cuenta (las acciones de fetchmail son registradas en /var/log/maillog) ? + + + LABEL_SPY + ¿ Desea que esta cuenta sea monitoreada por la cuenta de 'admin' ? + + + LABEL_MAIL_RETRIEVE + ¿ Qué desea hacer con los E-Mails de los servidores externos ? + + + KEEP_NO + Recuperar todos los correos + + + KEEP_YES + Leer correos y dejarlos en los servidores + + + KEEP_NEW + Recuperar solamente nuevos correos + + + LABEL_MAIL_FORWARD + ¿ Desea reenviar estos correos ? + + + FORWARD_GET + Recuperar sólo para esta cuenta + + + FORWARD_COPY + Recuperar para esta cuenta y reenviar a otra casilla + + + FORWARD_FORWARD + Reenviar todos los correos a otra casilla única + + + LABEL_FORWARD_MAIL + Dirección(es) de Email para reenviar correos ( formato : xxx@yyy.zz ) Para configurar más direcciones externas, separarlas con dos puntos ':' + + + SET_ACCOUNTS_TITLE + Establecer información de acceso de correo externo + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Nombre o IP del servidor de correo externo + + + LABEL_MAIL_TYPE + Protocolo utilizado para leer los correos + + + LABEL_MAIL_ACCOUNT + El nombre de cuenta de usuario en el servidor de correo + + + LABEL_MAIL_PASSWORD + La contraseña de cuenta de usuario en el servidor de correo + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validar Cuenta + + + MAIL_SERVER + Servidor de Correo + + + MAIL_TYPE + Tipo de Acceso al Correo + + + MAIL_ACCOUNT + Cuenta de la Casilla del Servidor + + + MAIL_PASSWORD + Contraseña de la Casilla del Servidor + + + MAIL_OPTIONS + Razones de la falla + + + fetchmail + Recuperación de Correo + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Sus cambios en la configuración de Fetchmail han sido guardados correctamente. + + + ERROR_WHILE_CHANGING_CONF + Imposible aplicar los cambios de configuración de Fetchmail. + + + SUCCESSFULLY_MODIFIED_ROUTING + Su cambio para el acceso a los servidores externos POP3 e IMAP4 desde la red interna ha sido guardado correctamente. + + + ERROR_WHILE_MODIFYING_ROUTING + Imposible aplicar los cambios a la configuración de acceso IMAP y POP3 + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Su cambio para el acceso a servidores externos SMTP desde la red interna ha sido guardado correctamente. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Imposible aplicar los cambios a la configuración de acceso SMTP. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Sus cambios para el acceso a los servidores externos de Noticias desde la red interna han sido guardados correctamente. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Imposible aplicar los cambios a la configuración de acceso NNTP. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Sus cambios de configuración del Proxy SME SMTP han sido guardados correctamente. + + + PREVIOUS + Anterior + + + VALIDATE + ¡ Validar Cambios ! + + + ERR_NO_FETCHMAIL_RECORD + No se puede recuperar el registro fetchmail desde la base de datos de configuración. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + No se puede recuperar el registro smtpfront-qmail desde la base de datos de configuración. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + HABILITADO + + + STATUS_0 + DESHABILITADO + + + NB_EXT_BOX + Casilla Externa + + + GHOST_ACCOUNT + Cuenta Ghost + + + DEBUG_MAILBOX + Casilla en modo 'depuración' + + + SPIED_MAILBOX + Casilla bajo supervisión. + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/et/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..a527efc --- /dev/null +++ b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configure External Mailbox Retrieval + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Enable Fetchmail + + + SERVICE_0 + Fetchmail is Disabled + + + BUTTON_LABEL_SERVICE_1 + Disable Fetchmail + + + SERVICE_1 + Fetchmail is Enabled + + + BUTTON_LABEL_ROUTING_0 + Enable External POP and IMAP server access + + + ROUTING_0 + Workstations on the internal LAN cannot access external POP and IMAP servers + + + BUTTON_LABEL_ROUTING_1 + Disable External POP and IMAP server access + + + ROUTING_1 + Workstations on the internal LAN can access external POP and IMAP servers + + + BUTTON_LABEL_ROUTINGSMTP_0 + Enable External SMTP server access + + + ROUTINGSMTP_0 + Workstations on the internal LAN cannot access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTP_1 + Disable External SMTP server access + + + ROUTINGSMTP_1 + Workstations on the internal LAN can access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Force SMTP connections through the SME Proxy + + + ROUTINGSMTPPROXY_0 + Workstations on the internal LAN have direct access to external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Allow direct SMTP connections + + + ROUTINGSMTPPROXY_1 + SMTP connections from LAN to Internet are proxyed by the SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Enable external news server access + + + ROUTINGNNTP_0 + Workstations on the internal LAN cannot access external News servers + + + BUTTON_LABEL_ROUTINGNNTP_1 + Disable external news server access + + + ROUTINGNNTP_1 + Workstations on the internal LAN can access external News servers + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + There are currently no users defined on this system. + + + SET_GENERAL_TITLE + Set general mail retrieval rules + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + User Account + + + LABEL_COPY_TO + Mail copy to + + + LABEL_GHOST + Is it a 'ghost' account (only used to redistribute mails) ? + + + LABEL_DEBUG + Do you want to debug this account (fetchmail actions are logged in /var/log/maillog) ? + + + LABEL_SPY + Do you want this account be monitored by the 'admin' account ? + + + LABEL_MAIL_RETRIEVE + What do you want to do with E-Mails on external servers ? + + + KEEP_NO + Retrieve all mails + + + KEEP_YES + Read mails and leave them on the servers + + + KEEP_NEW + Retrieve new mails only + + + LABEL_MAIL_FORWARD + Do you want to forward theses mails ? + + + FORWARD_GET + Retrieve only for this account + + + FORWARD_COPY + Retrieve for this account and forward to another mailbox + + + FORWARD_FORWARD + Forward all mails to another mailbox only + + + LABEL_FORWARD_MAIL + Email address(es) to forward mails to ( format : xxx@yyy.zz ) To set more than one external address, just separate them with a colon ':' + + + SET_ACCOUNTS_TITLE + Set external mail access informations + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Name or IP Address of the external mail server + + + LABEL_MAIL_TYPE + Protocol to use when reading mails + + + LABEL_MAIL_ACCOUNT + The user account name on the mail server + + + LABEL_MAIL_PASSWORD + The user account password on the mail server + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validate Account + + + MAIL_SERVER + Mail Server + + + MAIL_TYPE + Mail Access Type + + + MAIL_ACCOUNT + Server Mailbox Account + + + MAIL_PASSWORD + Server Mailbox Password + + + MAIL_OPTIONS + Reasons for failure + + + fetchmail + Mail retrieval + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Your changes to the Fetchmail configuration have been saved successfully. + + + ERROR_WHILE_CHANGING_CONF + Unable to apply the Fetchmail configuration changes. + + + SUCCESSFULLY_MODIFIED_ROUTING + Your change to the access of external POP3 and IMAP4 servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTING + Unable to apply the changes to the configuration of IMAP and POP3 access. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Your change to the access of external SMTP servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Unable to apply the changes to the configuration of SMTP access. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Your changes to the access to external News servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Unable to apply the changes to the configuration of NNTP access. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Your changes to the SME SMTP Proxy configuration has been saved successfully. + + + PREVIOUS + Previous + + + VALIDATE + Validate Changes ! + + + ERR_NO_FETCHMAIL_RECORD + Cannot retrieve fetchmail record from the configuration database. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Cannot retrieve smtpfront-qmail record from the configuration database. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + ENABLED + + + STATUS_0 + DISABLED + + + NB_EXT_BOX + External Mailbox + + + GHOST_ACCOUNT + Ghost account + + + DEBUG_MAILBOX + Mailbox in 'debug' mode + + + SPIED_MAILBOX + Mailbox under supervision + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/fetchmail new file mode 100755 index 0000000..4cd1bed --- /dev/null +++ b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configuration de la récupération de BALs externes + + + FIRST_PAGE_DESCRIPTION + Vous pouvez ici configurer la récupération de boites aux lettres externes sur votre serveur SME. Qu'est ce à dire ?
Certains de vos utilisateurs peuvent disposer de boites aux lettres situées sur des serveurs différents de votre serveur SME. D'ici, vous pouvez demander à votre serveur SME de récupérer le contenu de ces BALS dans des BALS de SME. Ceci présente l'avantage de gérer toute la configuration 'lourde' sur le serveur SME, permettant une configuration aisée du poste utilisateur. Ceci permet également le backup et le passage à l'antivirus des Mails via le serveur SME (Si vos clients utilisent IMAP et/ou WEBMAIL pour accéder à leur messagerie, et si votre serveur est doté d'un anti-virus et de sauvegardes !)
Ce panneau vous permet en outre d'autres opérations :
- Le contenu d'une boite peut être distribuée dans plusieurs boites additionnelles.
- Vous pouvez créer des boites 'fantômes : elles ne stockent rien, et ne font que de la redistribution.
- Il est possible de logguer les opérations sur une ou plusieurs boites.
- ... ]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Activer la récupération de messages + + + SERVICE_0 + La récupération de messages est désactivée + + + BUTTON_LABEL_SERVICE_1 + Désactiver la récupération de messages + + + SERVICE_1 + La récupération de messages est activée + + + BUTTON_LABEL_ROUTING_0 + Autoriser l'accès POP3 et IMAP4 + + + ROUTING_0 + L'accès aux serveurs POP3 et IMAP4 externes depuis le réseau interne est bloqué + + + BUTTON_LABEL_ROUTING_1 + Interdire l'accès POP3 et IMAP4 + + + ROUTING_1 + L'accès aux serveurs POP3 et IMAP4 externes depuis le réseau interne est autorisé + + + BUTTON_LABEL_ROUTINGSMTP_0 + Autoriser l'accès SMTP + + + ROUTINGSMTP_0 + L'accès aux serveurs SMTP externes depuis le réseau interne est bloqué + + + BUTTON_LABEL_ROUTINGSMTP_1 + Interdire l'accès SMTP + + + ROUTINGSMTP_1 + L'accès aux serveurs SMTP externes depuis le réseau interne est autorisé + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Connexions SMTP par le Proxy SME + + + ROUTINGSMTPPROXY_0 + Les Stations du LAN connectent directement les serveurs SMTP externes + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Connexions SMTP directes + + + ROUTINGSMTPPROXY_1 + Les stations du LAN connectent les serveurs SMTP externes via le Proxy SME + + + BUTTON_LABEL_ROUTINGNNTP_0 + Autoriser l'accès aux News + + + ROUTINGNNTP_0 + L'accès aux serveurs de News externes depuis le réseau interne est bloqué + + + BUTTON_LABEL_ROUTINGNNTP_1 + Désactiver l'accès aux News + + + ROUTINGNNTP_1 + L'accès aux serveurs de News externes depuis le réseau interne est autorisé + + + SHOW_FETCHMAIL_USERS + Vous pourrez ici créer, modifier ou supprimer la configuration de cette récupération de messages pour chaque compte. ]]> + + + NO_USER_ACCOUNTS + Il n'y a pas de comptes définis sur ce système. + + + SET_GENERAL_TITLE + Paramètres généraux de récupération de messages + + + SET_GENERAL_PAGE_DESCRIPTION + Indiquez ici les paramètres généraux de récupération pour ce compte de messagerie.
Les coordonées des comptes externes seront renseignées page suivante.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Les courriels peuvent être distribués dans la boite du compte courant. Ce choix est validé en répondant 'non' à la question : 'Est-ce un compte fantôme'.
Les courriels peuvent être distribuées dans d'autres boites locales. Ce choix est validé en cochant une ou plusieurs des cases se trouvant dans le tableau plus bas.
Les courriels peuvent être renvoyés vers une adresse de courriel externe. Ce choix est validé par la présence d'une adresse courriel dans le champ 'Adresse pour le transfert des messages'
Vous devez choisir au moins une de ces trois solutions. ]]>
+
+ + LABEL_USER_ACCOUNT + Compte Utilisateur + + + LABEL_COPY_TO + Copier les messages vers + + + LABEL_GHOST + Est-ce un compte 'fantôme' (qui ne sert qu'à redistribuer les messages) ? + + + LABEL_DEBUG + Voulez vous debugger ce compte (les opérations seront tracées dans le fichier /var/log/maillog) ? + + + LABEL_SPY + Voulez vous monitorer ce compte via le compte Admin? + + + LABEL_MAIL_RETRIEVE + Quelle opération souhaitez vous effectuer sur les messages dans les boites externes ? + + + KEEP_NO + Récupérer tous les messages + + + KEEP_YES + Copier les messages et les laisser sur le serveur + + + KEEP_NEW + Récupérer les nouveaux messages seulement + + + LABEL_MAIL_FORWARD + Voulez vous transférer les mails entrants ? + + + FORWARD_GET + Récupérer pour ce compte uniquement + + + FORWARD_COPY + Récupérer pour ce compte et transférer vers une adresse de messagerie + + + FORWARD_FORWARD + Transférer les messages vers une adresse de messagerie uniquement + + + LABEL_FORWARD_MAIL + Adresse(s) pour le transfert des messages ( format : xxx@yyy.zz ) Si vous avez plus d'une adresse de mail externe, séparez les par des double-point ':' + + + SET_ACCOUNTS_TITLE + Configuration des Boites aux lettres externes + + + SET_ACCOUNTS_PAGE_DESCRIPTION + C'est ici que vous indiquez les références des boites aux lettres que vous souhaitez récupérer :
serveur, type de messagerie, nom du compte, mot de passe.

]]>
+
+ + LABEL_MAIL_SERVER + Nom ou adresse IP du serveur de messagerie externe + + + LABEL_MAIL_TYPE + Protocole à utiliser pour lire les messages + + + LABEL_MAIL_ACCOUNT + Le nom du compte de messagerie sur le serveur + + + LABEL_MAIL_PASSWORD + Le mot de passe du compte de messagerie sur le serveur + + + LABEL_MAIL_OPTIONS + Options à passer directement à Fetchmail. Attention : ces options ne sont pas vérifiées, ainsi si vous ne savez pas ce que c'est, vous devez probablement laisser ceci vide ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + Pop par ssl (Expérimental) + + + SIMAP + Imap par ssl (Expérimental) + + + SHOW_FETCHMAIL_ACCOUNTS + Ceci est la liste des comptes externes déjà défini pour cet utilisateur.

]]>
+
+ + ERR_BADSERVER + Ce champ doit contenir soit un nom de serveur soit une adresse IP.
Un nom de serveur doit comprendre entre 2 et 5 groupes de caractères, séparés par des points '.'.
Les premiers groupes peuvent contenir des lettres, des chiffres et le signe moins '-' .
Le dernier groupe (à droite) peut contenir entre 2 et 5 lettres.
Une adresse IP valide est constituée de 4 nombres entiers compris entre 0 et 255, séparés par des points. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validation de ce compte + + + MAIL_SERVER + Serveur de messagerie + + + MAIL_TYPE + Type d'accès au serveur + + + MAIL_ACCOUNT + compte sur le serveur + + + MAIL_PASSWORD + mot de passe sur le serveur + + + MAIL_OPTIONS + Options 'brutes' pour fetchmail + + + fetchmail + Récupération de mails + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Vos changements à la configuration de la récupération de messages ont bien étés appliqués. + + + ERROR_WHILE_CHANGING_CONF + Impossible d'appliquer les changements de configuration de récupération de messages. + + + SUCCESSFULLY_MODIFIED_ROUTING + Vos changements de mode d'accès POP3 et IMAP4 ont bien étés pris en compte. + + + ERROR_WHILE_MODIFYING_ROUTING + Impossible d'appliquer les changements de configuration de mode d'accès POP3 et IMAP4. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Vos changements de mode d'accès SMTP ont bien étés pris en compte. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Impossible d'appliquer les changements de configuration de mode d'accès SMTP. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Vos changements de mode d'accès NNTP ont bien étés pris en compte. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Impossible d'appliquer les changements de configuration de mode d'accès NNTP. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Vos changements de configuration du Proxy SMTP ont bien étés pris en compte. + + + PREVIOUS + Précédent + + + VALIDATE + Valider les changements ! + + + ERR_NO_FETCHMAIL_RECORD + Impossible de récupérer l'enregistrement de configuration de fetchmail dans la base de données de configuration. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Impossible de récupérer l'enregistrement de configuration de smtpfront-qmail dans la base de données de configuration. + + + ERR_BADMAIL + Une adresse de messagerie conforme ne contient que des lettres, des chiffres et le symbole souligné "_ "
Il peut également y avoir des signes moins "-" et point "." mais pas au début ni à la fin.
La partie 'domaine' (la partie à droite du signe "@" ) ne peut contenir que des lettres, des chiffres et le signe moins "-".
Cette partie doit contenir entre 1 et 4 points ".".
La dernière partie ( entre le dernier point et la droite de l'adresse ) doit comprendre entre 2 et 5 lettres en minuscules.
Vous pouvez indiquer plus d'une adresse de mail externe. Il suffit de séparer chaque adresse par un double-point ":" ]]>
+
+ + STATUS_1 + Activé + + + STATUS_0 + Désactivé + + + NB_EXT_BOX + Boite externe + + + GHOST_ACCOUNT + Compte 'fantôme' + + + DEBUG_MAILBOX + Boite en mode 'debug' + + + SPIED_MAILBOX + boite sous supervision + + + SHOW_SCHEDULE_INFOS +

Informations de planification

La récupération de messages est faite à intervalles réguliers. Les règles de planifications sont les mêmes que celles définies dans le panneau 'Courrier électronique'.
Si vous souhaitez modifier la planification, changez celle-ci dans le panneau 'Courrier électronique'.
Mais il y a un truc ! Si vous n'utilisez pas le mode ETRN ou le mode multidrop, vous ne pouvez pas enregistrer les changements de planification.
Dans ce cas, procédez ainsi :
1) Choisissez le mode ETRN et faites votre nouvelle planification. Enregistrez vos changements.
2) Immédiatement après, choisissez à nouveau le mode 'standard' et enregistrez à nouveau. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirmer que vous voulez changer le statut de Fetchmail + + + RoutingIMPAPPOP + Confirmer que vous voulez changer le statut du filtrage du trafic externe IMAP et POP + + + + RoutingNNTP + Confirmer que vous voulez changer le statut du filtrage du trafic externe NNTP + + +
diff --git a/root/etc/e-smith/locale/he/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..a4564e4 --- /dev/null +++ b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configure External Mailbox Retrieval + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Enable Fetchmail + + + SERVICE_0 + Fetchmail is Disabled + + + BUTTON_LABEL_SERVICE_1 + Disable Fetchmail + + + SERVICE_1 + Fetchmail is Enabled + + + BUTTON_LABEL_ROUTING_0 + Enable External POP and IMAP server access + + + ROUTING_0 + Workstations on the internal LAN cannot access external POP and IMAP servers + + + BUTTON_LABEL_ROUTING_1 + Disable External POP and IMAP server access + + + ROUTING_1 + Workstations on the internal LAN can access external POP and IMAP servers + + + BUTTON_LABEL_ROUTINGSMTP_0 + Enable External SMTP server access + + + ROUTINGSMTP_0 + Workstations on the internal LAN cannot access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTP_1 + Disable External SMTP server access + + + ROUTINGSMTP_1 + Workstations on the internal LAN can access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Force SMTP connections through the SME Proxy + + + ROUTINGSMTPPROXY_0 + Workstations on the internal LAN have direct access to external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Allow direct SMTP connections + + + ROUTINGSMTPPROXY_1 + SMTP connections from LAN to Internet are proxyed by the SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Enable external news server access + + + ROUTINGNNTP_0 + Workstations on the internal LAN cannot access external News servers + + + BUTTON_LABEL_ROUTINGNNTP_1 + Disable external news server access + + + ROUTINGNNTP_1 + Workstations on the internal LAN can access external News servers + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + There are currently no users defined on this system. + + + SET_GENERAL_TITLE + Set general mail retrieval rules + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + User Account + + + LABEL_COPY_TO + Mail copy to + + + LABEL_GHOST + Is it a 'ghost' account (only used to redistribute mails) ? + + + LABEL_DEBUG + Do you want to debug this account (fetchmail actions are logged in /var/log/maillog) ? + + + LABEL_SPY + Do you want this account be monitored by the 'admin' account ? + + + LABEL_MAIL_RETRIEVE + What do you want to do with E-Mails on external servers ? + + + KEEP_NO + Retrieve all mails + + + KEEP_YES + Read mails and leave them on the servers + + + KEEP_NEW + Retrieve new mails only + + + LABEL_MAIL_FORWARD + Do you want to forward theses mails ? + + + FORWARD_GET + Retrieve only for this account + + + FORWARD_COPY + Retrieve for this account and forward to another mailbox + + + FORWARD_FORWARD + Forward all mails to another mailbox only + + + LABEL_FORWARD_MAIL + Email address(es) to forward mails to ( format : xxx@yyy.zz ) To set more than one external address, just separate them with a colon ':' + + + SET_ACCOUNTS_TITLE + Set external mail access informations + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Name or IP Address of the external mail server + + + LABEL_MAIL_TYPE + Protocol to use when reading mails + + + LABEL_MAIL_ACCOUNT + The user account name on the mail server + + + LABEL_MAIL_PASSWORD + The user account password on the mail server + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validate Account + + + MAIL_SERVER + Mail Server + + + MAIL_TYPE + Mail Access Type + + + MAIL_ACCOUNT + Server Mailbox Account + + + MAIL_PASSWORD + Server Mailbox Password + + + MAIL_OPTIONS + סיבות לכשלון + + + fetchmail + Mail retrieval + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Your changes to the Fetchmail configuration have been saved successfully. + + + ERROR_WHILE_CHANGING_CONF + Unable to apply the Fetchmail configuration changes. + + + SUCCESSFULLY_MODIFIED_ROUTING + Your change to the access of external POP3 and IMAP4 servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTING + Unable to apply the changes to the configuration of IMAP and POP3 access. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Your change to the access of external SMTP servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Unable to apply the changes to the configuration of SMTP access. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Your changes to the access to external News servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Unable to apply the changes to the configuration of NNTP access. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Your changes to the SME SMTP Proxy configuration has been saved successfully. + + + PREVIOUS + Previous + + + VALIDATE + Validate Changes ! + + + ERR_NO_FETCHMAIL_RECORD + Cannot retrieve fetchmail record from the configuration database. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Cannot retrieve smtpfront-qmail record from the configuration database. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + ENABLED + + + STATUS_0 + DISABLED + + + NB_EXT_BOX + External Mailbox + + + GHOST_ACCOUNT + Ghost account + + + DEBUG_MAILBOX + Mailbox in 'debug' mode + + + SPIED_MAILBOX + Mailbox under supervision + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..1c36829 --- /dev/null +++ b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configure External Mailbox Retrieval + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Enable Fetchmail + + + SERVICE_0 + Fetchmail is Disabled + + + BUTTON_LABEL_SERVICE_1 + Disable Fetchmail + + + SERVICE_1 + Fetchmail is Enabled + + + BUTTON_LABEL_ROUTING_0 + Enable External POP and IMAP server access + + + ROUTING_0 + Workstations on the internal LAN cannot access external POP and IMAP servers + + + BUTTON_LABEL_ROUTING_1 + Disable External POP and IMAP server access + + + ROUTING_1 + Workstations on the internal LAN can access external POP and IMAP servers + + + BUTTON_LABEL_ROUTINGSMTP_0 + Enable External SMTP server access + + + ROUTINGSMTP_0 + Workstations on the internal LAN cannot access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTP_1 + Disable External SMTP server access + + + ROUTINGSMTP_1 + Workstations on the internal LAN can access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Force SMTP connections through the SME Proxy + + + ROUTINGSMTPPROXY_0 + Workstations on the internal LAN have direct access to external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Allow direct SMTP connections + + + ROUTINGSMTPPROXY_1 + SMTP connections from LAN to Internet are proxyed by the SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Enable external news server access + + + ROUTINGNNTP_0 + Workstations on the internal LAN cannot access external News servers + + + BUTTON_LABEL_ROUTINGNNTP_1 + Disable external news server access + + + ROUTINGNNTP_1 + Workstations on the internal LAN can access external News servers + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + There are currently no users defined on this system. + + + SET_GENERAL_TITLE + Set general mail retrieval rules + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + User Account + + + LABEL_COPY_TO + Mail copy to + + + LABEL_GHOST + Is it a 'ghost' account (only used to redistribute mails) ? + + + LABEL_DEBUG + Do you want to debug this account (fetchmail actions are logged in /var/log/maillog) ? + + + LABEL_SPY + Do you want this account be monitored by the 'admin' account ? + + + LABEL_MAIL_RETRIEVE + What do you want to do with E-Mails on external servers ? + + + KEEP_NO + Retrieve all mails + + + KEEP_YES + Read mails and leave them on the servers + + + KEEP_NEW + Retrieve new mails only + + + LABEL_MAIL_FORWARD + Do you want to forward theses mails ? + + + FORWARD_GET + Retrieve only for this account + + + FORWARD_COPY + Retrieve for this account and forward to another mailbox + + + FORWARD_FORWARD + Forward all mails to another mailbox only + + + LABEL_FORWARD_MAIL + Email address(es) to forward mails to ( format : xxx@yyy.zz ) To set more than one external address, just separate them with a colon ':' + + + SET_ACCOUNTS_TITLE + Set external mail access informations + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Name or IP Address of the external mail server + + + LABEL_MAIL_TYPE + Protocol to use when reading mails + + + LABEL_MAIL_ACCOUNT + The user account name on the mail server + + + LABEL_MAIL_PASSWORD + The user account password on the mail server + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validate Account + + + MAIL_SERVER + Mail Server + + + MAIL_TYPE + Mail Access Type + + + MAIL_ACCOUNT + Server Mailbox Account + + + MAIL_PASSWORD + Server Mailbox Password + + + MAIL_OPTIONS + Hibák + + + fetchmail + Mail retrieval + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Your changes to the Fetchmail configuration have been saved successfully. + + + ERROR_WHILE_CHANGING_CONF + Unable to apply the Fetchmail configuration changes. + + + SUCCESSFULLY_MODIFIED_ROUTING + Your change to the access of external POP3 and IMAP4 servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTING + Unable to apply the changes to the configuration of IMAP and POP3 access. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Your change to the access of external SMTP servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Unable to apply the changes to the configuration of SMTP access. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Your changes to the access to external News servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Unable to apply the changes to the configuration of NNTP access. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Your changes to the SME SMTP Proxy configuration has been saved successfully. + + + PREVIOUS + Előző + + + VALIDATE + Validate Changes ! + + + ERR_NO_FETCHMAIL_RECORD + Cannot retrieve fetchmail record from the configuration database. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Cannot retrieve smtpfront-qmail record from the configuration database. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + ENABLED + + + STATUS_0 + DISABLED + + + NB_EXT_BOX + External Mailbox + + + GHOST_ACCOUNT + Ghost account + + + DEBUG_MAILBOX + Mailbox in 'debug' mode + + + SPIED_MAILBOX + Mailbox under supervision + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/id/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..affd849 --- /dev/null +++ b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configure External Mailbox Retrieval + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Enable Fetchmail + + + SERVICE_0 + Fetchmail is Disabled + + + BUTTON_LABEL_SERVICE_1 + Disable Fetchmail + + + SERVICE_1 + Fetchmail is Enabled + + + BUTTON_LABEL_ROUTING_0 + Enable External POP and IMAP server access + + + ROUTING_0 + Workstations on the internal LAN cannot access external POP and IMAP servers + + + BUTTON_LABEL_ROUTING_1 + Disable External POP and IMAP server access + + + ROUTING_1 + Workstations on the internal LAN can access external POP and IMAP servers + + + BUTTON_LABEL_ROUTINGSMTP_0 + Enable External SMTP server access + + + ROUTINGSMTP_0 + Workstations on the internal LAN cannot access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTP_1 + Disable External SMTP server access + + + ROUTINGSMTP_1 + Workstations on the internal LAN can access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Force SMTP connections through the SME Proxy + + + ROUTINGSMTPPROXY_0 + Workstations on the internal LAN have direct access to external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Allow direct SMTP connections + + + ROUTINGSMTPPROXY_1 + SMTP connections from LAN to Internet are proxyed by the SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Enable external news server access + + + ROUTINGNNTP_0 + Workstations on the internal LAN cannot access external News servers + + + BUTTON_LABEL_ROUTINGNNTP_1 + Disable external news server access + + + ROUTINGNNTP_1 + Workstations on the internal LAN can access external News servers + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + There are currently no users defined on this system. + + + SET_GENERAL_TITLE + Set general mail retrieval rules + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + User Account + + + LABEL_COPY_TO + Mail copy to + + + LABEL_GHOST + Is it a 'ghost' account (only used to redistribute mails) ? + + + LABEL_DEBUG + Do you want to debug this account (fetchmail actions are logged in /var/log/maillog) ? + + + LABEL_SPY + Do you want this account be monitored by the 'admin' account ? + + + LABEL_MAIL_RETRIEVE + What do you want to do with E-Mails on external servers ? + + + KEEP_NO + Retrieve all mails + + + KEEP_YES + Read mails and leave them on the servers + + + KEEP_NEW + Retrieve new mails only + + + LABEL_MAIL_FORWARD + Do you want to forward theses mails ? + + + FORWARD_GET + Retrieve only for this account + + + FORWARD_COPY + Retrieve for this account and forward to another mailbox + + + FORWARD_FORWARD + Forward all mails to another mailbox only + + + LABEL_FORWARD_MAIL + Email address(es) to forward mails to ( format : xxx@yyy.zz ) To set more than one external address, just separate them with a colon ':' + + + SET_ACCOUNTS_TITLE + Set external mail access informations + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Name or IP Address of the external mail server + + + LABEL_MAIL_TYPE + Protocol to use when reading mails + + + LABEL_MAIL_ACCOUNT + The user account name on the mail server + + + LABEL_MAIL_PASSWORD + The user account password on the mail server + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validate Account + + + MAIL_SERVER + Mail Server + + + MAIL_TYPE + Mail Access Type + + + MAIL_ACCOUNT + Server Mailbox Account + + + MAIL_PASSWORD + Server Mailbox Password + + + MAIL_OPTIONS + Alasan gagal + + + fetchmail + Mail retrieval + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Your changes to the Fetchmail configuration have been saved successfully. + + + ERROR_WHILE_CHANGING_CONF + Unable to apply the Fetchmail configuration changes. + + + SUCCESSFULLY_MODIFIED_ROUTING + Your change to the access of external POP3 and IMAP4 servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTING + Unable to apply the changes to the configuration of IMAP and POP3 access. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Your change to the access of external SMTP servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Unable to apply the changes to the configuration of SMTP access. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Your changes to the access to external News servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Unable to apply the changes to the configuration of NNTP access. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Your changes to the SME SMTP Proxy configuration has been saved successfully. + + + PREVIOUS + Previous + + + VALIDATE + Validate Changes ! + + + ERR_NO_FETCHMAIL_RECORD + Cannot retrieve fetchmail record from the configuration database. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Cannot retrieve smtpfront-qmail record from the configuration database. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + ENABLED + + + STATUS_0 + DISABLED + + + NB_EXT_BOX + External Mailbox + + + GHOST_ACCOUNT + Ghost account + + + DEBUG_MAILBOX + Mailbox in 'debug' mode + + + SPIED_MAILBOX + Mailbox under supervision + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/it/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/fetchmail new file mode 100755 index 0000000..3736633 --- /dev/null +++ b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configura recupero da Caselle Email Esterne + + + FIRST_PAGE_DESCRIPTION + Questo pannello ti permette di configurare il recupero da caselle di email esterne al tuo Server. Cosa significa? Alcuni dei tuoi utenti potrebbero avere delle caselle email esterne. È più conveniente recuperare e smistare le email da queste caselle nel tuo Server locale. Questo ti permette di avere una configurazione molto semplice sulle postazioni degli utenti, che devono configurare un unico account, sul tuo server locale..
Ti permette inoltre di effettuare il backup di queste email sul server locale (se la postazione dell'utente usa IMAP e se fai il backup del tuo server, naturalmente!).
Ma questo pannello ti offre anche altre funzioni:
- Una casella email può essere distribuita a molte caselle
- Puoi creare un 'Account Fantasma': le email inviate a questo account sono esclusivamente distribuite ad altre caselle email.
- si può tenere uno storico degli eventi di una casella email.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Abilita Fetchmail + + + SERVICE_0 + Fetchmail è disabilitato + + + BUTTON_LABEL_SERVICE_1 + Disabilita Fetchmail + + + SERVICE_1 + Fetchmail è abilitato + + + BUTTON_LABEL_ROUTING_0 + Abilita l'accesso ai server esterni POP e IMAP + + + ROUTING_0 + Le postazioni della LAN interna non possono accedere ai server POP e IMAP esterni + + + BUTTON_LABEL_ROUTING_1 + Disabilita l'accesso ai server POP e IMAP esterni + + + ROUTING_1 + Le postazioni della LAN interna possono accedere ai server POP e IMAP esterni + + + BUTTON_LABEL_ROUTINGSMTP_0 + Abilita l'accesso ai server SMTP esterni + + + ROUTINGSMTP_0 + Le postazioni della LAN interna non possono accedere ai server SMTP esterni + + + BUTTON_LABEL_ROUTINGSMTP_1 + Disabilita l'accesso ai server SMTP esterni + + + ROUTINGSMTP_1 + Le postazioni della LAN interna possono accedere ai server SMTP esterni + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Forza le connessioni SMTP attraverso il Proxy di SME + + + ROUTINGSMTPPROXY_0 + Le postazioni della LAN interna possono accedere DIRETTAMENTE ai server SMTP esterni + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Permetti le connessioni dirette SMTP + + + ROUTINGSMTPPROXY_1 + Le connessioni SMTP dalla LAN verso Internet passano attraverso il Proxy sul server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Abilita l'accesso ai server NNTP esterni + + + ROUTINGNNTP_0 + Le postazioni della LAN interna possono accedere ai server NNTP esterni + + + BUTTON_LABEL_ROUTINGNNTP_1 + Disabilita l'accesso ai server NNTP esterni + + + ROUTINGNNTP_1 + Le postazioni della LAN interna possono accedere ai server NNTP esterni + + + SHOW_FETCHMAIL_USERS + Da qui puoi creare, modificare e rimuovere le regole di scaricamento posta per ogni utente. ]]> + + + NO_USER_ACCOUNTS + Non ci sono attualmente utenti definiti in questo sistema. + + + SET_GENERAL_TITLE + Imposta le regole generali di recupero della posta + + + SET_GENERAL_PAGE_DESCRIPTION + Seleziona le informazioni generali per gli account di recupero posta esterna.
Le caselle specifiche da recuperare saranno impostate nelle prossime schermate.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Le email possono essere smistate all'account locale. Questo modo può essere impostato se scegli 'NO' per il 'Modo Fantasma'.
Le email possono essere smistate ad altri account locali. Questo modo può essere impostato selezionando uno o più casi dalla tabella seguente.
Le email possono essere smistate ad una casella esterna. Questo modo può essere impostato se si inserisce un'email nel campo 'Indirizzo cui inoltrare le email'.
Devi impostare almeno un tipo di regola. ]]>
+
+ + LABEL_USER_ACCOUNT + Account Utente + + + LABEL_COPY_TO + Invia copia delle email a + + + LABEL_GHOST + È un account 'fantasma' (solo per redistribuire le email) ? + + + LABEL_DEBUG + Vuoi effettuare il debug di questo account (le azioni di recupero posta saranno loggate in /var/log/maillog) ? + + + LABEL_SPY + Vuoi che questo account sia monitorato dall'account 'admin' ? + + + LABEL_MAIL_RETRIEVE + Cosa vuoi fare con le email sui server esterni ? + + + KEEP_NO + Recupera tutte le email + + + KEEP_YES + Leggi le email e lasciale sui server + + + KEEP_NEW + Recupera solo le email nuove + + + LABEL_MAIL_FORWARD + Vuoi inoltrare queste email? + + + FORWARD_GET + Recupera solo per questo account + + + FORWARD_COPY + Recupera per questo account ed inoltra ad un'altra casella email + + + FORWARD_FORWARD + Inoltra solamente tutte le email ad un'altra casella email + + + LABEL_FORWARD_MAIL + Gli indirizzi email cui inoltrare le email ( formato : xxx@yyy.zz ) Per impostare più di un indirizzo esterno, semplicemente separali con il carattere ':' + + + SET_ACCOUNTS_TITLE + Imposta le informazioni di accesso alle email esterne + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Qui puoi impostare le informazioni necessarie ad accedere alle tue caselle email esterne : Nome del server dove risiede la casella email, il tipo di server email, il nome dell'account, e la password dell'account.

]]>
+
+ + LABEL_MAIL_SERVER + Nome o IP Address del server mail esterno + + + LABEL_MAIL_TYPE + Protocollo da usare per leggere le email + + + LABEL_MAIL_ACCOUNT + Il nome utente dell'account sul server email + + + LABEL_MAIL_PASSWORD + La password dell'account sul server email + + + LABEL_MAIL_OPTIONS + Parametri che possono essere inviati direttamente a fetchmail. Attenzione: questi parametri non vengono verificati, quindi se non siete certi di quel che fate lasciate questo campo vuoto! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Sperimentale) + + + SIMAP + SSL Imap (Sperimentale) + + + SHOW_FETCHMAIL_ACCOUNTS + Questo è un elenco delle caselle email esterne già configurate per questo utente.

]]>
+
+ + ERR_BADSERVER + Un nome di server valido contiene da 2 a 5 parti separate da punti '.'
Per tutte le parti, tranne l'ultima, i caratteri permessi sono lettere, numeri e '-'. Le parti possono essere di qualsiasi lunghezza.
Per l'ultima parte (chiamata anche tld), sono ammesse solo lettere, e deve contenere da 2 a 5 caratteri. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Convalida Account + + + MAIL_SERVER + Server Email + + + MAIL_TYPE + Tipo di accesso Email + + + MAIL_ACCOUNT + Account della casella sul Server + + + MAIL_PASSWORD + Password della casella sul Server + + + MAIL_OPTIONS + Opzioni 'Raw' per fetchmail + + + fetchmail + Recupero Email + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + I tuoi cambiamenti alla configurazione di scaricamento posta sono stati salvati con successo. + + + ERROR_WHILE_CHANGING_CONF + Impossibile applicare i cambiamenti alla configurazione di scaricamento posta. + + + SUCCESSFULLY_MODIFIED_ROUTING + I tuoi cambiamenti di accesso a server POP3 e IMAP4 esterni dalla rete interna sono stati salvati con successo. + + + ERROR_WHILE_MODIFYING_ROUTING + Impossibile applicare i cambiamenti alla configurazione di accesso a IMAP e POP3. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + I tuoi cambiamenti di accesso a server SMTP esterni dalla rete interna sono stati salvati con successo. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Impossibile applicare i cambiamenti alla configurazione di accesso a SMTP. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + I tuoi cambiamenti di accesso a server NNTP esterni dalla rete interna sono stati salvati con successo. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Impossibile applicare i cambiamenti alla configurazione di accesso a NNTP. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + I tuoi cambiamenti alla configurazione del Proxy SMTP sono stati salvati con successo. + + + PREVIOUS + Prec. + + + VALIDATE + Convalida i cambiamenti! + + + ERR_NO_FETCHMAIL_RECORD + Non posso recuperare il record fetchmail dal database di configurazione. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Non posso recuperare il record smtpfront-qmail dal database di configurazione. + + + ERR_BADMAIL + Un indirizzo email valido contiene solo lettere, numeri e trattini di sottolineatura nella parte del nome. Possono esserci anche '-' e '.' nel nome, ma non all'inizio o alla fine. La parte di dominio (a destra del simbolo @) dovrebbe contenere solo caratteri maiuscoli, minuscoli, numeri e '-'. Il nome dovrebbe contenere da 1 a 4 punti. L'ultima parola (il tld) può contenere solo lettere e dovrebbe avere almeno 2 caratteri, ma non più di 5.
Puoi impostare più di una casella email esterna. In questo caso, separa semplicemente ogni indirizzo email con ':' ]]>
+
+ + STATUS_1 + ABILITATO + + + STATUS_0 + DISABILITATO + + + NB_EXT_BOX + Casella Email esterna + + + GHOST_ACCOUNT + Account Fantasma + + + DEBUG_MAILBOX + Casella Email in modalità 'debug' + + + SPIED_MAILBOX + Casella Email sotto supervisione + + + SHOW_SCHEDULE_INFOS +

Informazioni di programmazione

Il recupero delle email è fatto ad intervalli regolari. Le regole di programmazione sono le stesse di quelle impostate nel pannello 'Email'.
Se vuoi cambiare la programmazione, semplicemente cambiala dal pannello Email.
Ma c'è un trucco : se non usi ETRN o Multi-Drop, non puoi cambiare la programmazione !
In questo caso, fai come segue :
- Seleziona ETRN e seleziona la tua nuova programmazione, quindi 'Salva'.
- Subito dopo, seleziona 'Standard (SMTP)' e 'Salva' di nuovo. ]]>
+
+ + SET_FETCHMAIL_SATUS + Conferma la modifica dello stato di Fetchmail + + + RoutingIMPAPPOP + Conferma il cambio di stato del filtro traffico esterno IMAPe POP + + + + RoutingNNTP + Conferma il cambio di stato del filtro traffico esterno NNTP + + +
diff --git a/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..d32a347 --- /dev/null +++ b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configure External Mailbox Retrieval + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Enable Fetchmail + + + SERVICE_0 + Fetchmail is Disabled + + + BUTTON_LABEL_SERVICE_1 + Disable Fetchmail + + + SERVICE_1 + Fetchmail is Enabled + + + BUTTON_LABEL_ROUTING_0 + Enable External POP and IMAP server access + + + ROUTING_0 + Workstations on the internal LAN cannot access external POP and IMAP servers + + + BUTTON_LABEL_ROUTING_1 + Disable External POP and IMAP server access + + + ROUTING_1 + Workstations on the internal LAN can access external POP and IMAP servers + + + BUTTON_LABEL_ROUTINGSMTP_0 + Enable External SMTP server access + + + ROUTINGSMTP_0 + Workstations on the internal LAN cannot access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTP_1 + Disable External SMTP server access + + + ROUTINGSMTP_1 + Workstations on the internal LAN can access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Force SMTP connections through the SME Proxy + + + ROUTINGSMTPPROXY_0 + Workstations on the internal LAN have direct access to external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Allow direct SMTP connections + + + ROUTINGSMTPPROXY_1 + SMTP connections from LAN to Internet are proxyed by the SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Enable external news server access + + + ROUTINGNNTP_0 + Workstations on the internal LAN cannot access external News servers + + + BUTTON_LABEL_ROUTINGNNTP_1 + Disable external news server access + + + ROUTINGNNTP_1 + Workstations on the internal LAN can access external News servers + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + There are currently no users defined on this system. + + + SET_GENERAL_TITLE + Set general mail retrieval rules + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + User Account + + + LABEL_COPY_TO + Mail copy to + + + LABEL_GHOST + Is it a 'ghost' account (only used to redistribute mails) ? + + + LABEL_DEBUG + Do you want to debug this account (fetchmail actions are logged in /var/log/maillog) ? + + + LABEL_SPY + Do you want this account be monitored by the 'admin' account ? + + + LABEL_MAIL_RETRIEVE + What do you want to do with E-Mails on external servers ? + + + KEEP_NO + Retrieve all mails + + + KEEP_YES + Read mails and leave them on the servers + + + KEEP_NEW + Retrieve new mails only + + + LABEL_MAIL_FORWARD + Do you want to forward theses mails ? + + + FORWARD_GET + Retrieve only for this account + + + FORWARD_COPY + Retrieve for this account and forward to another mailbox + + + FORWARD_FORWARD + Forward all mails to another mailbox only + + + LABEL_FORWARD_MAIL + Email address(es) to forward mails to ( format : xxx@yyy.zz ) To set more than one external address, just separate them with a colon ':' + + + SET_ACCOUNTS_TITLE + Set external mail access informations + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Name or IP Address of the external mail server + + + LABEL_MAIL_TYPE + Protocol to use when reading mails + + + LABEL_MAIL_ACCOUNT + The user account name on the mail server + + + LABEL_MAIL_PASSWORD + The user account password on the mail server + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validate Account + + + MAIL_SERVER + Mail Server + + + MAIL_TYPE + Mail Access Type + + + MAIL_ACCOUNT + Server Mailbox Account + + + MAIL_PASSWORD + Server Mailbox Password + + + MAIL_OPTIONS + 'Raw' options for fetchmail + + + fetchmail + Mail retrieval + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Your changes to the Fetchmail configuration have been saved successfully. + + + ERROR_WHILE_CHANGING_CONF + Unable to apply the Fetchmail configuration changes. + + + SUCCESSFULLY_MODIFIED_ROUTING + Your change to the access of external POP3 and IMAP4 servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTING + Unable to apply the changes to the configuration of IMAP and POP3 access. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Your change to the access of external SMTP servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Unable to apply the changes to the configuration of SMTP access. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Your changes to the access to external News servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Unable to apply the changes to the configuration of NNTP access. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Your changes to the SME SMTP Proxy configuration has been saved successfully. + + + PREVIOUS + 前へ + + + VALIDATE + Validate Changes ! + + + ERR_NO_FETCHMAIL_RECORD + Cannot retrieve fetchmail record from the configuration database. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Cannot retrieve smtpfront-qmail record from the configuration database. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + ENABLED + + + STATUS_0 + DISABLED + + + NB_EXT_BOX + External Mailbox + + + GHOST_ACCOUNT + Ghost account + + + DEBUG_MAILBOX + Mailbox in 'debug' mode + + + SPIED_MAILBOX + Mailbox under supervision + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..fd52b01 --- /dev/null +++ b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configure External Mailbox Retrieval + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Enable Fetchmail + + + SERVICE_0 + Fetchmail is Disabled + + + BUTTON_LABEL_SERVICE_1 + Disable Fetchmail + + + SERVICE_1 + Fetchmail is Enabled + + + BUTTON_LABEL_ROUTING_0 + Enable External POP and IMAP server access + + + ROUTING_0 + Workstations on the internal LAN cannot access external POP and IMAP servers + + + BUTTON_LABEL_ROUTING_1 + Disable External POP and IMAP server access + + + ROUTING_1 + Workstations on the internal LAN can access external POP and IMAP servers + + + BUTTON_LABEL_ROUTINGSMTP_0 + Enable External SMTP server access + + + ROUTINGSMTP_0 + Workstations on the internal LAN cannot access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTP_1 + Disable External SMTP server access + + + ROUTINGSMTP_1 + Workstations on the internal LAN can access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Force SMTP connections through the SME Proxy + + + ROUTINGSMTPPROXY_0 + Workstations on the internal LAN have direct access to external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Allow direct SMTP connections + + + ROUTINGSMTPPROXY_1 + SMTP connections from LAN to Internet are proxyed by the SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Enable external news server access + + + ROUTINGNNTP_0 + Workstations on the internal LAN cannot access external News servers + + + BUTTON_LABEL_ROUTINGNNTP_1 + Disable external news server access + + + ROUTINGNNTP_1 + Workstations on the internal LAN can access external News servers + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + There are currently no users defined on this system. + + + SET_GENERAL_TITLE + Set general mail retrieval rules + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + User Account + + + LABEL_COPY_TO + Mail copy to + + + LABEL_GHOST + Is it a 'ghost' account (only used to redistribute mails) ? + + + LABEL_DEBUG + Do you want to debug this account (fetchmail actions are logged in /var/log/maillog) ? + + + LABEL_SPY + Do you want this account be monitored by the 'admin' account ? + + + LABEL_MAIL_RETRIEVE + What do you want to do with E-Mails on external servers ? + + + KEEP_NO + Retrieve all mails + + + KEEP_YES + Read mails and leave them on the servers + + + KEEP_NEW + Retrieve new mails only + + + LABEL_MAIL_FORWARD + Do you want to forward theses mails ? + + + FORWARD_GET + Retrieve only for this account + + + FORWARD_COPY + Retrieve for this account and forward to another mailbox + + + FORWARD_FORWARD + Forward all mails to another mailbox only + + + LABEL_FORWARD_MAIL + Email address(es) to forward mails to ( format : xxx@yyy.zz ) To set more than one external address, just separate them with a colon ':' + + + SET_ACCOUNTS_TITLE + Set external mail access informations + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Name or IP Address of the external mail server + + + LABEL_MAIL_TYPE + Protocol to use when reading mails + + + LABEL_MAIL_ACCOUNT + The user account name on the mail server + + + LABEL_MAIL_PASSWORD + The user account password on the mail server + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validate Account + + + MAIL_SERVER + Mail Server + + + MAIL_TYPE + Mail Access Type + + + MAIL_ACCOUNT + Server Mailbox Account + + + MAIL_PASSWORD + Server Mailbox Password + + + MAIL_OPTIONS + Grunner til feil + + + fetchmail + Mail retrieval + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Your changes to the Fetchmail configuration have been saved successfully. + + + ERROR_WHILE_CHANGING_CONF + Unable to apply the Fetchmail configuration changes. + + + SUCCESSFULLY_MODIFIED_ROUTING + Your change to the access of external POP3 and IMAP4 servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTING + Unable to apply the changes to the configuration of IMAP and POP3 access. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Your change to the access of external SMTP servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Unable to apply the changes to the configuration of SMTP access. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Your changes to the access to external News servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Unable to apply the changes to the configuration of NNTP access. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Your changes to the SME SMTP Proxy configuration has been saved successfully. + + + PREVIOUS + Forrige + + + VALIDATE + Validate Changes ! + + + ERR_NO_FETCHMAIL_RECORD + Cannot retrieve fetchmail record from the configuration database. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Cannot retrieve smtpfront-qmail record from the configuration database. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + ENABLED + + + STATUS_0 + DISABLED + + + NB_EXT_BOX + External Mailbox + + + GHOST_ACCOUNT + Ghost account + + + DEBUG_MAILBOX + Mailbox in 'debug' mode + + + SPIED_MAILBOX + Mailbox under supervision + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..1bbbaf7 --- /dev/null +++ b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configureer externe postbus ophaling + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Fetchmail aanzetten + + + SERVICE_0 + Fetchmail staat uit + + + BUTTON_LABEL_SERVICE_1 + Fetchmail Uitzetten + + + SERVICE_1 + Fetchmail staat Aan + + + BUTTON_LABEL_ROUTING_0 + Externe POP en IMAP server toegang aanzetten + + + ROUTING_0 + Werkstations op het interne LAN hebben geen toegang tot externe POP en IMAP servers + + + BUTTON_LABEL_ROUTING_1 + Externe POP en IMAP server toegang uitzetten + + + ROUTING_1 + Werkstations op het interne LAN hebben toegang tot externe POP en IMAP servers + + + BUTTON_LABEL_ROUTINGSMTP_0 + Externe SMTP server toegang aanzetten + + + ROUTINGSMTP_0 + Werkstations op het interne LAN hebben geen toegang tot externe SMTP servers + + + BUTTON_LABEL_ROUTINGSMTP_1 + Externe SMTP server toegang uitzetten + + + ROUTINGSMTP_1 + Werkstations op het interne LAN hebben toegang tot externe SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Forceer SMTP verbindingen via the SME proxy + + + ROUTINGSMTPPROXY_0 + Werkstations op het interne LAN hebben rechtstreekse toegang tot externe SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Directe SMTP verbindingen toestaan + + + ROUTINGSMTPPROXY_1 + SMTP verbindingen van LAN naar Internet worden ge-proxied door de SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Toegang tot externe nieuws servers aanzetten + + + ROUTINGNNTP_0 + Werkstations op het interne LAN hebben geen toegang tot externe nieuws servers + + + BUTTON_LABEL_ROUTINGNNTP_1 + Toegang tot externe nieuws servers uitzetten + + + ROUTINGNNTP_1 + Werkstations op het interne LAN hebben toegang tot externe nieuws servers + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + Er zijn op dit moment geen gebruikers gedefinieerd op dit systeem. + + + SET_GENERAL_TITLE + Zet algemene regels voor het ophalen van post + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + Gebruikersaccount + + + LABEL_COPY_TO + Post kopiëren naar + + + LABEL_GHOST + Is dit een 'geest' account (die alleen gebruikt wordt om post te her-distributeren)? + + + LABEL_DEBUG + Wilt u fouten opsporen in dit account (fetchmail acties worden opgeslagen in /var/log/maillog) ? + + + LABEL_SPY + Wilt u dit account laten monitoren door het 'admin' account ? + + + LABEL_MAIL_RETRIEVE + Wat wilt u doen met berichten op externe servers ? + + + KEEP_NO + All post ophalen + + + KEEP_YES + Lees post en laat het op de server + + + KEEP_NEW + Alleen nieuwe post ophalen + + + LABEL_MAIL_FORWARD + Wilt u deze post doorsturen? + + + FORWARD_GET + Alleen voor deze account ophalen + + + FORWARD_COPY + Voor deze account ophalen en doorsturen naar een andere postbus + + + FORWARD_FORWARD + Alleen doorsturen naar een andere postbus + + + LABEL_FORWARD_MAIL + E-mail adres(en) voor het doorsturen van post ( formaat : xxx@yyy.zz ) Om meer dan één extern adres in te stellen dient u ze te scheiden met een dubbele punt ':' + + + SET_ACCOUNTS_TITLE + Externe post toegangsinformatie instellingen + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Naam of IP adres van de externe mail server + + + LABEL_MAIL_TYPE + Te gebruiken protocol voor lezen van post + + + LABEL_MAIL_ACCOUNT + De gebruiker accountnaam op de mail server + + + LABEL_MAIL_PASSWORD + Het gebruikersaccount wachtwoord op de mail server + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimenteel) + + + SIMAP + SSL Imap (Experimenteel) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Account valideren + + + MAIL_SERVER + Mail Server + + + MAIL_TYPE + Post Toegangs Type + + + MAIL_ACCOUNT + Server postbusaccount + + + MAIL_PASSWORD + Server postbuswachtwoord + + + MAIL_OPTIONS + Reden voor mislukken + + + fetchmail + Post ophalen + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Uw verandering aan de Fetchmail configuratie zijn met succes opgeslagen. + + + ERROR_WHILE_CHANGING_CONF + Aanpassen van de Fetchmail configuratie was niet mogelijk. + + + SUCCESSFULLY_MODIFIED_ROUTING + Uw veranderingen voor het toegankelijk maken van externe POP3 en IMAP4 servers vanuit het interne netwerk zijn met succes opgeslagen. + + + ERROR_WHILE_MODIFYING_ROUTING + Aanpassen van de configuratie veranderingen voor IMAP an POP3 toegang was niet mogelijk. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Uw aanpassingen op de toegang tot externe SMTP servers vanuit het interne netwerk zijn met succes opgeslagen. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Aanpassen van de configuratie verandering voor SMTP toegang was niet mogelijk. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Uw aanpassingen op de toegang tot externe nieuws servers vanuit het interne netwerk zijn met succes opgeslagen. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Aanpassen van de configuratie veranderingen voor NNTP toegang was niet mogelijk. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Uw aanpassingen aan de SME SMTP Proxy configuratie zijn met succes opgeslagen. + + + PREVIOUS + Vorige + + + VALIDATE + Controleer veranderingen ! + + + ERR_NO_FETCHMAIL_RECORD + Kon geen fetchmail record lezen van de configuratiedatabank. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Kon geen smtpfront-qmail record lezen van de configuratiedatabank. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + AAN + + + STATUS_0 + UIT + + + NB_EXT_BOX + Externe postbus + + + GHOST_ACCOUNT + Geest account + + + DEBUG_MAILBOX + Postbus in 'debug' stand + + + SPIED_MAILBOX + Postbus onder supervisie + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..ef57770 --- /dev/null +++ b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configure External Mailbox Retrieval + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Enable Fetchmail + + + SERVICE_0 + Fetchmail is Disabled + + + BUTTON_LABEL_SERVICE_1 + Disable Fetchmail + + + SERVICE_1 + Fetchmail is Enabled + + + BUTTON_LABEL_ROUTING_0 + Enable External POP and IMAP server access + + + ROUTING_0 + Workstations on the internal LAN cannot access external POP and IMAP servers + + + BUTTON_LABEL_ROUTING_1 + Disable External POP and IMAP server access + + + ROUTING_1 + Workstations on the internal LAN can access external POP and IMAP servers + + + BUTTON_LABEL_ROUTINGSMTP_0 + Enable External SMTP server access + + + ROUTINGSMTP_0 + Workstations on the internal LAN cannot access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTP_1 + Disable External SMTP server access + + + ROUTINGSMTP_1 + Workstations on the internal LAN can access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Force SMTP connections through the SME Proxy + + + ROUTINGSMTPPROXY_0 + Workstations on the internal LAN have direct access to external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Allow direct SMTP connections + + + ROUTINGSMTPPROXY_1 + SMTP connections from LAN to Internet are proxyed by the SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Enable external news server access + + + ROUTINGNNTP_0 + Workstations on the internal LAN cannot access external News servers + + + BUTTON_LABEL_ROUTINGNNTP_1 + Disable external news server access + + + ROUTINGNNTP_1 + Workstations on the internal LAN can access external News servers + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + There are currently no users defined on this system. + + + SET_GENERAL_TITLE + Set general mail retrieval rules + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + User Account + + + LABEL_COPY_TO + Mail copy to + + + LABEL_GHOST + Is it a 'ghost' account (only used to redistribute mails) ? + + + LABEL_DEBUG + Do you want to debug this account (fetchmail actions are logged in /var/log/maillog) ? + + + LABEL_SPY + Do you want this account be monitored by the 'admin' account ? + + + LABEL_MAIL_RETRIEVE + What do you want to do with E-Mails on external servers ? + + + KEEP_NO + Retrieve all mails + + + KEEP_YES + Read mails and leave them on the servers + + + KEEP_NEW + Retrieve new mails only + + + LABEL_MAIL_FORWARD + Do you want to forward theses mails ? + + + FORWARD_GET + Retrieve only for this account + + + FORWARD_COPY + Retrieve for this account and forward to another mailbox + + + FORWARD_FORWARD + Forward all mails to another mailbox only + + + LABEL_FORWARD_MAIL + Email address(es) to forward mails to ( format : xxx@yyy.zz ) To set more than one external address, just separate them with a colon ':' + + + SET_ACCOUNTS_TITLE + Set external mail access informations + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Name or IP Address of the external mail server + + + LABEL_MAIL_TYPE + Protocol to use when reading mails + + + LABEL_MAIL_ACCOUNT + The user account name on the mail server + + + LABEL_MAIL_PASSWORD + The user account password on the mail server + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validate Account + + + MAIL_SERVER + Mail Server + + + MAIL_TYPE + Mail Access Type + + + MAIL_ACCOUNT + Server Mailbox Account + + + MAIL_PASSWORD + Server Mailbox Password + + + MAIL_OPTIONS + 'Raw' options for fetchmail + + + fetchmail + Mail retrieval + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Your changes to the Fetchmail configuration have been saved successfully. + + + ERROR_WHILE_CHANGING_CONF + Unable to apply the Fetchmail configuration changes. + + + SUCCESSFULLY_MODIFIED_ROUTING + Your change to the access of external POP3 and IMAP4 servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTING + Unable to apply the changes to the configuration of IMAP and POP3 access. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Your change to the access of external SMTP servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Unable to apply the changes to the configuration of SMTP access. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Your changes to the access to external News servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Unable to apply the changes to the configuration of NNTP access. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Your changes to the SME SMTP Proxy configuration has been saved successfully. + + + PREVIOUS + Poprzednia + + + VALIDATE + Validate Changes ! + + + ERR_NO_FETCHMAIL_RECORD + Cannot retrieve fetchmail record from the configuration database. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Cannot retrieve smtpfront-qmail record from the configuration database. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + ENABLED + + + STATUS_0 + DISABLED + + + NB_EXT_BOX + External Mailbox + + + GHOST_ACCOUNT + Ghost account + + + DEBUG_MAILBOX + Mailbox in 'debug' mode + + + SPIED_MAILBOX + Mailbox under supervision + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..1288233 --- /dev/null +++ b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configurar Busca de Caixa Postal Externa + + + FIRST_PAGE_DESCRIPTION + Este painel permite a configuração de busca em caixas postais externas. O que isso significa?
Alguns de seus usuário podem ter outras contas de e-mail externas. Normalmente os clientes de e-mail em cada micro tem que ser configurados para fazer download destas contas e também da conta no servidor SME. Usando este painel de controle, o servidor SME pode ser configurado para buscar as mensagens nestas caixas externa e então enviá-las automaticamente para as caixas internas. Isto faz a configuração dos clientes de e-mail nos micros locais muito simples.
Usando este método de busca de e-mails (e assumindo que os micros da rede local estarão usando IMAP) significará que todos e-mail terão backup como parte do processo normal de backup que ocorrerá no servidor..
Outras funções disponível através deste painel são:
- Uma caixa postal pode ser distribuida para muitas caixas postais
- Você pode criar uma 'Conta fantasma': e-mail enviados para esta conta serão distribuidos para outras caixas-postais.
- logging de eventos para caixas-postais.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Habilitar Fetchmail + + + SERVICE_0 + Fetchmail está desabilitado + + + BUTTON_LABEL_SERVICE_1 + Desabilitar Fetchmail + + + SERVICE_1 + Fetchmail está Habilitado + + + BUTTON_LABEL_ROUTING_0 + Habilitar acesso a servidores POP e IMAP externos + + + ROUTING_0 + Estações na rede interna não podem acessar servidores POP e IMAP externos + + + BUTTON_LABEL_ROUTING_1 + Desabilitar acesso a servidores POP e IMAP externos + + + ROUTING_1 + Estações na rede interna podem acessar servidores POP e IMAP externos + + + BUTTON_LABEL_ROUTINGSMTP_0 + Habilitar acesso a servidores POP e IMAP externos + + + ROUTINGSMTP_0 + Estações na rede interna não podem acessar servidores SMTP externos + + + BUTTON_LABEL_ROUTINGSMTP_1 + Desabilitar acesso a servidores SMTP externos + + + ROUTINGSMTP_1 + Estações na LAN podem acessar servidores SMTP externos + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Forçar conexões SMTP através do Proxy do SME + + + ROUTINGSMTPPROXY_0 + Estações na rede interna tem acesso direto a servidores SMTP externos + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Permite conexões SMTP diretas + + + ROUTINGSMTPPROXY_1 + Conexões SMTP a partir da rede interna para a internet passam pelo proxy do servidor SME + + + BUTTON_LABEL_ROUTINGNNTP_0 + Habilitar acesso a servidores de news externos + + + ROUTINGNNTP_0 + Estações da rede interna não podem acessar servidores de News externos + + + BUTTON_LABEL_ROUTINGNNTP_1 + Desabilitar acesso servidor de news externo + + + ROUTINGNNTP_1 + Estações da rede interna podem acessar servidores de news externos + + + SHOW_FETCHMAIL_USERS + + + + NO_USER_ACCOUNTS + Atualmente não há usuários definidos neste sistema. + + + SET_GENERAL_TITLE + Definir regras gerais de busca de e-mail. + + + SET_GENERAL_PAGE_DESCRIPTION + Selecione a informação geral para as contas do fetchmail.
As caixas postais específicas para busca serão definidas nas próximas telas.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + E-mails podem ser entregues para outras contas locais. Este modo será selecionado se você marcar uma ou mais caixas no gráfico abaixo.
E-mails podem ser entregues para uma caixa postal externa. Este modo é selecionado se um e-mail é definido no campo 'Endereço de e-mail para encaminhar mensagens' .
Você deve definir ao menos um tipo de destinatário. ]]>
+
+ + LABEL_USER_ACCOUNT + Conta do Usuário + + + LABEL_COPY_TO + Copiar e-mail para + + + LABEL_GHOST + Esta é uma 'conta fantasma' (usada somente para redistribuir e-mails) ? + + + LABEL_DEBUG + Você deseja ativar o debug para esta conta (ações do fetchmail serão logadas no arquivo /var/log/maillog) ? + + + LABEL_SPY + Você deseja que esta conta seja monitorada pela conta 'admin' ? + + + LABEL_MAIL_RETRIEVE + O que você deseja fazer com os e-mails que estão nos servidores externos ? + + + KEEP_NO + Buscar todos e-mails + + + KEEP_YES + Ler os e-mail e deixá-los nos servidores + + + KEEP_NEW + Buscar apenas os e-mails novos + + + LABEL_MAIL_FORWARD + Você deseja encaminhar estes e-mails ? + + + FORWARD_GET + Buscar somente para esta conta + + + FORWARD_COPY + Buscar para esta conta e encaminhar para outra conta de e-mails + + + FORWARD_FORWARD + Apenas encaminhar todos e-mails para outra conta de e-mails. + + + LABEL_FORWARD_MAIL + Endereço(s) de e-mail para encaminhar os e-mails (o formato é xxx@yyy.zz). Para definir mais de um endereço externo, apenas separe-os com o sinal de dois pontos ':' + + + SET_ACCOUNTS_TITLE + Definir informações de acesso ao e-mail externo + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Aqui você define as informações necessárias para acessar as caixas postais externas: Nome do servidor armazenando a caixa postal, tipo de servidor de e-mail, nome da conta e sua senha.

]]>
+
+ + LABEL_MAIL_SERVER + Nome ou endereço IP do servidor de e-mail externo + + + LABEL_MAIL_TYPE + Protocolo para usar quando lendo e-mails + + + LABEL_MAIL_ACCOUNT + A conta de usuário no servidor de e-mail + + + LABEL_MAIL_PASSWORD + A senha do usuário no servidor de e-mail + + + LABEL_MAIL_OPTIONS + Opções que você pode passar diretamente ao fetchmail. Atenção: estas opções não são verificadas, então se você não sabe o que isso é, você provavelmente deveria deixar esse campo em branco! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + Esta é a lista de caixas postais externas já configuradas para este usuário

]]>
+
+ + ERR_BADSERVER + Um nome de servidor válido contém entre duas e cinco partes separadas por pontos '.'
Para todas as partes exceto a última, os caracteres permitidos são letras, números e o hifen '-'. As partes podem ser de qualquer tamanho.
Para a última parte (também chamada de TLD), somente letras são permitidas e a parte deve conter entre dois e sete caracteres.
Um endereço IP válido é feito de quatro números decimais inteiros, cada um entre 0 e 255. Os quatro números são organizados juntos, separando-os com um ponto '.' ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validar Conta + + + MAIL_SERVER + Servidor de e-mail + + + MAIL_TYPE + Tipo de acesso ao e-mail + + + MAIL_ACCOUNT + Usuário da caixa postal no servidor + + + MAIL_PASSWORD + Senha da caixa postal no servidor + + + MAIL_OPTIONS + opções 'Raw' para o fetchmail + + + fetchmail + Busca de e-mail + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Suas alterações na configuração do Fetchmail foram salvas com sucesso. + + + ERROR_WHILE_CHANGING_CONF + Incapaz de aplicar as mudanças na configuração do Fetchmail. + + + SUCCESSFULLY_MODIFIED_ROUTING + Suas alterações no acesso externo a servidores POP3 e IMAP4 a partir da rede interna foram salvas com sucesso. + + + ERROR_WHILE_MODIFYING_ROUTING + Incapaz de aplicar as mudanças de configuração no acesso POP3 e IMAP4. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Suas alterações do acesso a servidores SMTP externos a partir da rede interna foi salva com sucesso. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Incapaz de aplicar as mudanças na configuração do acesso SMTP. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Suas alterações do acesso a servidores NEWS externos a partir da rede interna foi salva com sucesso. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Incapaz de aplicar as mudanças na configuração do acesso NNTP. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Suas alterações para a configuração de Proxy SMTP do SME foram salvas com sucesso. + + + PREVIOUS + Anterior + + + VALIDATE + Validar Mudanças ! + + + ERR_NO_FETCHMAIL_RECORD + Não consigo buscar registro fetchmail do banco de dados de configurações. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Não consigo buscar registro smtpfront-qmail do banco de dados de configurações. + + + ERR_BADMAIL + Você pode definir mais do que uma caixa postal externa. Neste caso, apenas separe os endereços de e-mail usando o símbolo ':' ]]> + + + STATUS_1 + HABILITADO + + + STATUS_0 + DESABILITADO + + + NB_EXT_BOX + Caixa Postal Externa + + + GHOST_ACCOUNT + Conta fantasma + + + DEBUG_MAILBOX + Caixa Postal em modo 'debug' + + + SPIED_MAILBOX + Caixa Postal sob supervisão + + + SHOW_SCHEDULE_INFOS +

Informação de programação

A busca do e-mail é feita em intervalos regulares. As regras para programação são as mesmas regras definidas no painel 'E-Mails'.
Se você gostaria de mudar a programação simplesmente a mude no painel de e-mail .
NOTA! : Se você não usa ETRN ou Multi-Drop, você não pode mudar a programação!
Para contornar essa limitação, faça o seguinte:
- Selecione ETRN e mude a nova programação e escolha 'Salvar'.
- Depois selecione 'SMTP Padrão' e salve-a novamente. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..3662a88 --- /dev/null +++ b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configurar Busca de Caixa Postal Externa + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Habilitar Fetchmail + + + SERVICE_0 + Fetchmail está desabilitado + + + BUTTON_LABEL_SERVICE_1 + Desabilitar Fetchmail + + + SERVICE_1 + Fetchmail está Habilitado + + + BUTTON_LABEL_ROUTING_0 + Habilitar acesso a servidores POP e IMAP externos + + + ROUTING_0 + Estações na rede interna não podem acessar servidores POP e IMAP externos + + + BUTTON_LABEL_ROUTING_1 + Desabilitar acesso a servidores POP e IMAP externos + + + ROUTING_1 + Estações na rede interna podem acessar servidores POP e IMAP externos + + + BUTTON_LABEL_ROUTINGSMTP_0 + Habilitar acesso a servidores POP e IMAP externos + + + ROUTINGSMTP_0 + Estações na rede interna não podem acessar servidores SMTP externos + + + BUTTON_LABEL_ROUTINGSMTP_1 + Desabilitar acesso a servidores SMTP externos + + + ROUTINGSMTP_1 + Estações na rede interna podem acessar servidores SMTP externos + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Forçar conexões SMTP através do Proxy do SME + + + ROUTINGSMTPPROXY_0 + Estações na rede interna tem acesso direto a servidores SMTP externos + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Permite conexões SMTP diretas + + + ROUTINGSMTPPROXY_1 + Conexões SMTP a partir da rede interna para a internet passam pelo proxy do servidor SME + + + BUTTON_LABEL_ROUTINGNNTP_0 + Habilitar acesso a servidores de news externos + + + ROUTINGNNTP_0 + Estações da rede interna não podem acessar servidores de News externos + + + BUTTON_LABEL_ROUTINGNNTP_1 + Desabilitar acesso servidor de news externo + + + ROUTINGNNTP_1 + Estações da rede interna podem acessar servidores de news externos + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + Atualmente não há usuários definidos neste sistema. + + + SET_GENERAL_TITLE + Definir regras gerais de busca de e-mail. + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + Conta do Usuário + + + LABEL_COPY_TO + Copiar e-mail para + + + LABEL_GHOST + Esta é uma 'conta fantasma' (usada somente para redistribuir e-mails) ? + + + LABEL_DEBUG + Você deseja ativar o debug para esta conta (ações do fetchmail serão logadas no arquivo /var/log/maillog) ? + + + LABEL_SPY + Você deseja que esta conta seja monitorada pela conta 'admin' ? + + + LABEL_MAIL_RETRIEVE + O que você deseja fazer com os e-mails que estão nos servidores externos ? + + + KEEP_NO + Buscar todos e-mails + + + KEEP_YES + Ler os e-mail e deixá-los nos servidores + + + KEEP_NEW + Buscar apenas os e-mails novos + + + LABEL_MAIL_FORWARD + Você deseja encaminhar estes e-mails ? + + + FORWARD_GET + Buscar somente para esta conta + + + FORWARD_COPY + Buscar para esta conta e encaminhar para outra conta de e-mails + + + FORWARD_FORWARD + Apenas encaminhar todos e-mails para outra conta de e-mails. + + + LABEL_FORWARD_MAIL + Endereço(s) de e-mail para encaminhar os e-mails (o formato é xxx@yyy.zz). Para definir mais de um endereço externo, apenas separe-os com o sinal de dois pontos ':' + + + SET_ACCOUNTS_TITLE + Definir informações de acesso ao e-mail externo + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Nome ou endereço IP do servidor de e-mail externo + + + LABEL_MAIL_TYPE + Protocolo para usar quando lendo e-mails + + + LABEL_MAIL_ACCOUNT + A conta de usuário no servidor de e-mail + + + LABEL_MAIL_PASSWORD + A senha do usuário no servidor de e-mail + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validar Conta + + + MAIL_SERVER + Servidor de e-mail + + + MAIL_TYPE + Tipo de acesso ao e-mail + + + MAIL_ACCOUNT + Usuário da caixa postal no servidor + + + MAIL_PASSWORD + Senha da caixa postal no servidor + + + MAIL_OPTIONS + Razões pela falha + + + fetchmail + Busca de e-mail + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Suas alterações na configuração do Fetchmail foram salvas com sucesso. + + + ERROR_WHILE_CHANGING_CONF + Incapaz de aplicar as mudanças na configuração do Fetchmail. + + + SUCCESSFULLY_MODIFIED_ROUTING + Suas alterações no acesso externo a servidores POP3 e IMAP4 a partir da rede interna foram salvas com sucesso. + + + ERROR_WHILE_MODIFYING_ROUTING + Incapaz de aplicar as mudanças de configuração no acesso POP3 e IMAP4. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Suas alterações do acesso a servidores SMTP externos a partir da rede interna foi salva com sucesso. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Incapaz de aplicar as mudanças na configuração do acesso SMTP. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Suas alterações do acesso a servidores NEWS externos a partir da rede interna foi salva com sucesso. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Incapaz de aplicar as mudanças na configuração do acesso NNTP. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Suas alterações para a configuração de Proxy SMTP do SME foram salvas com sucesso. + + + PREVIOUS + Anterior + + + VALIDATE + Validar Mudanças ! + + + ERR_NO_FETCHMAIL_RECORD + Não consigo buscar registro fetchmail do banco de dados de configurações. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Não consigo buscar registro smtpfront-qmail do banco de dados de configurações. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + HABILITADO + + + STATUS_0 + DESABILITADO + + + NB_EXT_BOX + Caixa Postal Externa + + + GHOST_ACCOUNT + Conta fantasma + + + DEBUG_MAILBOX + Caixa Postal em modo 'debug' + + + SPIED_MAILBOX + Caixa Postal sob supervisão + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..c25029b --- /dev/null +++ b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configurați importul de Mailuri externe + + + FIRST_PAGE_DESCRIPTION + Acest panou configurează importul de mailuri externe de către serverul SME Ce înseamnă aceasta?
Unii din utilizatorii serverului pot avea si conturi externe. De obicei, clientii de mail de la fiecare utilizator trebuei configurat să preia aceste mailuri externe. Utilizând acest panou de control, serverul SME poate fi configurat să preia mailurile din conturile externe direct în contul local al utilizatorului. Aceasta înlesnțte configurarea clienților locali.
Utilizând această metodă de import (și presupunând ca clienții de mail sunt setați in mod IMAP) înseaamnă ca mailurile vor fi salvate ca parte integrantă a salvărilor curente.
Alte funcționalități disponibile prin acest panou:
- O adresă poate fi redistribuită mai multor adrese
- Puteți crea 'Cont Fantomă' : Mailurile destinate acetui cont vor fi redistribuite altor conturi.
- rapoare pentru evenimetele casutelor de mail.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Activați import de mesaje + + + SERVICE_0 + Importul de mailuri este dezactivat + + + BUTTON_LABEL_SERVICE_1 + Dezactivați import mailuri + + + SERVICE_1 + Importul de mailuri este dezactivat + + + BUTTON_LABEL_ROUTING_0 + Activați acces la POP și IMAP extern + + + ROUTING_0 + Stațiile de lucru din LAN nu pot accesa servere POP și IMAP externe + + + BUTTON_LABEL_ROUTING_1 + Dezactivați acces la serverul POP și IMAP din exterior + + + ROUTING_1 + Stațiile de lucru din LAN pot accesa servere POP și IMAP externe + + + BUTTON_LABEL_ROUTINGSMTP_0 + Activati accesul la serverul SMTP din exterior + + + ROUTINGSMTP_0 + Stațiile de lucru din LAN nu pot accesa servere SMTP externe + + + BUTTON_LABEL_ROUTINGSMTP_1 + Dezactivati accesul la serverul SMTP din exterior + + + ROUTINGSMTP_1 + Stațiile de lucru din LAN pot accesa servere SMTP externe + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Forțați conexiunile SMTP prin proxy-ul SME + + + ROUTINGSMTPPROXY_0 + Stațiile de lucru din LAN au acces direct la servere externe SMTP + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Permiteți conexiuni directe SMTP + + + ROUTINGSMTPPROXY_1 + Conexiunile SMTP din LAN sunt fortate prin SME Proxy de pe server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Activați accesul la servere de știri externe + + + ROUTINGNNTP_0 + Stațiile de lucru din LAN nu pot accesa servere de știri externe + + + BUTTON_LABEL_ROUTINGNNTP_1 + Dezactivați accesul extern la serverul de știri + + + ROUTINGNNTP_1 + Stațiile de lucru din rețeaua internă pot accesa servere de știri externe + + + SHOW_FETCHMAIL_USERS + Aici puteți crea, modifica sau șterge regulile de fetchmail ale oricarui utilizator. ]]> + + + NO_USER_ACCOUNTS + Deocamdată nu sunt definiți utilizatori în sistem. + + + SET_GENERAL_TITLE + Setări generale de reguli de preluare mail + + + SET_GENERAL_PAGE_DESCRIPTION + Setați informațiile generale pentru conturile de preluare mail extern.
Setările specifice se vor efectua în următoarea pagină.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mailurile pot fi livrate contului actual. Acest mod este selectat in cazul în care alegeți 'NU' pentru 'Ghost Mode'.
Mails pot fi livrate altor conturi locale. Acest mod este selectat când bifați una sau mai multe selecțiuni din opțiunile de mai jos.
Mailurile pot fi livrate unui cont extern. Acest mod este selectat dacă cîmpul "Adresă externă de retransmitere" este completat.
Trebuie setat cel puțin un destinatar. ]]>
+
+ + LABEL_USER_ACCOUNT + Cont utilizator + + + LABEL_COPY_TO + Copiază mailul către + + + LABEL_GHOST + Este un cont 'fantomă' (doar pentu a redistribui mailurile) ? + + + LABEL_DEBUG + Vreți să faciți debug la acest cont (actiunile de fethcmail vor fi notate în /var/log/mailog) ? + + + LABEL_SPY + Doriți ca acest cont să fie monitorizat de contul de 'admin' ? + + + LABEL_MAIL_RETRIEVE + Ce doriți să se înâmple cu E-Mailurile de pe serverele externe ? + + + KEEP_NO + Importă toate mailurile + + + KEEP_YES + Citeste mailurile și lasă-le pe servere + + + KEEP_NEW + Importă numai mailurile noi + + + LABEL_MAIL_FORWARD + Vreți sa retransmiteți aceste mailuri? + + + FORWARD_GET + Importă doar pentru contul acesta + + + FORWARD_COPY + Importă pentru acest cont și retransmite la un alt cont de mail + + + FORWARD_FORWARD + Retransmite toate mailurile la un alt cont de mail + + + LABEL_FORWARD_MAIL + Adresa(e) de mail unde să retransmită ( format xxx@yyy.zz ) Pentru a seta mai multe adrese externe separați-le cu punct și virgulă (;) + + + SET_ACCOUNTS_TITLE + Setați informațiile de acces ale mailului extern + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Aici puteți seta informațiile necesare de acces a contului de mail extern :Numele serverului, tipul servedrului, numele contului, parola contului.

]]>
+
+ + LABEL_MAIL_SERVER + Numele sau IP-ul serverului extern + + + LABEL_MAIL_TYPE + Protocolul utilizat pentru citirea mailurilor + + + LABEL_MAIL_ACCOUNT + Numele contului utilizatorului pe serverul de mail + + + LABEL_MAIL_PASSWORD + Parola utilizatorului pe serverul de mail + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + POP + + + IMAP + IMAP + + + SPOP3 + SSL POP (Experimental) + + + SIMAP + SSL IMAP (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + Aceasta este lista casuțelor de mail deja configurate pentru acest utilizator.

]]>
+
+ + ERR_BADSERVER + Pentru a fi valid, acest câmp trebuie să conțină fie un nume de server valid fie o adresa IP corectă.
Un nume de server conține într două și cinci părți alfanumerice separate prin puncte '.'
Pentru toate parțile mai puțin ultima, caracterele permise sunt litere, sumere și '-'. Părțile pot fi de orice dimensiune.
Pentru ultima parte (denumită tld), sunt eprmise numai litere, iar partea cuprinde între două și șapte caractere.
O adresă IPvalidă este constituită din patru numere intregi fiecare între 0 și 255. cele patru numere sunt unite la un loc, separate de un punct. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validați cont + + + MAIL_SERVER + Server Mail + + + MAIL_TYPE + Tip de acces mail + + + MAIL_ACCOUNT + Cont de mail pe server + + + MAIL_PASSWORD + Parolă căsuță poștală + + + MAIL_OPTIONS + Motivele de eşec + + + fetchmail + Inport mailuri + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Modificările efectuate asupra Importului de mailuri au fost salvate cu succes. + + + ERROR_WHILE_CHANGING_CONF + Imposibil de aplicat modificările pentru importuld e mailuri + + + SUCCESSFULLY_MODIFIED_ROUTING + Modificările accesului la serverele POP3 și IMAP4 din rețeaua internă a fost salvate cu succes. + + + ERROR_WHILE_MODIFYING_ROUTING + Imposibil de aplicat modificările configurației de acces POP3 și IMAP4. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Modificările accesului la serverul exterior SMTP din rețeaua internă s-au salvat cu succes. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Imposibil de aplicat modificările confugurărilor de acces SMTP + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Modificările accesului la serverul exterior de stiri din rețeaua internă s-au salvat cu succes. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Imposibil de aplicat modificările confugurărilor de acces NNTP + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Modificările Proxy-ului SME SMTP s-au salvat cu succes. + + + PREVIOUS + Anterior + + + VALIDATE + Validați modificări! + + + ERR_NO_FETCHMAIL_RECORD + Nu pot prelua setări de import mailuri din baza de date de configurări. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Nu pot prelua inregistrările smtpfront-qmail din baza de configurări. + + + ERR_BADMAIL + O adresă E-Mail validă conține doar literenumere si sublinieri în zona de nume . Pot exista deasemenea '-' și '.' în nume, dar nu la început sau sfârșit. Partea de domeniu (în dreapta semnului @ ) trebuie să conțină litere, numere, și cratimă '-' . Numele de domeniu conține de obicei între 1 și 4 puncte (.) . Ultimul cuvânt (tld-ul) poate conține doar litere și are intre 2 si 7 caractere.
Puteți seta mai mult de o adresă externa. În acest caz, separați-le cu punct și virgulă ':' ]]>
+
+ + STATUS_1 + ACTIV + + + STATUS_0 + DEZACTIVAT + + + NB_EXT_BOX + Adresa mail externă + + + GHOST_ACCOUNT + Cont fantomă + + + DEBUG_MAILBOX + Căsuță mail in mod 'debug' + + + SPIED_MAILBOX + Căsuță mail sub supraveghere + + + SHOW_SCHEDULE_INFOS +

Informații ale programarilor

Importul de E-mailuri se face la intervale regulate. Regulile de programare sunt aceleași ca și regulile setate în panoul 'E-mails'.
Dacă doriți schimbarea programărilor, schimbați-le în panoul E-Mail.
NOTĂ! : Dacă nu folosiți ETRN sau Multi-Drop, nu puteți schimba programarea !
Ca să evitați acest neajuns, procedați astfel :
- Selectați ETRN și setați noua programare apoi 'Salvați'.
- Apoi setați 'Standard (SMTP)' și 'Salvați' din nou. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..d0dd36e --- /dev/null +++ b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configure External Mailbox Retrieval + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Enable Fetchmail + + + SERVICE_0 + Fetchmail is Disabled + + + BUTTON_LABEL_SERVICE_1 + Disable Fetchmail + + + SERVICE_1 + Fetchmail is Enabled + + + BUTTON_LABEL_ROUTING_0 + Enable External POP and IMAP server access + + + ROUTING_0 + Workstations on the internal LAN cannot access external POP and IMAP servers + + + BUTTON_LABEL_ROUTING_1 + Disable External POP and IMAP server access + + + ROUTING_1 + Workstations on the internal LAN can access external POP and IMAP servers + + + BUTTON_LABEL_ROUTINGSMTP_0 + Enable External SMTP server access + + + ROUTINGSMTP_0 + Workstations on the internal LAN cannot access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTP_1 + Disable External SMTP server access + + + ROUTINGSMTP_1 + Workstations on the internal LAN can access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Force SMTP connections through the SME Proxy + + + ROUTINGSMTPPROXY_0 + Workstations on the internal LAN have direct access to external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Allow direct SMTP connections + + + ROUTINGSMTPPROXY_1 + SMTP connections from LAN to Internet are proxyed by the SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Enable external news server access + + + ROUTINGNNTP_0 + Workstations on the internal LAN cannot access external News servers + + + BUTTON_LABEL_ROUTINGNNTP_1 + Disable external news server access + + + ROUTINGNNTP_1 + Workstations on the internal LAN can access external News servers + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + There are currently no users defined on this system. + + + SET_GENERAL_TITLE + Set general mail retrieval rules + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + User Account + + + LABEL_COPY_TO + Mail copy to + + + LABEL_GHOST + Is it a 'ghost' account (only used to redistribute mails) ? + + + LABEL_DEBUG + Do you want to debug this account (fetchmail actions are logged in /var/log/maillog) ? + + + LABEL_SPY + Do you want this account be monitored by the 'admin' account ? + + + LABEL_MAIL_RETRIEVE + What do you want to do with E-Mails on external servers ? + + + KEEP_NO + Retrieve all mails + + + KEEP_YES + Read mails and leave them on the servers + + + KEEP_NEW + Retrieve new mails only + + + LABEL_MAIL_FORWARD + Do you want to forward theses mails ? + + + FORWARD_GET + Retrieve only for this account + + + FORWARD_COPY + Retrieve for this account and forward to another mailbox + + + FORWARD_FORWARD + Forward all mails to another mailbox only + + + LABEL_FORWARD_MAIL + Email address(es) to forward mails to ( format : xxx@yyy.zz ) To set more than one external address, just separate them with a colon ':' + + + SET_ACCOUNTS_TITLE + Set external mail access informations + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Name or IP Address of the external mail server + + + LABEL_MAIL_TYPE + Protocol to use when reading mails + + + LABEL_MAIL_ACCOUNT + The user account name on the mail server + + + LABEL_MAIL_PASSWORD + The user account password on the mail server + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validate Account + + + MAIL_SERVER + Mail Server + + + MAIL_TYPE + Mail Access Type + + + MAIL_ACCOUNT + Server Mailbox Account + + + MAIL_PASSWORD + Server Mailbox Password + + + MAIL_OPTIONS + Причины сбоев + + + fetchmail + Mail retrieval + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Your changes to the Fetchmail configuration have been saved successfully. + + + ERROR_WHILE_CHANGING_CONF + Unable to apply the Fetchmail configuration changes. + + + SUCCESSFULLY_MODIFIED_ROUTING + Your change to the access of external POP3 and IMAP4 servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTING + Unable to apply the changes to the configuration of IMAP and POP3 access. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Your change to the access of external SMTP servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Unable to apply the changes to the configuration of SMTP access. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Your changes to the access to external News servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Unable to apply the changes to the configuration of NNTP access. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Your changes to the SME SMTP Proxy configuration has been saved successfully. + + + PREVIOUS + Предыдущий + + + VALIDATE + Validate Changes ! + + + ERR_NO_FETCHMAIL_RECORD + Cannot retrieve fetchmail record from the configuration database. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Cannot retrieve smtpfront-qmail record from the configuration database. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + ENABLED + + + STATUS_0 + DISABLED + + + NB_EXT_BOX + External Mailbox + + + GHOST_ACCOUNT + Ghost account + + + DEBUG_MAILBOX + Mailbox in 'debug' mode + + + SPIED_MAILBOX + Mailbox under supervision + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..1ecd054 --- /dev/null +++ b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configure External Mailbox Retrieval + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Enable Fetchmail + + + SERVICE_0 + Fetchmail is Disabled + + + BUTTON_LABEL_SERVICE_1 + Disable Fetchmail + + + SERVICE_1 + Fetchmail is Enabled + + + BUTTON_LABEL_ROUTING_0 + Enable External POP and IMAP server access + + + ROUTING_0 + Workstations on the internal LAN cannot access external POP and IMAP servers + + + BUTTON_LABEL_ROUTING_1 + Disable External POP and IMAP server access + + + ROUTING_1 + Workstations on the internal LAN can access external POP and IMAP servers + + + BUTTON_LABEL_ROUTINGSMTP_0 + Enable External SMTP server access + + + ROUTINGSMTP_0 + Workstations on the internal LAN cannot access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTP_1 + Disable External SMTP server access + + + ROUTINGSMTP_1 + Workstations on the internal LAN can access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Force SMTP connections through the SME Proxy + + + ROUTINGSMTPPROXY_0 + Workstations on the internal LAN have direct access to external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Allow direct SMTP connections + + + ROUTINGSMTPPROXY_1 + SMTP connections from LAN to Internet are proxyed by the SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Enable external news server access + + + ROUTINGNNTP_0 + Workstations on the internal LAN cannot access external News servers + + + BUTTON_LABEL_ROUTINGNNTP_1 + Disable external news server access + + + ROUTINGNNTP_1 + Workstations on the internal LAN can access external News servers + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + There are currently no users defined on this system. + + + SET_GENERAL_TITLE + Set general mail retrieval rules + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + User Account + + + LABEL_COPY_TO + Mail copy to + + + LABEL_GHOST + Is it a 'ghost' account (only used to redistribute mails) ? + + + LABEL_DEBUG + Do you want to debug this account (fetchmail actions are logged in /var/log/maillog) ? + + + LABEL_SPY + Do you want this account be monitored by the 'admin' account ? + + + LABEL_MAIL_RETRIEVE + What do you want to do with E-Mails on external servers ? + + + KEEP_NO + Retrieve all mails + + + KEEP_YES + Read mails and leave them on the servers + + + KEEP_NEW + Retrieve new mails only + + + LABEL_MAIL_FORWARD + Do you want to forward theses mails ? + + + FORWARD_GET + Retrieve only for this account + + + FORWARD_COPY + Retrieve for this account and forward to another mailbox + + + FORWARD_FORWARD + Forward all mails to another mailbox only + + + LABEL_FORWARD_MAIL + Email address(es) to forward mails to ( format : xxx@yyy.zz ) To set more than one external address, just separate them with a colon ':' + + + SET_ACCOUNTS_TITLE + Set external mail access informations + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Name or IP Address of the external mail server + + + LABEL_MAIL_TYPE + Protocol to use when reading mails + + + LABEL_MAIL_ACCOUNT + The user account name on the mail server + + + LABEL_MAIL_PASSWORD + The user account password on the mail server + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validate Account + + + MAIL_SERVER + Mail Server + + + MAIL_TYPE + Mail Access Type + + + MAIL_ACCOUNT + Server Mailbox Account + + + MAIL_PASSWORD + Server Mailbox Password + + + MAIL_OPTIONS + Vzrok za napako + + + fetchmail + Mail retrieval + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Your changes to the Fetchmail configuration have been saved successfully. + + + ERROR_WHILE_CHANGING_CONF + Unable to apply the Fetchmail configuration changes. + + + SUCCESSFULLY_MODIFIED_ROUTING + Your change to the access of external POP3 and IMAP4 servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTING + Unable to apply the changes to the configuration of IMAP and POP3 access. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Your change to the access of external SMTP servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Unable to apply the changes to the configuration of SMTP access. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Your changes to the access to external News servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Unable to apply the changes to the configuration of NNTP access. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Your changes to the SME SMTP Proxy configuration has been saved successfully. + + + PREVIOUS + Prejšnji + + + VALIDATE + Validate Changes ! + + + ERR_NO_FETCHMAIL_RECORD + Cannot retrieve fetchmail record from the configuration database. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Cannot retrieve smtpfront-qmail record from the configuration database. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + ENABLED + + + STATUS_0 + DISABLED + + + NB_EXT_BOX + External Mailbox + + + GHOST_ACCOUNT + Ghost account + + + DEBUG_MAILBOX + Mailbox in 'debug' mode + + + SPIED_MAILBOX + Mailbox under supervision + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..00dfc10 --- /dev/null +++ b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Konfigurera hämtning från extern e-postlåda + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Aktivera Fetchmail + + + SERVICE_0 + Fetchmail är avaktiverad + + + BUTTON_LABEL_SERVICE_1 + Avaktivera Fetchmail + + + SERVICE_1 + Fetchmail är aktiverad + + + BUTTON_LABEL_ROUTING_0 + Aktivera åtkomst till extern POP och IMAP-server + + + ROUTING_0 + Arbetsstationer på det interna nätverket kan inte komma åt externa POP och IMAP-servrar + + + BUTTON_LABEL_ROUTING_1 + Avaktivera åtkomst till extern POP och IMAP-server + + + ROUTING_1 + Arbetsstationer på det interna nätverket kan komma åt externa POP och IMAP-servrar + + + BUTTON_LABEL_ROUTINGSMTP_0 + Aktivera åtkomst till extern SMTP-server + + + ROUTINGSMTP_0 + Arbetsstationer på det interna nätverket kan komma åt externa SMTP-servrar + + + BUTTON_LABEL_ROUTINGSMTP_1 + Avaktivera åtkomst till extern SMTP-server + + + ROUTINGSMTP_1 + Arbetsstationer på det interna nätverket kan komma åt externa SMTP-servrar + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Tvinga SMTP-anslutningar genom SME:s Proxy + + + ROUTINGSMTPPROXY_0 + Arbetsstationer på det interna nätverket har direktaccess till externa SMTP-servrar + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Tillåt direkta SMTP-anslutningar + + + ROUTINGSMTPPROXY_1 + SMTP-anslutningar från internt nätverk till Internet går genom proxy på SME-servern + + + BUTTON_LABEL_ROUTINGNNTP_0 + Tillåt åtkomst till extern nyhetsserver + + + ROUTINGNNTP_0 + Arbetsstationer på det interna nätverket har inte åtkomst till externa nyhetsservrar + + + BUTTON_LABEL_ROUTINGNNTP_1 + Avaktivera åtkomst till extern nyhetsserver + + + ROUTINGNNTP_1 + Arbetsstationer på det interna nätveret har åtkomst till externa nyhetsservrar + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + Det finns för närvarande inga användare definierade på detta system. + + + SET_GENERAL_TITLE + Ange generella regler för hämtning av mail + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + Användarkonto + + + LABEL_COPY_TO + Skicka kopia till + + + LABEL_GHOST + Är det ett 'spök'-konto (som endast används för att vidarebefordra e-post) ? + + + LABEL_DEBUG + Vill du felsöka detta konto (fetchmailhändelser loggas i /var/log/maillog) ? + + + LABEL_SPY + Vill du att detta konto skall övervakas av 'admin'-kontot ? + + + LABEL_MAIL_RETRIEVE + Vad vill du göra med e-postmeddelanden på externa servrar ? + + + KEEP_NO + Hämta alla e-postmeddelanden + + + KEEP_YES + Läs e-postmeddelanden och lämna kvar dem på servrarna + + + KEEP_NEW + Hämta endast nya e-postmeddelanden + + + LABEL_MAIL_FORWARD + Vill du vidarebefordra dessa e-postmeddelanden ? + + + FORWARD_GET + Hämta endast för detta kontot + + + FORWARD_COPY + Hämta för detta konto och vidarebefordra till annan e-postlåda + + + FORWARD_FORWARD + Vidarebefordra endast alla e-postmeddelanden till annan e-postlåda + + + LABEL_FORWARD_MAIL + E-postadress(er) som skall vidarebefordras till (format : xxx@yyy.zz ). För att ange mer än en extern adress, separera dem med ett kolon ':' + + + SET_ACCOUNTS_TITLE + Ange åtkomstinformation till det externa e-postkontot + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Namn eller IP-adress på den externa e-postservern + + + LABEL_MAIL_TYPE + Protokoll som skall användas vid läsning av e-postmeddelanden + + + LABEL_MAIL_ACCOUNT + Användarkontot på mailservern + + + LABEL_MAIL_PASSWORD + Lösenordet för kontot på mailservern + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + POP + + + IMAP + Imap + + + SPOP3 + SSL POP (Experimentel) + + + SIMAP + SSL Imap (Experimentel) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validera konto + + + MAIL_SERVER + Mailserver + + + MAIL_TYPE + Åtkomsttyp för e-post + + + MAIL_ACCOUNT + Mailkonto på servern + + + MAIL_PASSWORD + Mailkontots lösenord på servern + + + MAIL_OPTIONS + Skäl vid misslyckande + + + fetchmail + Hämtning av mail + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Dina ändringar av Fetchmails konfiguration har genomförts. + + + ERROR_WHILE_CHANGING_CONF + Kunde inte genomföra ändringarna av Fetchmails konfiguration. + + + SUCCESSFULLY_MODIFIED_ROUTING + Din ändring av åtkomst av externa POP3 och IMAP-servrar från det lokla nätverket har genomförts. + + + ERROR_WHILE_MODIFYING_ROUTING + Kunde inte genomföra ändringarna av konfigurationen för IMAP och POP3 åtkomst. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Din ändring av åtkomst till externa SMTP-servrar från det interna nätverket har genomförts. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Kunde inte genomföra ändringar av konfigurationen för SMTP åtkomst. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Dina ändringar för åtkomst till externa nyhetsservrar från det lokla nätverket har genomförts. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Kunde inte genomföra ändringar av konfigurationen för NNTP åtkomst. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Dina ändringar av konfigurationen för SME SMTP proxyn har genomförts. + + + PREVIOUS + Föregående + + + VALIDATE + Validera ändringar ! + + + ERR_NO_FETCHMAIL_RECORD + Kan inte hämta Fetchmaildata från konfigurationsdatabasen. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Kan inte hämta smtpfront-qmaildata från konfigurationsdatabasen. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + AKTIVERAD + + + STATUS_0 + AVAKTIVERAD + + + NB_EXT_BOX + Extern e-postlåda + + + GHOST_ACCOUNT + Spökkonto + + + DEBUG_MAILBOX + E-postlådan i felsökningsmod + + + SPIED_MAILBOX + E-postlådan under övervakning + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/th/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..1964e26 --- /dev/null +++ b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configure External Mailbox Retrieval + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Enable Fetchmail + + + SERVICE_0 + Fetchmail is Disabled + + + BUTTON_LABEL_SERVICE_1 + Disable Fetchmail + + + SERVICE_1 + Fetchmail is Enabled + + + BUTTON_LABEL_ROUTING_0 + Enable External POP and IMAP server access + + + ROUTING_0 + Workstations on the internal LAN cannot access external POP and IMAP servers + + + BUTTON_LABEL_ROUTING_1 + Disable External POP and IMAP server access + + + ROUTING_1 + Workstations on the internal LAN can access external POP and IMAP servers + + + BUTTON_LABEL_ROUTINGSMTP_0 + Enable External SMTP server access + + + ROUTINGSMTP_0 + Workstations on the internal LAN cannot access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTP_1 + Disable External SMTP server access + + + ROUTINGSMTP_1 + Workstations on the internal LAN can access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Force SMTP connections through the SME Proxy + + + ROUTINGSMTPPROXY_0 + Workstations on the internal LAN have direct access to external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Allow direct SMTP connections + + + ROUTINGSMTPPROXY_1 + SMTP connections from LAN to Internet are proxyed by the SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Enable external news server access + + + ROUTINGNNTP_0 + Workstations on the internal LAN cannot access external News servers + + + BUTTON_LABEL_ROUTINGNNTP_1 + Disable external news server access + + + ROUTINGNNTP_1 + Workstations on the internal LAN can access external News servers + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + There are currently no users defined on this system. + + + SET_GENERAL_TITLE + Set general mail retrieval rules + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + User Account + + + LABEL_COPY_TO + Mail copy to + + + LABEL_GHOST + Is it a 'ghost' account (only used to redistribute mails) ? + + + LABEL_DEBUG + Do you want to debug this account (fetchmail actions are logged in /var/log/maillog) ? + + + LABEL_SPY + Do you want this account be monitored by the 'admin' account ? + + + LABEL_MAIL_RETRIEVE + What do you want to do with E-Mails on external servers ? + + + KEEP_NO + Retrieve all mails + + + KEEP_YES + Read mails and leave them on the servers + + + KEEP_NEW + Retrieve new mails only + + + LABEL_MAIL_FORWARD + Do you want to forward theses mails ? + + + FORWARD_GET + Retrieve only for this account + + + FORWARD_COPY + Retrieve for this account and forward to another mailbox + + + FORWARD_FORWARD + Forward all mails to another mailbox only + + + LABEL_FORWARD_MAIL + Email address(es) to forward mails to ( format : xxx@yyy.zz ) To set more than one external address, just separate them with a colon ':' + + + SET_ACCOUNTS_TITLE + Set external mail access informations + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Name or IP Address of the external mail server + + + LABEL_MAIL_TYPE + Protocol to use when reading mails + + + LABEL_MAIL_ACCOUNT + The user account name on the mail server + + + LABEL_MAIL_PASSWORD + The user account password on the mail server + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validate Account + + + MAIL_SERVER + Mail Server + + + MAIL_TYPE + Mail Access Type + + + MAIL_ACCOUNT + Server Mailbox Account + + + MAIL_PASSWORD + Server Mailbox Password + + + MAIL_OPTIONS + เหตุผลของการล้มเหลว + + + fetchmail + Mail retrieval + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Your changes to the Fetchmail configuration have been saved successfully. + + + ERROR_WHILE_CHANGING_CONF + Unable to apply the Fetchmail configuration changes. + + + SUCCESSFULLY_MODIFIED_ROUTING + Your change to the access of external POP3 and IMAP4 servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTING + Unable to apply the changes to the configuration of IMAP and POP3 access. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Your change to the access of external SMTP servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Unable to apply the changes to the configuration of SMTP access. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Your changes to the access to external News servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Unable to apply the changes to the configuration of NNTP access. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Your changes to the SME SMTP Proxy configuration has been saved successfully. + + + PREVIOUS + Previous + + + VALIDATE + Validate Changes ! + + + ERR_NO_FETCHMAIL_RECORD + Cannot retrieve fetchmail record from the configuration database. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Cannot retrieve smtpfront-qmail record from the configuration database. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + ENABLED + + + STATUS_0 + DISABLED + + + NB_EXT_BOX + External Mailbox + + + GHOST_ACCOUNT + Ghost account + + + DEBUG_MAILBOX + Mailbox in 'debug' mode + + + SPIED_MAILBOX + Mailbox under supervision + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..01a30a7 --- /dev/null +++ b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + Configure External Mailbox Retrieval + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + Enable Fetchmail + + + SERVICE_0 + Fetchmail is Disabled + + + BUTTON_LABEL_SERVICE_1 + Disable Fetchmail + + + SERVICE_1 + Fetchmail is Enabled + + + BUTTON_LABEL_ROUTING_0 + Enable External POP and IMAP server access + + + ROUTING_0 + Workstations on the internal LAN cannot access external POP and IMAP servers + + + BUTTON_LABEL_ROUTING_1 + Disable External POP and IMAP server access + + + ROUTING_1 + Workstations on the internal LAN can access external POP and IMAP servers + + + BUTTON_LABEL_ROUTINGSMTP_0 + Enable External SMTP server access + + + ROUTINGSMTP_0 + Workstations on the internal LAN cannot access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTP_1 + Disable External SMTP server access + + + ROUTINGSMTP_1 + Workstations on the internal LAN can access external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + Force SMTP connections through the SME Proxy + + + ROUTINGSMTPPROXY_0 + Workstations on the internal LAN have direct access to external SMTP servers + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + Allow direct SMTP connections + + + ROUTINGSMTPPROXY_1 + SMTP connections from LAN to Internet are proxyed by the SME server + + + BUTTON_LABEL_ROUTINGNNTP_0 + Enable external news server access + + + ROUTINGNNTP_0 + Workstations on the internal LAN cannot access external News servers + + + BUTTON_LABEL_ROUTINGNNTP_1 + Disable external news server access + + + ROUTINGNNTP_1 + Workstations on the internal LAN can access external News servers + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + There are currently no users defined on this system. + + + SET_GENERAL_TITLE + Set general mail retrieval rules + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + User Account + + + LABEL_COPY_TO + Mail copy to + + + LABEL_GHOST + Is it a 'ghost' account (only used to redistribute mails) ? + + + LABEL_DEBUG + Do you want to debug this account (fetchmail actions are logged in /var/log/maillog) ? + + + LABEL_SPY + Do you want this account be monitored by the 'admin' account ? + + + LABEL_MAIL_RETRIEVE + What do you want to do with E-Mails on external servers ? + + + KEEP_NO + Retrieve all mails + + + KEEP_YES + Read mails and leave them on the servers + + + KEEP_NEW + Retrieve new mails only + + + LABEL_MAIL_FORWARD + Do you want to forward theses mails ? + + + FORWARD_GET + Retrieve only for this account + + + FORWARD_COPY + Retrieve for this account and forward to another mailbox + + + FORWARD_FORWARD + Forward all mails to another mailbox only + + + LABEL_FORWARD_MAIL + Email address(es) to forward mails to ( format : xxx@yyy.zz ) To set more than one external address, just separate them with a colon ':' + + + SET_ACCOUNTS_TITLE + Set external mail access informations + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + Name or IP Address of the external mail server + + + LABEL_MAIL_TYPE + Protocol to use when reading mails + + + LABEL_MAIL_ACCOUNT + The user account name on the mail server + + + LABEL_MAIL_PASSWORD + The user account password on the mail server + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (Experimental) + + + SIMAP + SSL Imap (Experimental) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + Validate Account + + + MAIL_SERVER + Mail Server + + + MAIL_TYPE + Mail Access Type + + + MAIL_ACCOUNT + Server Mailbox Account + + + MAIL_PASSWORD + Server Mailbox Password + + + MAIL_OPTIONS + Başarısız olma nedenleri + + + fetchmail + Mail retrieval + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Your changes to the Fetchmail configuration have been saved successfully. + + + ERROR_WHILE_CHANGING_CONF + Unable to apply the Fetchmail configuration changes. + + + SUCCESSFULLY_MODIFIED_ROUTING + Your change to the access of external POP3 and IMAP4 servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTING + Unable to apply the changes to the configuration of IMAP and POP3 access. + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + Your change to the access of external SMTP servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + Unable to apply the changes to the configuration of SMTP access. + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + Your changes to the access to external News servers from the internal network has been saved successfully. + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + Unable to apply the changes to the configuration of NNTP access. + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + Your changes to the SME SMTP Proxy configuration has been saved successfully. + + + PREVIOUS + Önceki + + + VALIDATE + Validate Changes ! + + + ERR_NO_FETCHMAIL_RECORD + Cannot retrieve fetchmail record from the configuration database. + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + Cannot retrieve smtpfront-qmail record from the configuration database. + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + ENABLED + + + STATUS_0 + DISABLED + + + NB_EXT_BOX + External Mailbox + + + GHOST_ACCOUNT + Ghost account + + + DEBUG_MAILBOX + Mailbox in 'debug' mode + + + SPIED_MAILBOX + Mailbox under supervision + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..a30cfbe --- /dev/null +++ b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + 配置外部邮箱检索 + + + FIRST_PAGE_DESCRIPTION + This panel allows configuration of external mailbox retrieval by your SME Server. What does this mean?
Some of your users may have external mailbox(es). Usually, the email clients on individual workstations have to be configured to fetch mail from these external mailboxes as well as from the normal mailboxes provided by the SME server. Using this control panel, the SME server can be configured to fetch mail from external mailboxes and then automatically forward these mails to internal mail boxes. This makes configuration of the email clients on individual workstations very easy.
Using this method of mail retrieval (and provided that the individual workstations are using IMAP) means that emails are backed up as part of the normal backup process.
Other functions available through this panel are:
- A mailbox can be distributed to many mailboxes
- You can create 'Ghost account' : Mails sent to this account are distributed to other(s) mailbox(es) only.
- logging of events for a mailboxes.
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + 启用 Fetchmail + + + SERVICE_0 + Fetchmail 被禁用 + + + BUTTON_LABEL_SERVICE_1 + 禁用 Fetchmail + + + SERVICE_1 + Fetchmail 已启用 + + + BUTTON_LABEL_ROUTING_0 + 开启外部POP和IMAP服务器访问 + + + ROUTING_0 + 内网的工作站无法访问外部POP和IMAP服务器 + + + BUTTON_LABEL_ROUTING_1 + 禁止访问外部POP和IMAP服务器 + + + ROUTING_1 + 内网的工作站可以访问外部POP和IMAP服务器 + + + BUTTON_LABEL_ROUTINGSMTP_0 + 启用外部SMTP服务器访问 + + + ROUTINGSMTP_0 + 内网工作站无法访问外部SMTP服务器 + + + BUTTON_LABEL_ROUTINGSMTP_1 + 禁止外部SMTP服务器访问 + + + ROUTINGSMTP_1 + 内网工作站可以访问外部SMTP服务器 + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + 强制SMTP连接通过SME代理 + + + ROUTINGSMTPPROXY_0 + 内网工作站可以直接访问外部SMTP服务器 + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + 允许直接进行SMTP连接 + + + ROUTINGSMTPPROXY_1 + 内网至外网的SMTP连接由SME server代理 + + + BUTTON_LABEL_ROUTINGNNTP_0 + 启用外部新闻服务器访问 + + + ROUTINGNNTP_0 + 内网工作站无法访问外部新闻服务器 + + + BUTTON_LABEL_ROUTINGNNTP_1 + 禁止外部新闻服务器访问 + + + ROUTINGNNTP_1 + 本地工作站可以访问新闻服务器 + + + SHOW_FETCHMAIL_USERS + Here you can create, modify, and remove fetchmail rules for any user. ]]> + + + NO_USER_ACCOUNTS + 系统当前没有指定用户。 + + + SET_GENERAL_TITLE + 设置邮件检索规则 + + + SET_GENERAL_PAGE_DESCRIPTION + Select the general information for the fetchmail accounts.
The specific mailboxes to retrieve will be set on the next screens.

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + Mails can be delivered to the local account. This mode is selected if you choose 'NO' for the 'Ghost Mode'.
Mails can be delivered to other local accounts. This mode is selected by checking one or more cases in the chart below.
Mails can be delivered to an external Mailbox. This mode is selected if an E-Mail is set in the 'Email address to forward mail' field.
You must set at least one kind of recipient. ]]>
+
+ + LABEL_USER_ACCOUNT + 用户账户 + + + LABEL_COPY_TO + 邮件抄送到 + + + LABEL_GHOST + 它是一个ghost账户吗 (仅用于重发邮件) ? + + + LABEL_DEBUG + 是否调试这个账户 (fetchmail 行为记录在 /var/log/maillog) ? + + + LABEL_SPY + 这个账户是否被管理员账户admin监视? + + + LABEL_MAIL_RETRIEVE + 您怎么处理外部服务器的邮件? + + + KEEP_NO + 检索所有邮件 + + + KEEP_YES + 读取邮件,并把邮件放在服务器上 + + + KEEP_NEW + 只检索新邮件 + + + LABEL_MAIL_FORWARD + 是否转发这些邮件? + + + FORWARD_GET + 只检索这个账户 + + + FORWARD_COPY + 检索这个账户并转发到另一个邮箱 + + + FORWARD_FORWARD + 转发所有邮件到另一个邮箱箱 + + + LABEL_FORWARD_MAIL + 邮件转发的地址 ( 格式: xxx@yyy.zz ) 。要设置多个地址,请用冒号“:”分隔。 + + + SET_ACCOUNTS_TITLE + 设置外部邮件访问信息 + + + SET_ACCOUNTS_PAGE_DESCRIPTION + Here you can set the information needed to access your external mailboxes : Name of the server storing the mailbox, type of mailbox server, account name, account password.

]]>
+
+ + LABEL_MAIL_SERVER + 外部邮件服务器的名称或IP地址 + + + LABEL_MAIL_TYPE + 读取邮件使用的协议 + + + LABEL_MAIL_ACCOUNT + 邮件服务器上的用户账户 + + + LABEL_MAIL_PASSWORD + 邮件服务器上的用户密码 + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + SSL Pop (实验性的) + + + SIMAP + SSL Imap (实验性的) + + + SHOW_FETCHMAIL_ACCOUNTS + This is the list of external mailboxes already configured for this user.

]]>
+
+ + ERR_BADSERVER + To be valid, this field must contain either a valid server name or a valid IP address.
A valid server name contains between two and 5 parts separated by dots '.'
For all parts but the last, characters allowed are letters, numbers and '-'. The parts can be of any size.
For the last part (also named tld), only letters are allowed, and the part must contain between two and seven characters.
A valid IP address is made with four decimal integers, each between 0 and 255. The four numbers are put together, separated by one dot. ]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + 验证账户 + + + MAIL_SERVER + 邮件服务器 + + + MAIL_TYPE + 邮件传送类型 + + + MAIL_ACCOUNT + 服务器邮箱账户 + + + MAIL_PASSWORD + 服务器邮箱密码 + + + MAIL_OPTIONS + 失败原因 + + + fetchmail + 邮件检索 + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Fetchmail 配置已被保存。 + + + ERROR_WHILE_CHANGING_CONF + 不能应用 Fetchmail 配置的修改。 + + + SUCCESSFULLY_MODIFIED_ROUTING + 从本地网络访问外部POP3和IMAP4服务器的变更已保存。 + + + ERROR_WHILE_MODIFYING_ROUTING + 不能应用IMAP和POP3访问配置的更改。 + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + 从本地网络访问外部SMTP服务器的变更已保存。 + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + 不能应用SMTP访问配置的更改。 + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + 您的变更已被保存。 + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + 无法应用NNTP的访问配置变更。 + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + SME SMTP 代理配置已被保存。 + + + PREVIOUS + 上一步 + + + VALIDATE + 验证变更! + + + ERR_NO_FETCHMAIL_RECORD + 不能从配置数据库中检索fetchmail记录。 + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + 不能从配置数据库检索smtpfront-qmail记录。 + + + ERR_BADMAIL + A valid E-Mail contains only letters, digits and undescores in the name part. There can also be '-' and '.' in the name, but not at begining or end. The domain part (to the right of the @ sign) should only contain upper- and lowercase letters, numbers and the '-' character. The domain name normally contains between 1 and 4 dot (.) characters. The last word (the tld) can only contains letters and it should have a least 2 characters, but not more than 7.
You can set more than one external mailbox. In this case, just separate each e-mail address with a colon ':' ]]>
+
+ + STATUS_1 + 启用 + + + STATUS_0 + 禁用 + + + NB_EXT_BOX + 外部邮箱 + + + GHOST_ACCOUNT + ghost账户 + + + DEBUG_MAILBOX + 邮箱处于调试模式 + + + SPIED_MAILBOX + 邮箱处于监视下 + + + SHOW_SCHEDULE_INFOS +

Scheduling information

E-mail retrieval is done at regular intervals. The scheduling rules are the same as the rules set in the 'E-Mails' panel.
If you want to change the schedule, simply change them in the E-Mail panel.
NOTE! : If you don't use ETRN or Multi-Drop, you cannot change the schedule !
To work around this limitation, do the following :
- Select ETRN and select your new schedule then 'Save'.
- Then select 'Standard (SMTP)' and 'Save' again. ]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/fetchmail b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/fetchmail new file mode 100644 index 0000000..a3d7f3a --- /dev/null +++ b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/fetchmail @@ -0,0 +1,356 @@ + + + FORM_TITLE + 設定外埠郵箱檢索 + + + FIRST_PAGE_DESCRIPTION + 此控制台允許您透過SME伺服器設定外埠郵箱收件。什麼意思呢?
您的有些使用者可能擁有外埠郵箱。通常,這些在個別工作站上的郵件端點必須設定成從外埠郵箱取得郵件,就像從SME伺服器所提供的一般郵箱一樣。使用此控制台,SME伺服器可被設定成從外埠郵箱取得郵件,然後自動轉送這些郵件到內部郵箱。這使得在個別工作站上的郵件端點之設定變得非常簡單。
使用此郵件接收的方式(只要個別工作站亦正使用IMAP)表示郵件被視為一般備份程序的一部份
透過此控制台可獲得的其他功能為:
- 單一郵箱可被配置成很多郵箱
- 您可建立虛無帳號'Ghost account':郵件傳送到此帳號僅可分配到其他郵箱。
- 為郵箱記錄事件。
]]>
+
+ + BUTTON_LABEL_SERVICE_0 + 啟用 Fetchmail + + + SERVICE_0 + Fetchmail 被禁用 + + + BUTTON_LABEL_SERVICE_1 + 禁用Fetchmail + + + SERVICE_1 + 允許Fetchmail + + + BUTTON_LABEL_ROUTING_0 + 允許外埠POP與IMAP伺服器存取 + + + ROUTING_0 + 內部區網工作站無法存取外埠POP與IMAP伺服器 + + + BUTTON_LABEL_ROUTING_1 + 禁止外埠POP與IMAP伺服器存取 + + + ROUTING_1 + 內部區網工作站得以直接存取外埠POP與IMAP伺服器 + + + BUTTON_LABEL_ROUTINGSMTP_0 + 允許外埠SMTP伺服器存取 + + + ROUTINGSMTP_0 + 內部區網工作站無法存取外埠SMTP伺服器 + + + BUTTON_LABEL_ROUTINGSMTP_1 + 禁止外埠SMTP伺服器存取 + + + ROUTINGSMTP_1 + 內部區網工作站得以直接存取外埠SMTP伺服器 + + + BUTTON_LABEL_ROUTINGSMTPPROXY_0 + 強制SMTP連線透過SME Proxy代理伺服器 + + + ROUTINGSMTPPROXY_0 + 內部區網工作站已經直接存取外埠SMTP伺服器 + + + BUTTON_LABEL_ROUTINGSMTPPROXY_1 + 允許直接SMTP連線 + + + ROUTINGSMTPPROXY_1 + 由區網到網際網路的SMTP連線由SME server進行代理連線。 + + + BUTTON_LABEL_ROUTINGNNTP_0 + 允許外埠news伺服器存取 + + + ROUTINGNNTP_0 + 內部區網工作站無法存取外埠news伺服器 + + + BUTTON_LABEL_ROUTINGNNTP_1 + 禁止外部新聞服務器存取 + + + ROUTINGNNTP_1 + 區網內部工作站可以存取新聞服務器 + + + SHOW_FETCHMAIL_USERS + 此處您可以位每位使用者建立,修正,與移除fetchmail的規則。]]> + + + NO_USER_ACCOUNTS + 此系統當下並未定義使用者。 + + + SET_GENERAL_TITLE + 設定通用郵件恢復規則 + + + SET_GENERAL_PAGE_DESCRIPTION + 為fetchmail帳號選擇通用資訊
恢復用的指定mailboxes將於下個畫面設定。

]]>
+
+ + ERROR_NO_FINAL_RECIPIENT + 郵件可被傳送到本地端帳戶。倘若您對'Ghost Mode'選擇'NO',此模式就被選定。
郵件可被傳送到其他本地端帳戶。此模式可透過檢視下方其一或更多圖表中案例而選定。
郵件可被傳送到外埠郵箱。倘若E-Mail被設定於'Email address to forward mail'欄位中,此模式就被選定。
您必須至少選擇一種收件者。]]>
+
+ + LABEL_USER_ACCOUNT + 使用者帳號 + + + LABEL_COPY_TO + 郵件複製到 + + + LABEL_GHOST + 它是一個虛假(ghost)帳號嗎(僅用於重置郵件)? + + + LABEL_DEBUG + 您欲除錯此帳號嗎(fetchmail 的行為被記錄在 /var/log/maillog)? + + + LABEL_SPY + 您欲讓管理者監控此帳號嗎? + + + LABEL_MAIL_RETRIEVE + 您欲如何處理外部郵件? + + + KEEP_NO + 檢索所有郵件 + + + KEEP_YES + 讀取郵件並將其留置於伺服器上 + + + KEEP_NEW + 只檢索新郵件 + + + LABEL_MAIL_FORWARD + 是否轉送這些郵件? + + + FORWARD_GET + 只檢索此帳號 + + + FORWARD_COPY + 檢索此帳號並轉送到另一郵箱 + + + FORWARD_FORWARD + 轉送所有郵件到另一郵箱 + + + LABEL_FORWARD_MAIL + 郵件轉送地址(格式: xxx@yyy.zz)。要設置多個地址,請用冒號「:」分隔。 + + + SET_ACCOUNTS_TITLE + 設置外部郵件存取資訊 + + + SET_ACCOUNTS_PAGE_DESCRIPTION + 此處您可設定所需的資訊來存取您的外埠郵箱:儲存郵箱的伺服器名稱,郵件伺服器類型,帳號名稱,帳號密碼。

]]>
+
+ + LABEL_MAIL_SERVER + 外部郵件伺服器的名稱或IP位址 + + + LABEL_MAIL_TYPE + 讀取郵件時所使用的協定 + + + LABEL_MAIL_ACCOUNT + 郵件伺服器上的使用者帳號 + + + LABEL_MAIL_PASSWORD + 郵件伺服器上的使用者密碼 + + + LABEL_MAIL_OPTIONS + Options you can pass directly to fetchmail. Warning : these options aren't checked, so if you dont know what this is, you should probably let this field blank ! + + + POP3 + Pop + + + IMAP + Imap + + + SPOP3 + 加密 Pop(實驗性) + + + SIMAP + 加密 Pop Imap (實驗性) + + + SHOW_FETCHMAIL_ACCOUNTS + 這是使用者已設置的外部郵箱列表。

]]>
+
+ + ERR_BADSERVER + 此區塊必須包含有效伺服器名稱或有效IP位址。
一個有效的伺服器名稱涵蓋介於由2-5個逗點'.'所區分的部份。
除了最後以外的其他部份,字元可以是字母、數字與'-'。各部位可任意長度。
最後部份(也稱為tld),僅允許字母,而且此部位必須僅涵蓋2-7字元。
一個有效IP位址由四個十進位的整數所組成,每個整數介於0-255。四個數字被放置於一起但由逗點隔開。]]>
+
+ + ERR_BADCHARS + + + + ERR_FIELD_EMPTY + + + + BUTTON_LABEL_VALIDATE_ACCOUNT + 驗證賬號 + + + MAIL_SERVER + 郵件伺服器 + + + MAIL_TYPE + 郵件存取類型 + + + MAIL_ACCOUNT + 伺服器郵箱賬號 + + + MAIL_PASSWORD + 伺服器郵箱密碼 + + + MAIL_OPTIONS + 失敗的理由 + + + fetchmail + 郵件檢索 + + + BLANK + + + + SUCCESSFULLY_CHANGED_CONF + Fetchmail 設定已成功儲存。 + + + ERROR_WHILE_CHANGING_CONF + 無法使用Fetchmail修正後的設定 + + + SUCCESSFULLY_MODIFIED_ROUTING + 對於您從內部網路存取外部POP3與IMAP4伺服器的變更已經成功的儲存。 + + + ERROR_WHILE_MODIFYING_ROUTING + 無法使用關於存取POP3與IMAP4設定的變更。 + + + SUCCESSFULLY_MODIFIED_ROUTINGSMTP + 對於您從內部網路存取外部SMTP伺服器的變更已經成功的儲存。 + + + ERROR_WHILE_MODIFYING_ROUTINGSMTP + 無法使用關於存取SMTP設定的變更。 + + + SUCCESSFULLY_MODIFIED_ROUTINGNNTP + 對於您從內部網路存取外部News伺服器的變更已經成功的儲存。 + + + ERROR_WHILE_MODIFYING_ROUTINGNNTP + 無法使用關於存取NNTP設定的變更。 + + + SUCCESSFULLY_MODIFIED_SMTPPROXY + 對於您的SME SMTP Proxy代理伺服器之變更已經成功的儲存。 + + + PREVIOUS + 上一個 + + + VALIDATE + 有效變更! + + + ERR_NO_FETCHMAIL_RECORD + 從設定資料庫中無法檢索fetchmail紀錄。 + + + ERR_NO_SMTPFRONT-QMAIL_RECORD + 從設定資料庫中無法檢索smtpfront-qmail紀錄。 + + + ERR_BADMAIL + 有效的電郵在名稱部份僅包含字母、數字與底線。名稱中可以是'-'與'.',但是不可在開頭或結尾。在網域部份(符號@的右側)應當僅包含大小寫字母、數字與'-'字元。網域名稱通常涵蓋1-4個逗點(.)的字元。最後一個字(the tld)僅能包含字元,並且應當至少擁有2個字元,但不應超過7個。
您可以設定多個外埠郵箱。在這個例子中,只要用冒號':'分隔每一個電郵位址。]]>
+
+ + STATUS_1 + 允許 + + + STATUS_0 + 禁止 + + + NB_EXT_BOX + 外埠郵箱 + + + GHOST_ACCOUNT + 虛無帳號 + + + DEBUG_MAILBOX + 郵箱正在除錯模式 + + + SPIED_MAILBOX + 郵箱正在監控中 + + + SHOW_SCHEDULE_INFOS +

行事曆訊息

郵件接收在規律的時間執行。行事曆規則如同'E-Mails'控制台設定的規則一樣。
倘若您欲變更行事曆,只需在電郵控制台變更。
注意!:倘若您不使用ETRN或Multi-Drop,您無法變更行事曆!
要解決此限制,請依下列執行:
- 選擇ETRN並選擇您的新行事曆然後'Save'。
- 然後選擇'Standard (SMTP)'與再次'Save'。]]>
+
+ + SET_FETCHMAIL_SATUS + Confirm you want to change Fetchmail status + + + RoutingIMPAPPOP + Confirm you want to change IMAP and POP external traffic filtering status + + + + RoutingNNTP + Confirm you want to change NNTP external traffic filtering status + + +
diff --git a/root/etc/e-smith/templates/etc/crontab/FetchMails b/root/etc/e-smith/templates/etc/crontab/FetchMails new file mode 100644 index 0000000..f95bee9 --- /dev/null +++ b/root/etc/e-smith/templates/etc/crontab/FetchMails @@ -0,0 +1,137 @@ + +{ + use esmith::config; + use esmith::db; + + $OUT = ''; + + local %services; + $services{'fetchmail'} = $fetchmail; + + if ( ( $FetchMails{ status } || "disabled" ) eq "enabled" ) { + + if ( ( $fetchmail{ status } || "disabled" ) eq "enabled" && + ( $fetchmail{ Method } || "standard" ) ne "standard" ) { + } else { + $OUT .= "\n"; + $OUT .= "# fetchmail times during office hours\n"; + $OUT .= "\n"; + + my $FetchmailFreqOffice = + db_get_prop(\%services, "fetchmail", 'FreqOffice'); + if ($FetchmailFreqOffice) + { + if ($FetchmailFreqOffice eq 'every5min') + { + $OUT .= "*/5\t8-17\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOffice eq 'every15min') + { + $OUT .= "*/15\t8-17\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOffice eq 'every30min') + { + $OUT .= "*/30\t8-17\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOffice eq 'everyhour') + { + $OUT .= "0\t8-17\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOffice eq 'every2hrs') + { + $OUT .= "0\t8-17/2\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + else + { + $OUT .= "# FetchmailFreqOffice - never\n"; + } + } + else + { + $OUT .= "# FetchmailFreqOffice - not defined\n"; + } + + $OUT .= "\n"; + $OUT .= "# fetchmail times outside office hours\n"; + $OUT .= "\n"; + + my $FetchmailFreqOutside = + db_get_prop(\%services, "fetchmail", 'FreqOutside'); + if ($FetchmailFreqOutside) + { + if ($FetchmailFreqOutside eq 'every5min') + { + $OUT .= "*/5\t0-7\t*\t*\t1-5\troot\t/etc/startmail\n"; + $OUT .= "*/5\t18-23\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOutside eq 'every15min') + { + $OUT .= "*/15\t0-7\t*\t*\t1-5\troot\t/etc/startmail\n"; + $OUT .= "*/15\t18-23\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOutside eq 'every30min') + { + $OUT .= "*/30\t0-7\t*\t*\t1-5\troot\t/etc/startmail\n"; + $OUT .= "*/30\t18-23\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOutside eq 'everyhour') + { + $OUT .= "0\t0-7\t*\t*\t1-5\troot\t/etc/startmail\n"; + $OUT .= "0\t18-23\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOutside eq 'every2hrs') + { + $OUT .= "0\t0-7/2\t*\t*\t1-5\troot\t/etc/startmail\n"; + $OUT .= "0\t18-23/2\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + else + { + $OUT .= "# FetchmailFreqOutside - never\n"; + } + } + else + { + $OUT .= "# FetchmailFreqOutside - not defined\n"; + } + + $OUT .= "\n"; + $OUT .= "# fetchmail times during the weekend\n"; + $OUT .= "\n"; + + my $FetchmailFreqWeekend = + db_get_prop(\%services, "fetchmail", 'FreqWeekend'); + if ($FetchmailFreqWeekend) + { + if ($FetchmailFreqWeekend eq 'every5min') + { + $OUT .= "*/5\t*\t*\t*\t6-7\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqWeekend eq 'every15min') + { + $OUT .= "*/15\t*\t*\t*\t6-7\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqWeekend eq 'every30min') + { + $OUT .= "*/30\t*\t*\t*\t6-7\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqWeekend eq 'everyhour') + { + $OUT .= "0\t*\t*\t*\t6-7\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqWeekend eq 'every2hrs') + { + $OUT .= "0\t*/2\t*\t*\t6-7\troot\t/etc/startmail\n"; + } + else + { + $OUT .= "# FetchmailFreqWeekend - never\n"; + } + } + else + { + $OUT .= "# FetchmailFreqWeekend - not defined\n"; + } + } + } +} + diff --git a/root/etc/e-smith/templates/etc/fetchmail/90fetchmail b/root/etc/e-smith/templates/etc/fetchmail/90fetchmail new file mode 100644 index 0000000..08865f6 --- /dev/null +++ b/root/etc/e-smith/templates/etc/fetchmail/90fetchmail @@ -0,0 +1,363 @@ +{ + # vim: ft=perl ts=4 sw=4 et: + package esmith; + use strict; + use Errno; + use esmith::util; + # ADDs by PS : + use esmith::ConfigDB ; + use esmith::AccountsDB ; + + use constant FS => "," ; + use constant RS => ";" ; + $OUT =''; + + # Access to databases 'New Look' ! (PS) + my $db = esmith::ConfigDB->open + or die "Can't open the Config database : $!\n" ; + my $accountdb = esmith::AccountsDB->open + or die "Can't open the Account database : $!\n" ; + + my @users = $accountdb->get('admin'); + push @users, $accountdb->users(); + unless (scalar @users) + { + $OUT .="#\n#\n"; + } + else + { + # In some cases, it's not adviseable to have the + # local SMTP server set as mail.$domain + # my $dom = "mail.".$db->get_value('DomainName') ; + my $dom = $db->get_value('DomainName') ; + # + # convert the old configuration with this + # + # here, we need maybe to do a doble conversion : + # old form to 1.0.2 form + # 1.0.2 to 1.3 form + my $maxmbox=20; + my $mdrop=$db->get_value('MDrop'); + my $FM=$db->get('FetchMails'); + if ( not defined $FM ) { + $FM = $db->new_record('FetchMails', { type => '' } ) ; + } + my $UsersDatasToConvert = 0 ; + + if( not defined $mdrop) + # form is not 'before 1.0.2' like + { + my $type=$FM->prop('type') ; + if( (not defined $type) || ($type eq '') ) + # FetchMails record is not defined at all + { + $FM->set_prop( 'type', 'service' ) ; + $FM->set_prop( 'status', 'disabled' ) ; + $FM->set_prop( 'Routing', 'YES' ) ; + } elsif ( $type eq 'custom_service' ) { # 1.0.2 like database + $UsersDatasToConvert = 1 ; + $FM->set_prop( 'type', 'service' ) ; + $FM->set_prop( 'status', 'enabled' ) ; + $FM->delete_prop('Lang') ; + $FM->delete_prop('MDrop'); + $FM->delete_prop('MDropServ'); + $FM->delete_prop('MDropName'); + $FM->delete_prop('MDropPass'); + $FM->delete_prop('MDropEnv'); + $FM->delete_prop('MDropDebug'); + $FM->delete_prop('MDropDomain1'); + $FM->delete_prop('MDropDomain2'); + $FM->delete_prop('MDropDomain3'); + $FM->delete_prop('MaxMailBox'); + $FM->delete_prop('OrigMDrop'); + } + } + else + { + # Data base is in 'before 1.0.2' format + $UsersDatasToConvert = 1 ; + $FM->set_prop( 'type', 'service' ) ; + $FM->set_prop( 'status', 'enabled' ) ; + $db->delete('MDropServ'); + $db->delete('MDropName'); + $db->delete('MDropPass'); + $db->delete('MDropEnv'); + $db->delete('MDrop'); + $db->delete('MDropDebug'); + } + + # starting with version 1.3.4, there is a 'version' field in the + # configuration database. + # so, if the version in database is below the version of + # smeserver-fetchmail, User accounts need to be converted. + my $version = $FM->prop('version') || 0 ; + $version =~s/[-\.]/0/g ; + + my $packversion = 0 ; + if ( open VER, "/etc/e-smith/db/configuration/defaults/FetchMails/version" ) { + $packversion = ; + chomp $packversion ; + } + close VER ; + my $packver = $packversion ; + $packversion =~s/[-\.]/0/g ; + if ( $packversion gt $version ) { + $UsersDatasToConvert = 1 ; + $FM->set_prop('version', $packver ) ; + } + + # Do we need to convert account Datas in user DataBases ? + if ( $UsersDatasToConvert ) { + my %ToConvert=( 'NumBox' => 'FM-NumBox', + 'FetchMailAccounts' => 'FM-Accounts', + 'MailCopyTo' => 'FM-MailCopyTo', + 'ghost' => 'FM-Ghost', + 'DebugOption' => 'FM-DebugOption', + 'KeepOption' => 'FM-KeepOption', + 'TransName' => 'FM-TransName' ) ; + + foreach my $u ( @users ) { + # starting with version 1.3.1 : var names change in + # users database + foreach my $convert ( keys %ToConvert ) { + if ( defined ( $u->prop($convert) ) ) { + $u->set_prop($ToConvert{$convert}, $u->prop($convert) ) ; + $u->delete_prop($convert) ; + } + } + # special case : SpyOption is converted to MailCopyTo admin + if ( defined ( $u->prop( 'SpyOption' ) ) ) { + if ( $u->prop( 'SpyOption' ) eq 'YES' ) { + my $MailCopyTo = ( $u->prop( 'FM-MailCopyTo') || '' ) ; + if ( $MailCopyTo eq '' ) { $MailCopyTo = 'admin' } + else { $MailCopyTo = 'admin,' . $MailCopyTo } + $u->set_prop( 'FM-MailCopyTo', $MailCopyTo ); + } + $u->delete_prop( 'SpyOption' ) ; + } + # starting with version 1.3.3, TransOption (who can conflict with + # Ghost is removed. If a transName is set, we use it. If not, we don't ;-) + # but, before removing, there a try to find a good mode for 'FM-Ghost' + # that is : + # if TransOption != 'FORWARD' no change to 'FM-Ghost' + # if 'FM-Ghost' == 'YES', no change + # if there no 'mail-copy-to' --> 'FM-Ghost' set to 'YES' + if ( defined $u->prop( 'TransOption' ) ) { + if ( $u->prop( 'TransOption' ) eq 'FORWARD' ) { + my $ghost = $u->prop( 'FM-Ghost' ) || 'NO' ; + if ( $ghost eq 'NO' ) { + my $mailCopyTo = $u->prop( 'FM-MAilCopyTo' ) || '' ; + if ( $mailCopyTo eq '' ) { + $u->set_prop( 'FM-Ghost', 'YES' ) ; + } + } + } + $u->delete_prop( 'TransOption' ) ; + } + + my @MailData ; my @MailRemove ; + my $i = 0 ; + for ( $i = 1 ; $i <= 20 ; $i++ ) { + my $MS='MailServ' . $i ; + my $MT='MailType' . $i ; + my $MN='MailName' . $i ; + my $MP='MailPass' . $i ; + if ( defined ( $u->prop($MS) ) && defined ( $u->prop($MT) ) && + defined ( $u->prop($MN) ) && defined ( $u->prop($MP) ) ) { + push @MailRemove, $i ; + my $Rec = $u->prop($MS) . FS . $u->prop($MT) . FS ; + $Rec .= unpack( "H*", $u->prop($MN) ) . FS ; + $Rec .= unpack( "H*", $u->prop($MP) ) ; + push @MailData, $Rec ; + } + } + $u->set_prop('FM-Accounts', join( RS, @MailData ) ) if scalar ( @MailData ) ; + # Old data are removed only after writing the new look datas. + foreach my $remove ( @MailRemove ) { + my $MS='MailServ' . $remove ; + my $MT='MailType' . $remove ; + my $MN='MailName' . $remove ; + my $MP='MailPass' . $remove ; + $u->delete_prop($MS) ; + $u->delete_prop($MT) ; + $u->delete_prop($MN) ; + $u->delete_prop($MP) ; + } + + # Specials tests. Only needed for sanity check in case of + # some versions between 1.0.2 and 1.3.4 are in the wild + # should normaly not be the case... + if (defined $u->prop('FM-Accounts') ) { + my $FMAccounts = $u->prop('FM-Accounts') ; + # News fields and records separators + $FMAccounts =~ s/\037/;/g ; + $FMAccounts =~ s/\036/,/g ; + # shall we convert to hex ??? + my @Recs = split ( RS, $FMAccounts ) ; + my $toconv = 0 ; + foreach my $rec ( @Recs ) { + my @R = split( FS, $rec ) ; + if ( "$R[2]$R[3]" =~ /[A-Zg-z\W]/ ) { + $toconv = 1 ; + } + } + if ( $toconv ) { + my @Recs2 ; + foreach my $rec ( @Recs ) { + my @R = split ( FS, $rec ) ; + $R[2] = unpack( "H*", $R[2] ) ; + $R[3] = unpack( "H*", $R[3] ) ; + push @Recs2, join( FS, @R ) ; + } + $FMAccounts = join( RS, @Recs2) ; + } + $u->set_prop('FM-Accounts', $FMAccounts) ; + } + } + # Here, the mails groups need to be generated... + # But we don't need to put that in this file : + # in a normal way, the database conversion is done at install time + # and at install time, the group are build after the conversion + } + + # + # End of Data conversion... + # + + # New test : if FetchMails status is 'disabled', we don't want that + # this part of /etc/fetchmail be generated. + + if ( $FM->prop('status') eq 'enabled' ) { + foreach my $account ( @users ) { + my $FetchN=0; + my $Debug = $account->prop( 'FM-DebugOption' ) || '' ; + my $spy = $account->prop( 'FM-SpyOption' ) || '' ; + my $keepopt = $account->prop( 'FM-KeepOption' ) || '' ; + my $transname = $account->prop( 'FM-TransName') || '' ; + my $usergt = $account->prop( 'FM-MailCopyTo') || '' ; + my $ghost = $account->prop( 'FM-Ghost') || 'NO' ; + + my $name = $account->key ; + my $comment = $name ; + my $maxcpy = 0; + + if ( $transname ne '' ) { + $transname =~ s/:/,/g ; + if ( $usergt eq '' ) { $usergt = $transname } + else { $usergt = $usergt . "," . $transname } + } + + if($usergt ne '') { + $name = "fm_fm-" . $name ; + my $comment2 = '' ; + $comment2 = $comment . "," if ( $ghost ne 'YES' ) ; + $comment = "$comment delivered to : $name = $comment2 $usergt"; + } + + # PS 2005/08/02 -> 1.3.4-05 + # tristate combination for the delivering host : + # 1) if 'FetchMails->fetchhost' is set then this is the delivery host + # This should normally never be the case... + # 2) If the (systemWide) 'SMTPSmartHost is set, then this is the delivey host for fetchmail + # 3) If none of these are set, then the delivery host is set to the domain name of the computer + # BTW, correcting a bug preventing previous version to use the SMTPSmartHost value... + # PS 2005/08/19 ->1.3.4-06 + # considerable mistake ! I had an automagical configuration whistle, but not the good one. + # I Said that if a smartHost is set, fetchmail must send incoming mails to the SmartHost. + # But SmartHosts are for Outgoing mails ! + # Now, fetchmail automagically send mail to a DelegateMailServer, if set-up. + my $DestSMTPServer = $FM->prop( 'fetchhost' ) || '' ; + # my $SMTPSmartHost = $db->get( 'SMTPSmartHost' ); + # $smarthost = $SMTPSmartHost->value || '' if ( $smarthost eq '' ) ; + # DelegateMailServer not ever exists... + if ( my $DelegateMailServer = $db->get( 'DelegateMailServer' ) ) { + $DestSMTPServer = $DelegateMailServer->value || '' if ( $DestSMTPServer eq '' ) ; + } + + if( $DestSMTPServer ne '') + { $DestSMTPServer = "smtpaddress $DestSMTPServer" ; } + else + { $DestSMTPServer = "smtpaddress $dom" ; } + + my $keep='fetchall'; + + if($keepopt eq "YES") { $keep='keep'; } + elsif($keepopt eq "NEW") { $keep='no fetchall'; } + + # Change by PS + my $FetchMailsAcc = '' ; + if ( defined $account->prop( 'FM-Accounts' ) ) { + $FetchMailsAcc = $account->prop( 'FM-Accounts' ) ; + } + my @FetchMailAccounts = split RS, $FetchMailsAcc ; + + foreach my $FetchMailAcount ( @FetchMailAccounts ) { + $FetchN++ ; + my ( $mserv, $mtype, $mname, $mpass, $moptions ) = split FS, $FetchMailAcount ; + if(not defined $mserv ) { $mserv='';} + if(not defined $mname ) { $mname='';} + if(not defined $mpass ) { $mpass='';} + if(not defined $mtype ) { $mtype='';} + if(not defined $moptions ) { $moptions='';} + + # we need to convert the name, the password and the options from HEX to text + $mname = pack( "H*", $mname ); + $mpass = pack( "H*", $mpass ); + $moptions = pack( "H*", $moptions ); + + if ($mserv ne '') { + my $ServOpt = ' and options uidl no dns'; + + if($mtype =~ /IMAP/ ) { $ServOpt = ' and options no dns'; } + + # ver 1.3.5-01 : add a timeout option + # this option is equal to the value timeout in the + # FetchMails service configuration + $ServOpt = ' timeout ' . ( $FM->prop('timeout') || 60 ) . $ServOpt; + + if ( $mtype =~ s/^S// ) { $moptions = "ssl $moptions" } + + #We retrieve the $qmail{MaxMessageSize} to fix + #the max limit where emails won't be downloaded + my $size = $db->get_prop('qmail','MaxMessageSize') || '0'; + my $mdbg='-l' . $size . ' -d0 --silent --syslog'; + if($Debug eq "YES") { $mdbg='-l' . $size . ' -d0 --verbose --syslog'; } + $mdbg .= " -i /var/lib/fetchmail/.fetchids "; # fix SME: 11979 + + my $staticvalue = "/usr/bin/fetchmail $mdbg --fetchmailrc - <get_prop('smtpd','TCPPort')||'25'; + + $OUT .= "#\n"; + $OUT .= "# Mail N$FetchN Account for : $comment\n"; + $OUT .= $staticvalue; + $OUT .= "poll $mserv with proto $mtype$ServOpt\n"; + $OUT .= " user '$mname' $DestSMTPServer with password '"; + $OUT .= "$mpass' is $name here $keep\n"; + if ( $moptions ne '' ) { + $OUT .= " options $moptions\n"; + } + $OUT .= " smtphost 127.0.0.200/$tcpport" . "\n"; + $OUT .= " antispam 550\n"; + $OUT .="EOF\n"; + } + } + } + } + $OUT .="#\n#\n"; + } +} + diff --git a/root/etc/e-smith/templates/etc/rc.d/init.d/masq/00Definitions2 b/root/etc/e-smith/templates/etc/rc.d/init.d/masq/00Definitions2 new file mode 100644 index 0000000..d680bf0 --- /dev/null +++ b/root/etc/e-smith/templates/etc/rc.d/init.d/masq/00Definitions2 @@ -0,0 +1,12 @@ +{ + $OUT .= <open_ro + or die "Can't open the Config database : $!\n" ; + my $accountdb = esmith::AccountsDB->open_ro + or die "Can't open the Account database : $!\n" ; + + my (undef, undef, $uid, $gid, undef, undef, undef, $dir, undef) + = getpwnam("alias"); + + # It is almost impossible to get Text::Template to output nothing + # on failure. It can be done by removing the newline at the end of + # this file but that is messy. Therefore, we'll simply return an + # error message that will make qmail-newu fail. Also send a + # warning message that will be captured in the logs. + + unless (defined $uid && defined $gid && defined $dir) + { + my $msg = + "Failed to obtain user details for \'alias\' " + . "while processing group assignments."; + + warn "$msg\n"; + $OUT = $msg; + return; + } + + my $alias_assign = "alias:${uid}:${gid}:${dir}"; + + my @users ; + my $fetchmail = $db->get('FetchMails') ; + my $FMStatus = 'disabled' ; + if ( defined $fetchmail ) { + $FMStatus = $fetchmail->prop('status') || 'disabled' ; + } + + if ( $FMStatus eq 'enabled' ) { + my @users = $accountdb->get('admin'); + push @users, $accountdb->users(); + foreach my $u ( @users ) { + # print $u->key ; + my $MailCopyTo = '' ; + $MailCopyTo = $u->prop( 'FM-MailCopyTo' ) if ( defined $u->prop( 'FM-MailCopyTo' ) ) ; + my $TransName = '' ; + $TransName = $u->prop( 'FM-TransName' ) if ( defined $u->prop( 'FM-TransName' ) ) ; + # print "$MailCopyTo\n" ; + if ( $MailCopyTo ne '' || $TransName ne '' ) { + my $FMGroup = "fm_fm-" . $u->key ; + + # Assign mail for group@ + $OUT .= "=${FMGroup}:${alias_assign}:-:${FMGroup}:\n"; + + # Assign mail for group-ext@ + $OUT .= "+${FMGroup}-:${alias_assign}:-${FMGroup}-::\n"; + } + } + } + + # Need to remove the final newline character. Blank lines in + # /var/qmail/users/assign are prohibited. + + chomp($OUT); + + # Failsafe: /var/qmail/users/assign cannot have blank lines. + # Therefore, if $OUT is empty, simply set up an assign for the + # alias user. + + $OUT = "=alias:${alias_assign}:::" unless $OUT; +} diff --git a/root/etc/e-smith/templates/var/service/qpsmtpd/config/forcespamcheck/60fetchmail b/root/etc/e-smith/templates/var/service/qpsmtpd/config/forcespamcheck/60fetchmail new file mode 100644 index 0000000..e0a1376 --- /dev/null +++ b/root/etc/e-smith/templates/var/service/qpsmtpd/config/forcespamcheck/60fetchmail @@ -0,0 +1,6 @@ +{ + # vim: ft=perl ts=4 sw=4 et: + if ( ( $FetchMails{ status } || "disabled" ) eq "enabled" ) { + $OUT = "\n127.0.0.200\n" ; + } +} diff --git a/root/etc/e-smith/templates/var/service/qpsmtpd/config/goodrcptto/60fetchmail b/root/etc/e-smith/templates/var/service/qpsmtpd/config/goodrcptto/60fetchmail new file mode 100644 index 0000000..8287595 --- /dev/null +++ b/root/etc/e-smith/templates/var/service/qpsmtpd/config/goodrcptto/60fetchmail @@ -0,0 +1,24 @@ +{ + # vim: ft=perl ts=4 sw=4 et: + if ( ( $FetchMails{ status } || "disabled" ) eq "enabled" ) { + $OUT = "\n# fetchmail groups entries start\n" ; + $OUT .= "# If smeserver-fetchmail creates mailgroup for incoming fetched mails\n" ; + $OUT .= "# we need to accept these groups from outside.\n" ; + + my $fetchgroup = 0 ; + my $dom = $DomainName ; + + opendir ( DIR, "/var/qmail/alias" ) ; + foreach my $fic ( grep( /^\.qmail-fm_fm-/, readdir DIR) ) { + $fic =~ s/^\.qmail-//; + $fic =~ s/:/./g; + $OUT .= "$fic\@$dom\n"; + $fetchgroup = 1; + } + closedir (DIR); + + $OUT .= "### No smeserver-fetchmail groups set Now ...\n" if ( ! $fetchgroup ) ; + $OUT .= "# fetchmail groups entries end\n" ; + } +} + diff --git a/root/etc/e-smith/web/common/Light_0.jpg b/root/etc/e-smith/web/common/Light_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..aa0c99d353726e174ec158901640602dee53c713 GIT binary patch literal 1055 zcmex=Pzs=CXz{ZVVnRYv%2G1&3W`dKB9f}=Dhldy zii!%1KyB=7?ED-Y{0gE%qM{0nI}gNkudQ4=SZn7D+b zl&YG#hNhN@shPQjrIoXbtDC!rr&n-DXjpheWK?oWYFc_mW>#@YX<2ziWmR)aYg>Cq zXV;|3Q>IRvK4a#rMT?g#UABD1%2k^-Z`rzS`;MKv4jn#n^w{weCr@3veC6u3>o;!R zdidz^lc&#~zj*oT01cClxVqsxsVF&q#k*OSrnFU!` z6%E;h90S=C3x$=88aYIqCNA7~kW<+>=!0ld(M2vX6_bamA3={1WH_31M*7?!=;mwbBOV`Ck`}njbwq9fiP1^Bu%A}$t&-?aT zocu61-Fv$8HT{yEcjcn3+qakb@ABFh<$caCZ|hDU+8+G!pZfmGNmqhAE=ebG z>9cZgNGQ0&BYK#DP1@FGd%&j2zWaA&X KCY8JYzX<@Sh$poG literal 0 HcmV?d00001 diff --git a/root/etc/e-smith/web/common/Light_1.jpg b/root/etc/e-smith/web/common/Light_1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8a6fef6d5fcc8575bc81570a0916e30b101cb8cc GIT binary patch literal 1058 zcmex=>1BCL~;mBnMJc1;i{s4AKLlIe{2tRuPmBl82cMqS=9%4Twvi;voA$d=LQ9APiDd z3T1=jL3|JZ(I7KGc7WUo;)CQtd=LQ9AUA;gQx4_B{P+I=gCGZk2m=>0qY?v?AS1IN z&0Dr^+rDGxu0w~996fgY z#K}{aE?>EN?fQ+Iw;n!v{N(Ag=PzEq`uOSdm#^Qx|M>Zfk%1ZF9UzI}A3>mhm{?et zS=d4TVPq-?VrD@WRz*WLA;&=W#6n>uqec!9r-=(U9^_Ou4*DRPRCJL`OvU7(>PL{5 zz&;|*LrrA)2<{=cfBxTM;9+J2CL3l!2788|n-9hFeR*5#)E=;V=PrK3939sX4W4kB z=6N&!WOwh|Qfv3E+S6-#lUr}s7Zn+qy3jB6Z~imnew(); +# Uncomment the next line for debugging purposes. +# $form->debug(1); +$form->display(); + + +__DATA__ +
+ + + + FIRST_PAGE_DESCRIPTION + + + + + + + + + SET_GENERAL_TITLE + SET_GENERAL_PAGE_DESCRIPTION + + + + + + + + + + + + + + + + + + + + + + + + + + + SET_ACCOUNTS_TITLE + SET_ACCOUNTS_PAGE_DESCRIPTION + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SET_FETCHMAIL_SATUS + + + + + RoutingIMPAPPOP + + + + + RoutingSMTP + + + + + RoutingNNTP + + + + + + + + + + +
diff --git a/root/usr/lib/.gitignore b/root/usr/lib/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fetchmail.pm b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fetchmail.pm new file mode 100755 index 0000000..13131bd --- /dev/null +++ b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fetchmail.pm @@ -0,0 +1,1203 @@ +#---------------------------------------------------------------------- +# $Id: fetchmail.pm,v 1.3.3 2004/05/09 21:00:00 pschirrmann +# vim: ft=perl ts=4 sw=4 et: +#---------------------------------------------------------------------- +# copyright (C) 2004 Pascal Schirrmann +# copyright (C) 2002 Mitel Networks Corporation +# +# 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 +#---------------------------------------------------------------------- + +package esmith::FormMagick::Panel::fetchmail; + +use strict; +use esmith::ConfigDB; +use esmith::AccountsDB; +use esmith::DB::db; +use esmith::FormMagick; +use esmith::cgi; +use Exporter; + +use constant TRUE => 1; +use constant FALSE => 0; + +our @ISA = qw(esmith::FormMagick Exporter); + +our @EXPORT = qw( + new + ); + +our $VERSION = sprintf '%d.%03d', q$Revision: 0.03 $ =~ /: (\d+).(\d+)/; +our $db = esmith::ConfigDB->open + or die "Can't open the Config database : $!\n" ; +our $accountdb = esmith::AccountsDB->open + or die "Can't open the Account database : $!\n" ; + +# fields and records separator for sub records +use constant FS => "," ; +use constant RS => ";" ; + +=head1 NAME + +esmith::FormMagick::Panels::fetchmail - useful panel functions + +=head1 SYNOPSIS + + use esmith::FormMagick::Panels::fetchmail + + my $panel = esmith::FormMagick::Panel::fetchmail->new(); + $panel->display(); + +=head1 DESCRIPTION + +This module is the backend to the fetchmail panel, responsible for +supplying all functions used by that panel. It is a subclass of +esmith::FormMagick itself, so it inherits the functionality of a FormMagick +object. + +=head2 new + +This is the class constructor. + +=cut + +sub new { + my $class = ref($_[0]) || $_[0]; + my $self = esmith::FormMagick->new(); + bless $self, $class; + # Uncomment the following line for debugging. + # $self->debug(TRUE); + return $self; +} + +=head2 get_temp_rec + +This method, called by differents functions on page 1 and 2, open +the temp database, or create the database if needed. +it create a temporary record if needed. +The method return a link to the record '$.id'. + +=cut + +sub get_temp_rec { + my $self = shift ; + $self->debug_msg("'get_temp_rec' begins.") ; + my $q = $self->{cgi} ; + my $id = $q->param('.id') ; + $self->debug_msg("\$id = $id.") ; + my $base = "/home/e-smith/db/fetchmail_temp.db" ; + $self->debug_msg("\$base = $base.") ; + my $db = '' ; + if ( -e $base ) { + $db = esmith::DB::db->open($base) or + die esmith::DB::db->error ; + } else { + $db = esmith::DB::db->create($base) or + die esmith::DB::db->error ; + } + $self->debug_msg("$base is open.") ; + if ( ! ( defined $db->get($id) ) ) { + my %vals = ( 'type' => 'misc', + 'date' => time ); + my $r = $db->new_record($id, \%vals) or + die esmith::DB::db->error ; + } + my $rec = $db->get($id) ; + $self->debug_msg("'get_temp_rec' ends.") ; + return $rec ; +} + +=head2 temp_database_cleanup + +This method removes records older than one days in the +temporary database, if any + +=cut + +sub temp_database_cleanup { + my $self = shift ; + $self->debug_msg("'temp_database_cleanup' begins.") ; + my $base = "/home/e-smith/db/fetchmail_temp.db" ; + $self->debug_msg("\$base = $base.") ; + my $removed = 0 ; + my $db = '' ; + if ( -e $base ) { + $db = esmith::DB::db->open($base) or + die esmith::DB::db->error ; + my @all_records = $db->get_all ; + my $now = time ; + foreach my $rec ( @all_records ) { + if ( ( $now - $rec->prop('date') ) > 86400 ) { + $removed++ ; + $rec->delete ; + } + } + } + $self->debug_msg("'temp_database_cleanup' ends.") ; + return $removed ; +} + +=head2 get_field + +This method retrive a field value, to put then in another field +on another page. + +=cut + +sub get_field +{ + my $self = shift; + my $item = shift; + + return $self->{cgi}->param($item) || ''; +} + +=head2 show_fetchmail_status + +This method show the current status of fetchmail (enabled or disabled) +and allow the status change + +=cut + +sub show_fetchmail_status { + my $self = shift ; + my $q = $self->{cgi} ; + + my $FM = $db->get('FetchMails') + or ($self->error('ERR_NO_FETCHMAIL_RECORD') and return undef) ; + my $QP = $db->get('qpsmtpd') + or ($self->error('ERR_NO_QPSMTPD_RECORD') and return undef) ; + my $FMStatus = 0 ; + $FMStatus = 1 if ( ( $FM->prop('status') || 'disabled' ) eq 'enabled' ) ; + my $FMRouting = 0 ; + $FMRouting = 1 if ( ( $FM->prop('Routing') || 'NO' ) eq 'YES' ) ; + my $FMRoutingSMTP = 0 ; + $FMRoutingSMTP = 1 if ( ( $QP->prop('Proxy') || 'disabled' ) eq 'disabled' ) ; + my $FMRoutingNNTP = 0 ; + $FMRoutingNNTP = 1 if ( ( $FM->prop('RoutingNNTP') || 'NO' ) eq 'YES' ) ; + # we need also information about smtpfront-qmail + # PS 2005/08/02 -> 1.3.4-05 + # SME7 no longer use smtpfront-qmail, but use qpsmtpd instead + my $SysConfig = $db->get('sysconfig') ; + my $SMEVersion = ( $SysConfig->prop('ReleaseVersion') || 0 ) ; + $SMEVersion =~ s/^(\d+)\..*$/$1/ ; + my $MailSystem = 'smtpfront-qmail' ; + $MailSystem = 'qpsmtpd' if ( $SMEVersion > 6 ) ; + $self->debug_msg("'fetchmail_SMTPProxy' : Major Version = $SMEVersion - Mailsystem = $MailSystem.") ; + my $SmtpProxy = $db->get($MailSystem) + or ($self->error('ERR_NO_SMTPFRONT-QMAIL_RECORD') and return undef) ; + my $FMRoutingSMTPProxy = 0 ; + $FMRoutingSMTPProxy = 1 if ( ( $SmtpProxy->prop('Proxy') || 'disabled' ) eq 'transparent' ) ; + print $q->start_table({-class => 'sme-noborder'}), "\n"; + print $q->Tr( + esmith::cgi::genCell( $q, + "\""localise('STATUS_' . $FMStatus) . "\">" ), + esmith::cgi::genCell( $q, + $self->localise('SERVICE_' . $FMStatus) , "sme-noborders-label" ), + esmith::cgi::genCell( $q, "" + . $self->localise('BUTTON_LABEL_SERVICE_' . $FMStatus ) + . "", "sme-noborders-content" ),"\n", + ),"\n" ; + print $q->Tr( + esmith::cgi::genCell( $q, + "\""localise('STATUS_' . $FMRouting) . "\">" ), + esmith::cgi::genCell( $q, + $self->localise('ROUTING_' . $FMRouting) , "sme-noborders-label" ), + esmith::cgi::genCell( $q, + "" + . $self->localise('BUTTON_LABEL_ROUTING_' . $FMRouting) + . "" , "sme-noborders-content" ),"\n", + ),"\n" ; + print $q->Tr( + esmith::cgi::genCell( $q, + "\""localise('STATUS_' . $FMRoutingNNTP) . "\">" ), + esmith::cgi::genCell( $q, + $self->localise('ROUTINGNNTP_' . $FMRoutingNNTP) , "sme-noborders-label" ), + esmith::cgi::genCell( $q, + "" + . $self->localise('BUTTON_LABEL_ROUTINGNNTP_' . $FMRoutingNNTP) + . "" , "sme-noborders-content" ),"\n", + ),"\n" ; + print $q->Tr( + esmith::cgi::genCell( $q, + "\""localise('STATUS_' . $FMRoutingSMTP) . "\">" ), + esmith::cgi::genCell( $q, + $self->localise('ROUTINGSMTP_' . $FMRoutingSMTP) , "sme-noborders-label" ), + esmith::cgi::genCell( $q, + "" + . $self->localise('MODIFY') + . "" , "sme-noborders-content" ),"\n", + ),"\n" ; + print $q->Tr( + esmith::cgi::genCell( $q, + "\""localise('STATUS_' . $FMRoutingSMTPProxy) . "\">" ), + esmith::cgi::genCell( $q, + $self->localise('ROUTINGSMTPPROXY_' . $FMRoutingSMTPProxy) , "sme-noborders-label" ), + esmith::cgi::genCell( $q, + "" + . $self->localise('MODIFY') + . "" , "sme-noborders-content" ),"\n", + ),"\n" unless $SmtpProxy->prop('Proxy') eq "blocked" ; + print $q->end_table(),"\n"; + return undef ; +} + +=head2 show_button_validate + +This method is only here to install a button in a +FormMagick Form + +=cut + +sub show_button_validate { + my $self = shift ; + my $q = $self->{cgi} ; + return "localise('BUTTON_LABEL_VALIDATE_ACCOUNT' ) . "\">" ; +} + +=head2 show_fetchmail_users + +This method displays the lists of users on the system, and +summarize the fetchmail status. +Here we can also modify a user configuration + +=cut + +sub show_fetchmail_users { + my $self = shift ; + my $q = $self->{cgi} ; + $self->debug_msg("show_fetchmail_users begins.") ; + + # for debugging purposes only... + # PS 2005 Oct 22 : sessiondir() is no longer present, and this information was + # for debug use only anyway... + # my $sessiondir = $self->sessiondir(); + # $self->debug_msg("The session dir is $sessiondir .") ; + + # retrieve users Data... + my @users = $accountdb->get('admin'); + push @users, $accountdb->users(); + + unless ( scalar @users ) + { + print $q->Tr($q->td($self->localise('NO_USER_ACCOUNTS'))); + return ""; + } + + print $q->Tr( + $q->td({-colspan => 2}, + $q->p($self->localise('SHOW_FETCHMAIL_USERS')))),"\n"; + + print ""; + print $q->start_table({-class => 'sme-border'}), "\n "; + print $q->Tr( + esmith::cgi::genSmallCell($q, $self->localise('ACCOUNT'), "header"), + esmith::cgi::genSmallCell($q, $self->localise('USER_NAME'), "header",), + esmith::cgi::genSmallCell($q, $self->localise('NB_EXT_BOX'), "header",), + esmith::cgi::genSmallCell($q, $self->localise('GHOST_ACCOUNT'), "header",), + esmith::cgi::genSmallCell($q, $self->localise('DEBUG_MAILBOX'), "header",), + esmith::cgi::genSmallCell($q, $self->localise('ACTION'), "header", 2), "\n", + ); + foreach my $u (@users) { + my $user = $u->key(); + my $name = $u->prop('FirstName') . " " . $u->prop('LastName'); + my $NumBox = $u->prop('FM-NumBox') ; + my $ghostout = '' ; my $Debugout = '' ; + my $keepopt = '' ; my $transname = '' ; + my $outing = $NumBox ; + if ( defined $NumBox && $NumBox > 0 ) { + $ghostout = $u->prop('FM-Ghost') ; + $Debugout = $u->prop('FM-DebugOption') ; + $keepopt = "KEEP_" . $u->prop('FM-KeepOption') ; + $transname = $u->prop('FM-TransName') ; + } else { + $NumBox = 0 ; + } + # Select choice : + # if NumBox > 0 whe need a modify and a remove choice + # else we need a create choice + my $link1 =$q->a({href => $q->url(-absolute => 1) + . "?page=0&Next=SetGeneral&user=$user&name=$name&" + . "NumBox=$NumBox&ghost=$ghostout&debug=$Debugout&" + . "mail-keep=$keepopt&forward-mail=$transname"}, + $self->localise('MODIFY')) ; + my $link2 = $q->a({href => $q->url(-absolute => 1) + . "?page=4&Next=First&user=$user"}, + $self->localise('REMOVE')) ; + if ( $NumBox == 0 ) { + $link1 =$q->a({href => $q->url(-absolute => 1) + . "?page=0&Next=SetGeneral&user=$user&name=$name&" + . "NumBox=$NumBox&ghost=$ghostout&debug=$Debugout&" + . "mail-keep=$keepopt&forward-mail=$transname"}, + $self->localise('CREATE')) ; + $link2 = " " ; + } + + print $q->Tr( + esmith::cgi::genSmallCell($q, $user), + esmith::cgi::genSmallCell($q, $name), + esmith::cgi::genSmallCell($q, $NumBox), + esmith::cgi::genSmallCell($q, $self->localise($ghostout) || ' '), + esmith::cgi::genSmallCell($q, $self->localise($Debugout) || ' '), + esmith::cgi::genSmallCell($q, $link1), + esmith::cgi::genSmallCell($q, $link2), + "\n", + ); + } + print $q->end_table,"\n"; + print ''; + + $self->debug_msg("show_fetchmail_users ends.") ; + return undef; + +} + +=head2 show_accounts + +This method displays the list of externals accounts +already set for a given user. + +=cut + +sub show_accounts { + my $self = shift ; + my $q = $self->{cgi} ; + $self->debug_msg("show_accounts begins."); + + # retrieve users Data... + my $user = $q->param('user'); + $self->debug_msg("\$user = $user."); + my $name = $q->param('name'); + $self->debug_msg("\$name = $name."); + my $u = $accountdb->get($user); + + # Two cases : The account is already under modification. + # in this case, $q->prop('DataHide') is set. + # otherwise, we read data in the database, and set + # $q->prop('DataHide') + my $rec = get_temp_rec($self) ; + my $DataHide = $rec->prop('DataHide') || '' ; + if ( $DataHide eq 'empty' ) { + $DataHide = '' ; + } elsif ( $DataHide ne '' ) { + $self->debug_msg("DataHide vas not empty : \$DataHide = $DataHide."); + } else { + $DataHide = $u->prop('FM-Accounts') || '' ; + $self->debug_msg("DataHide vas empty : \$DataHide = $DataHide."); + $rec->set_prop('DataHide', $DataHide) ; + } + if ( defined $DataHide && $DataHide ne '' ) { + print $q->Tr( + $q->td({-colspan => 2}, + $q->p($self->localise('SHOW_FETCHMAIL_ACCOUNTS')))),"\n"; + + print ""; + print $q->start_table({-class => 'sme-border'}), "\n "; + print $q->Tr( + esmith::cgi::genSmallCell($q, $self->localise('MAIL_SERVER'), "header"), + esmith::cgi::genSmallCell($q, $self->localise('MAIL_TYPE'), "header",), + esmith::cgi::genSmallCell($q, $self->localise('MAIL_ACCOUNT'), "header",), + esmith::cgi::genSmallCell($q, $self->localise('MAIL_PASSWORD'), "header",), + esmith::cgi::genSmallCell($q, $self->localise('MAIL_OPTIONS'), "header",), + esmith::cgi::genSmallCell($q, $self->localise('ACTION'), "header", 2), "\n", + ); + my @MailDatas = split ( RS, $DataHide ) ; + foreach my $data ( @MailDatas ) { + my @Rec = split ( FS, $data ) ; + my $nlink1 = "localise('MODIFY' ) . "\">" ; + my $nlink2 = "localise('REMOVE' ) . "\">" ; + + print $q->Tr( + esmith::cgi::genSmallCell($q, $Rec[0]), + esmith::cgi::genSmallCell($q, $Rec[1]), + esmith::cgi::genSmallCell($q, CGI::escapeHTML( pack( "H*", $Rec[2] ))), + esmith::cgi::genSmallCell($q, CGI::escapeHTML( pack( "H*", $Rec[3] ))), + esmith::cgi::genSmallCell($q, CGI::escapeHTML( pack( "H*", $Rec[4] )) || ''), + esmith::cgi::genSmallCell($q, $nlink1), + esmith::cgi::genSmallCell($q, $nlink2), + "\n", + ); + } + } + print $q->end_table,"\n"; + print $q->table({-width => '100%'}, $q->Tr($q->th({-class => 'sme-layout'}, + $q->submit( -name => 'previous', + -value => $self->localise('PREVIOUS')), + ' ', + $q->submit( -name => 'cancel', + -value => $self->localise('CANCEL')), + ' ', + $q->submit( -name => 'validate', + -value => $self->localise('VALIDATE'))))); + print ''; + + $self->debug_msg("show_accounts ends."); + return undef; + +} +=head2 validate_mail + +This method try to check if a E-Mail address is valid + +=cut + +sub validate_mail { + my $self = shift ; + my $mail = $self->{cgi}->param('forward-mail') ; + # starting with version 1.3.4-01, it's allowed to have more than one + # external mail redirection. Simply give all mail addresses, separated by ',' + $mail =~ s/\s//g ; + my $mailpattern = '(\w+[\-\.])*\w+\@([a-z0-9\-]+\.){1,4}[a-z]{2,7}' ; + if ( ! ( $mail =~ /^$mailpattern(:$mailpattern)*$/i ) && $mail ne '' ) { + # A valid e-mail address contains lettters, digit and underscores, and optionally + # '-' and or '.' as field separator, then one @ then a valid domain name : + # a domain name is one to four word + dot, then a word between 2 and 5 characters + $self->debug_msg("the e-mail add $mail don't seems to be a valid address."); + return $self->localise('ERR_BADMAIL'); + } + else + { return 'OK'; } +} + +=head2 validate_account_data + +This method try to validate a server name, +an account name and/or an account password. + +=cut + +sub validate_account_data { + my $self = shift ; + # validator send first the value, and then the options(s) + shift ; + my $Tst = shift ; + $self->debug_msg("validate_account_data begins."); + $self->debug_msg("\$Tst = $Tst."); + my $Flag = 1 ; + my $q = $self->{cgi} ; + my $user = $q->param('user') ; + my $server = '' ; my $type = 'IMAP' ; my $account = '' ; my $password = '' ; my $options = ''; + $server = $q->param('mail-server') if ( defined $q->param('mail-server') ) ; + $type = $q->param('mail-type') if ( defined $q->param('mail-type') ) ; + $account = $q->param('mail-account') if ( defined $q->param('mail-account') ) ; + $password = $q->param('mail-password') if ( defined $q->param('mail-password') ) ; + $options = $q->param('mail-options') if ( defined $q->param('mail-options') ) ; + $self->debug_msg("\$server = $server."); + $self->debug_msg("\$type = $type."); + $self->debug_msg("\$account = $account."); + $self->debug_msg("\$password = $password."); + $self->debug_msg("\$options = $options."); + # if the four fields are blank, it's OK + if ( ( $server . $account . $password . $options ) ne '' ) { + if ( $Tst eq 'Server' ) { + $self->debug_msg("'Server' test begins."); + my $IPPattern = "(([01]?[0-9]{1,2}|2([0-4][0-9]|5[0-5]))\.){3}([01]?[0-9]{1,2}|2([0-4][0-9]|5[0-5]))" ; + if ( $server !~ /^([a-z0-9\-]+\.){1,4}[a-z]{2,7}$/i and $server !~ /^$IPPattern$/ ) { + # A server name is considered as valid if if contains betweens 2 an 5 + # sections, separated by dots '.' + # For all sections but the last, characters alloweds are letters, + # numbers and '-' (with no size restrictions). + # For the last section (or tld), only letters are allowed. + # The length must be between 2 and 5 characters. + # PS Add, Jan 14, 2006 : a host can also be given by it's IP address + # The $IPPattern is from MiscPS/IP.pm . No need to add a lib for that. + $self->debug_msg("'$server' don't seems to be a valid Internet name or IP address."); + $Flag = 0 ; + return $self->localise('ERR_BADSERVER'); + } + } + if ( $Tst eq 'Account' ) { + $self->debug_msg("'Account' test begins."); + if ( $account eq '' ) { + $self->debug_msg("The account name $account is empty."); + $Flag = 0 ; + return $self->localise('ERR_FIELD_EMPTY'); + } + } + if ( $Tst eq 'Password' ) { + $self->debug_msg("'Password' test begins."); + if ( $password eq '' ) { + $self->debug_msg("The password name $password is empty."); + $Flag = 0 ; + return $self->localise('ERR_FIELD_EMPTY'); + } + } + # the $options field is completely free, so no tests here :-) + $self->debug_msg("After 3 tests, \$Flag = $Flag."); + } + $self->debug_msg("validate_account_data ends."); + return 'OK' if ( $Flag ) ; +} + +=head2 fetchmail_enable_disable + +This method changes the status of Fetchmail. + +=cut + +sub fetchmail_enable_disable { + my $self = shift ; + $self->debug_msg("Start of sub 'fetchmail_enable_disable'.") ; + #my $current = $self->{cgi}->param('Current') ; + #$self->debug_msg("'fetchmail_enable_disable' : \$current = $current") ; + my $FM = $db->get('FetchMails') + || ($self->error('ERR_NO_FETCHMAIL_RECORD') and return undef); + my $current = $FM->prop("status") || "disabled"; + if ( $current eq "enabled" ) { + $FM->set_prop("status", "disabled") ; + $self->debug_msg("'fetchmail_enable_disable' : fetchmail disabled.") ; + } else { + $FM->set_prop("status", "enabled") ; + $self->debug_msg("'fetchmail_enable_disable' : fetchmail enabled.") ; + } + if (system ("/sbin/e-smith/signal-event", "fetchmail-change") == 0) { + $self->debug_msg("'fetchmail_change' : files update OK.") ; + $self->success("SUCCESSFULLY_CHANGED_CONF"); + } else { + $self->debug_msg("'fetchmail_change' : files update fails.") ; + $self->error("ERROR_WHILE_CHANGING_CONF"); + } + return undef ; +} + +=head2 fetchmail_change_account + +This method remove an external mail account or set +the data in the display for modification. + +=cut + +sub fetchmail_change_account { + my $self = shift ; + my $q = $self->{cgi} ; + my $rec = get_temp_rec( $self ) ; + + $self->debug_msg("Start of sub 'fetchmail_change_account'.") ; + my $ghost = $q->param('ghost') ; + $self->debug_msg("\$ghost = $ghost") ; + my $mailserver = $q->param('mail-server') ; + $self->debug_msg("\$mailserver = $mailserver") ; + my $action = $q->param('action') ; + $self->debug_msg("\$action = $action") ; + my $user = $q->param('user') ; + $self->debug_msg("\$user = $user") ; + my $data = $q->param('data') ; + $self->debug_msg("\$data = $data") ; + my $u = $accountdb->get($user); + + if ( $action eq 'remove' ) { + $self->debug_msg("account to remove.") ; + + my @fetchdata1 = split( RS, $q->param('DataHide') ) ; + $self->debug_msg("DataHide : " . $q->param('DataHide') ) ; + my @fetchdata2 ; + foreach my $t ( @fetchdata1 ) { + push @fetchdata2, $t if ( $t ne $data ) ; + } + $self->debug_msg("\@fetchdata2 : " . join( "-", @fetchdata2 ) ) ; + $q->param({-name=>'DataHide', -value=>join( RS, @fetchdata2 ) }) ; + $self->debug_msg("DataHide : " . $q->param('DataHide') ) ; + } else { + my @DataTmp = split( FS, $data ); + $self->debug_msg("account to modify.") ; + # Just store the data to change, and start the page again + $rec->set_prop('AccountMod', $data) ; + } + $self->debug_msg("'fetchmail_change_account' : \$self->wherenext(\"SetAccounts\");") ; + $self->wherenext("SetAccounts"); + # $self->debug_msg("'fetchmail_change_account' : \$self->success();") ; + # $self->success(); + return undef ; +} + +=head2 display_general + +This method displays accounts value if it's +an account modification. + +=cut + +sub display_general { + my $self = shift ; + my $Field = shift ; + my $q = $self->{cgi}; + my $rec = get_temp_rec($self) ; + + $self->debug_msg("'display_general' begins.") ; + my $ghost = $q->param('ghost') || 'NO' ; + my $debug = $q->param('debug') || 'NO' ; + my $keep = $q->param('mail-keep') || 'NO' ; + my $forwarder = $q->param('forward-mail') || '' ; + $forwarder =~ s/\s//g ; + if ( defined $rec->prop('SetGeneral') ) { + my @tmp = split ( FS, $rec->prop('SetGeneral') ) ; + $ghost = $tmp[0] ; + $debug = $tmp[1] ; + $keep = $tmp[2] ; + $forwarder = $tmp[3] ; + } + return $ghost if ( $Field eq 'ghost' ) ; + return $debug if ( $Field eq 'debug' ) ; + return $keep if ( $Field eq 'keep' ) ; + return $forwarder if ( $Field eq 'forwarder' ) ; + $self->debug_msg("'display_general' ends.") ; +} + +=head2 display_account + +This method displays accounts value if it's +an account modification. + +=cut + +sub display_account { + my $self = shift ; + my $Field = shift ; + my $q = $self->{cgi}; + my $rec = get_temp_rec($self) ; + + $self->debug_msg("'display_account' begins.") ; + my $data = "" . FS . "POP3" . FS . "" . FS . "" ; + $data = $rec->prop('AccountMod') if ( defined $rec->prop('AccountMod') ) ; + $self->debug_msg("\$Field = $Field.") ; + $self->debug_msg("\$data = $data.") ; + my @Rec = split ( FS, $data ) ; + return $Rec[0] if ( $Field eq 'Server' ) ; + return $Rec[1] if ( $Field eq 'Type' ) ; + return CGI::escapeHTML(pack("H*", $Rec[2] || '' )) if ( $Field eq 'Account' ) ; + return CGI::escapeHTML(pack("H*", $Rec[3] || '' )) if ( $Field eq 'Password' ) ; + return CGI::escapeHTML(pack("H*", $Rec[4] || '' )) if ( $Field eq 'Options' ) ; + + $self->debug_msg("'display_account' ends.") ; +} + +=head2 show_copy_to + +This method displays a list of internals users +to witch incoming mails should be copied. + +=cut + +sub show_copy_to { + my $self = shift ; + my $q = $self->{cgi}; + my $rec = get_temp_rec($self) ; + + # retrieve users Data... + $self->debug_msg("'show_copy_to' begins.") ; + my @users = $accountdb->get('admin'); + push @users, $accountdb->users(); + + # print array header + print ""; + print $q->start_table({-class => 'sme-border'}), "\n"; + print $q->Tr( + esmith::cgi::genSmallCell($q, $self->localise('LABEL_COPY_TO'), "header"), + esmith::cgi::genSmallCell($q, $self->localise('LABEL_USER_ACCOUNT'), "header",), + esmith::cgi::genSmallCell($q, $self->localise('LABEL_USER_NAME'), "header",), "\n", + ); + + # populate the array + # which account is under configuration ? + my $account = $q->param('user') ; + # maybe already some accounts configured ? + my $ua = $accountdb->get($account) ; + my $MailCopyTo = $ua->prop('FM-MailCopyTo') || '' ; + $self->debug_msg("\$MailCopyTo from user account is : $MailCopyTo.") ; + $MailCopyTo = $rec->prop('FM-MailCopyTo') if ( defined $rec->prop('FM-MailCopyTo') ) ; + $self->debug_msg("\$MailCopyTo from temp database is : $MailCopyTo.") ; + foreach my $u ( @users ) { + my $user = $u->key(); + my $name = $u->prop('FirstName') . " " . $u->prop('LastName'); + my $CheckBox = "Tr( + esmith::cgi::genSmallCell($q, $CheckBox), + esmith::cgi::genSmallCell($q, $user || ' '), + esmith::cgi::genSmallCell($q, $name || ' '), + "\n", + ); + } + print $q->end_table,"\n"; + print ''; + + print $q->end_table,"\n"; + print $q->table({-width => '100%'}, $q->Tr($q->th({-class => 'sme-layout'}, + $q->submit( -name => 'cancel', + -value => $self->localise('CANCEL')), + ' ', + $q->submit( -name => 'next', + -value => $self->localise('NEXT'))))); + print ''; + + # Everythings is fine ;-) + $self->debug_msg("'show_copy_to' ends.") ; + return undef ; +} + +=head2 temp_store_general + +This method store the 'generals attributes' for a mailbox. + +=cut + +sub temp_store_general { + my $self = shift ; + my $q = $self->{cgi} ; + my $rec = get_temp_rec($self) ; + $self->debug_msg("Start of sub 'store_general'.") ; + # account name to work on + my $user = $q->param('user') ; + $self->debug_msg("\$user = $user") ; + my $ghost = $q->param('ghost') || 'NO' ; + my $debug = $q->param('debug') || 'NO' ; + my $keep = $q->param('mail-keep') || 'NO' ; + my $forwarder = $q->param('forward-mail') || '' ; + $forwarder =~ s/\s//g ; + $keep =~ s/^KEEP_(.*)$/$1/ ; + $self->debug_msg("\$ghost=$ghost \$debug=$debug"); + $self->debug_msg("\$keep=$keep \$forwarder=$forwarder"); + my $SetGeneral = join ( FS, $ghost, $debug, $keep, $forwarder) ; + $rec->set_prop( 'SetGeneral', $SetGeneral ) ; + # Did not find a wyse mode to scan only the checkboxes + # So I scan all params, filtering on the name sequence, who needs + # to begin by 'CopyTo_' + my @CheckBoxes ; + my @ChTest = $self->{cgi}->param() ; + foreach my $CheckBox ( @ChTest ) { + if ( $CheckBox =~ s/^CopyTo_(.*)$/$1/ ) { + $self->debug_msg("'store_general' : \$Checkbox=$CheckBox"); + push @CheckBoxes, $CheckBox ; + } + } + $rec->set_prop('FM-MailCopyTo', join( ",", @CheckBoxes) ) ; + $self->debug_msg("FM-MailCopyTo=" . join(",", @CheckBoxes) ); + + if ( $q->param('cancel') ) { + # Cancel all change and go to the first page + $self->debug_msg("The 'Cancel' Button was selected.") ; + my $button = 'cancel' ; + $q->delete($button) ; + $rec->delete ; + $self->debug_msg("\$self->wherenext(\"First\");") ; + $self->wherenext("First") ; + } + + if ( $ghost eq 'YES' && scalar( @CheckBoxes ) == 0 && $forwarder eq '' ) { + # we have a problem : no final recipinet designed ! + $self->debug_msg("'temp_store_general' : No final recipient defined.") ; + $self->error("ERROR_NO_FINAL_RECIPIENT") ; + $self->wherenext("SetGeneral") ; + } + return undef ; +} + +=head2 fetchmail_routing + +This method change the 'POP3 and IMAP4 routing' mode of Fetchmail + +=cut + +sub fetchmail_routing { + my $self = shift ; + $self->debug_msg("Start of sub 'fetchmail_routing'.") ; + my $current = $self->{cgi}->param('CurrentPOP') ; + $self->debug_msg("'fetchmail_routing' : \$current = $current") ; + my $FM = $db->get('FetchMails') + || ($self->error('ERR_NO_FETCHMAIL_RECORD') and return undef); + if ( $current ) { + $FM->set_prop("Routing", "NO") ; + $self->debug_msg("'fetchmail_routing' : fetchmail disabled.") ; + } else { + $FM->set_prop("Routing", "YES") ; + $self->debug_msg("'fetchmail_routing' : fetchmail enabled.") ; + } + if (system ("/sbin/e-smith/signal-event", "fetchmail-routing") == 0) { + $self->success("SUCCESSFULLY_MODIFIED_ROUTING"); + $self->debug_msg("'fetchmail_routing' : masq update OK.") ; + } else { + $self->error("ERROR_WHILE_MODIFYING_ROUTING"); + $self->debug_msg("'fetchmail_routing' : masq update fails.") ; + } + return undef ; +} + +=head2 fetchmail_routingSMTP + +This method change the 'SMTP routing' mode of Fetchmail +to be removed, not used anymore on SME 10 + +=cut + +sub fetchmail_routingSMTP { + return undef ; + my $self = shift ; + $self->debug_msg("Start of sub 'fetchmail_routingSMTP'.") ; + my $current = $self->{cgi}->param('CurrentSMTP') ; + $self->debug_msg("'fetchmail_routingSMTP' : \$current = $current") ; + my $FM = $db->get('FetchMails') + || ($self->error('ERR_NO_FETCHMAIL_RECORD') and return undef); + if ( $current ) { + $FM->set_prop("RoutingSMTP", "NO") ; + $self->debug_msg("'fetchmail_routingSMTP' : fetchmail disabled.") ; + } else { + $FM->set_prop("RoutingSMTP", "YES") ; + $self->debug_msg("'fetchmail_routingSMTP' : fetchmail enabled.") ; + } + if (system ("/sbin/e-smith/signal-event", "fetchmail-routing") == 0) { + $self->success("SUCCESSFULLY_MODIFIED_ROUTINGSMTP"); + $self->debug_msg("'fetchmail_routingSMTP' : masq update OK.") ; + } else { + $self->error("ERROR_WHILE_MODIFYING_ROUTINGSMTP"); + $self->debug_msg("'fetchmail_routingSMTP' : masq update fails.") ; + } + return undef ; +} + +=head2 fetchmail_SMTPProxy + +This method change the state of the SME SMTP Proxy +to be removed, not used anymore on SME 10 + +=cut + +sub fetchmail_SMTPProxy { + return undef ; + my $self = shift ; + $self->debug_msg("Start of sub 'fetchmail_SMTPProxy'.") ; + my $current = $self->{cgi}->param('CurrentSMTPProxy') ; + $self->debug_msg("'fetchmail_SMTPProxy' : \$current = $current") ; + # we need also information about smtpfront-qmail + # PS 2005/08/02 -> 1.3.4-05 + # SME7 no longer use smtpfront-qmail, but use smtpd instead + my $SysConfig = $db->get('sysconfig') ; + my $SMEVersion = ( $SysConfig->prop('ReleaseVersion') || 0 ) ; + $SMEVersion =~ s/^(\d+)\..*$/$1/ ; + my $MailSystem = 'smtpfront-qmail' ; + $MailSystem = 'smtpd' if ( $SMEVersion > 6 ) ; + $self->debug_msg("'fetchmail_SMTPProxy' : Major Version = $SMEVersion - Mailsystem = $MailSystem.") ; + my $SmtpProxy = $db->get($MailSystem) + or ($self->error('ERR_NO_SMTPFRONT-QMAIL_RECORD') and return undef) ; + if ( $current ) { + $SmtpProxy->set_prop("Proxy", "disabled") ; + $self->debug_msg("'fetchmail_SMTPProxy' : SMTP Proxy disabled.") ; + } else { + $SmtpProxy->set_prop("Proxy", "enabled") ; + $self->debug_msg("'fetchmail_SMTPProxy' : SMTP Proxy enabled.") ; + } + if (system ("/sbin/e-smith/signal-event", "remoteaccess-update") == 0) { + $self->success("SUCCESSFULLY_MODIFIED_SMTPPROXY"); + $self->debug_msg("'fetchmail_SMTPProxy' : $MailSystem update OK.") ; + } else { + $self->error("ERROR_WHILE_MODIFYING_SMTPPROXY"); + $self->debug_msg("'fetchmail_SMTPProxy' : $MailSystem update fails.") ; + } + return undef ; +} + +=head2 fetchmail_routing + +This method change the 'NNTP routing' mode of Fetchmail + +=cut + +sub fetchmail_routingNNTP { + my $self = shift ; + $self->debug_msg("Start of sub 'fetchmail_routingNNTP'.") ; + my $current = $self->{cgi}->param('CurrentNNTP') ; + $self->debug_msg("'fetchmail_routingNNTP' : \$current = $current") ; + my $FM = $db->get('FetchMails') + || ($self->error('ERR_NO_FETCHMAIL_RECORD') and return undef); + if ( $current ) { + $FM->set_prop("RoutingNNTP", "NO") ; + $self->debug_msg("'fetchmail_routingNNTP' : fetchmail disabled.") ; + } else { + $FM->set_prop("RoutingNNTP", "YES") ; + $self->debug_msg("'fetchmail_routingNNTP' : fetchmail enabled.") ; + } + if (system ("/sbin/e-smith/signal-event", "fetchmail-routing") == 0) { + $self->success("SUCCESSFULLY_MODIFIED_ROUTINGNNTP"); + $self->debug_msg("'fetchmail_routingNNTP' : masq update OK.") ; + } else { + $self->error("ERROR_WHILE_MODIFYING_ROUTINGNNTP"); + $self->debug_msg("'fetchmail_routingNNTP' : masq update fails.") ; + } + return undef ; +} + +=head2 validate_change + +This method is launched by any button on the second page. +Upon button choice, many possibility : +Go one page back, Cancel any change and go back to +The first page, Validate Change and go back on the first +page with a success message, valid_account validate an +account and stay on the same page. + +=cut + +sub validate_change { + my $self = shift ; + my $q = $self->{cgi} ; + my $rec = get_temp_rec($self) ; + + $self->debug_msg("Start of 'validate_change'.") ; + # We have to gather a lot of informations... + my $user = $q->param('user') ; + my $name = $q->param('name') ; + my $server = $q->param('mail-server') || '' ; + my $type = $q->param('mail-type') || 'POP3' ; + my $account = $q->param('mail-account') || '' ; + my $password = $q->param('mail-password') || '' ; + my $options = $q->param('mail-options') || '' ; + # it's better to store account and password in + # hex form (to avoid clash with some special characters) + $account = unpack( "H*", CGI::unescapeHTML( $account ) ) ; + $password = unpack( "H*", CGI::unescapeHTML( $password ) ) ; + # Finally, it's also better to store fetchmail options in hex (PS 2014-03-09) + $options = unpack( "H*", CGI::unescapeHTML( $options ) ) ; + # We need to clean-up the destination cases + $q->delete('mail-server'); + $q->delete('mail-type'); + $q->delete('mail-account'); + $q->delete('mail-password'); + $q->delete('mail-options'); + + $self->debug_msg("\$user = $user."); + $self->debug_msg("\$name = $name."); + $self->debug_msg("\$server = $server."); + $self->debug_msg("\$type = $type."); + $self->debug_msg("\$account = $account."); + $self->debug_msg("\$password = $password."); + $self->debug_msg("\$options = $options."); + + my @accounts ; + my $DataHide = $rec->prop('DataHide') || '' ; + if ( $DataHide ne '' ) { + @accounts = split ( RS, $DataHide ) ; + } + $self->debug_msg("\@accounts = " . join ( "-", @accounts ) . "." ); + my %accountsort ; + foreach my $line ( @ accounts ) { + $accountsort{ $line } = $line if ( $line ne 'empty' ) ; + } + my $AccountMod = $rec->prop('AccountMod') || '' ; + $self->debug_msg("\$AccountMod = $AccountMod."); + if ( $AccountMod ne '' ) { + delete $accountsort{ $AccountMod } if ( $server ne '' ) ; + $rec->delete_prop('AccountMod') ; + } + # if $server is not empty, we need to store the 5 values in DataHide + # FormMagik has already checked if the data seems valids. + if ( $server ne '' ) { + my $data = join( FS, $server, $type, $account, $password, $options ) ; + $accountsort{ $data } = $data ; + } + # Special case : We already check if a 'REMOVE' button was depressed + my @ChTest = $self->{cgi}->param() ; + my $deleteButton = 0 ; + my $button = ''; + foreach my $Button ( @ChTest ) { + if ( $Button =~ s/^DEL_(.*)$/$1/ ) { + $self->debug_msg("Button DEL_$Button"); + if ( $q->param('DEL_' . $Button) ) { + $self->debug_msg("The 'DEL_$Button' was selected.") ; + delete $accountsort{ $Button } ; + $button = 'DEL_' . $Button ; + $q->delete($button) ; + $deleteButton = 1 ; + } + } + } + + # it's time to update DataHide + @accounts = () ; + foreach my $line ( sort keys %accountsort ) { + push @accounts, $line ; + } + $DataHide = 'empty' ; + $DataHide = join( RS, @accounts ) if ( $#accounts > -1 ) ; + $self->debug_msg("\$DataHide is updated to $DataHide") ; + $rec->set_prop('DataHide', $DataHide) ; + + # Now, we vant to know witch button was depressed. + # If the button is a 'REMOVE' Button, we already know + if ( $deleteButton ) { + $self->debug_msg("'validate_change' : \$self->wherenext(\"SetAccounts\");") ; + $self->wherenext("SetAccounts"); + } + if ( $q->param('previous') ) { + # go to previous page... + $self->debug_msg("The 'Previous' Button was selected.") ; + $button = 'previous' ; + $q->delete($button) ; + $self->debug_msg("'validate_change' : \$self->wherenext(\"SetGeneral\");") ; + $self->wherenext("SetGeneral"); + } + if ( $q->param('cancel') ) { + # Cancel all change and go to the first page + $self->debug_msg("The 'Cancel' Button was selected.") ; + $button = 'cancel' ; + $q->delete($button) ; + $rec->delete ; + $self->debug_msg("'validate_change' : \$self->wherenext(\"First\");") ; + $self->wherenext("First") ; + } + if ( $q->param('validate') ) { + # (Try to) validate all changes and go to the first page + $self->debug_msg("The 'Validate' Button was selected.") ; + $button = 'validate' ; + $q->delete($button) ; + my $FetchMailAccounts = $rec->prop('DataHide') ; + $FetchMailAccounts = '' if ( $FetchMailAccounts eq 'empty' ) ; + my @tmp = split( RS, $FetchMailAccounts ) ; + my $NumBox = $#tmp + 1 ; + my @SetGeneral = split ( FS, $rec->prop('SetGeneral') ) ; + my $MailCopyTo = $rec->prop('FM-MailCopyTo') ; + $self->debug_msg("Ready to update the user account (ta-daa !)"); + $self->debug_msg("\$FetchMailAccounts = $FetchMailAccounts"); + $self->debug_msg("\@SetGeneral = " . join( "-", @SetGeneral ) ); + $self->debug_msg("\$MailCopyTo = $MailCopyTo"); + my $user = $q->param('user'); + $self->debug_msg("\$user = $user."); + my $u = $accountdb->get($user); + if ( $NumBox > 0 ) { + $u->set_prop('FM-NumBox', $NumBox ) ; + $u->set_prop('FM-Accounts', $FetchMailAccounts ) ; + $u->set_prop('FM-MailCopyTo', $MailCopyTo ) ; + $u->set_prop('FM-Ghost', $SetGeneral[ 0 ] ) ; + $u->set_prop('FM-DebugOption', $SetGeneral[ 1 ] ) ; + $u->set_prop('FM-KeepOption', $SetGeneral[ 2 ] ) ; + $u->set_prop('FM-TransName', $SetGeneral[ 3 ] ) ; + } else { # no mailboxes, remove fetchmails datas + $u->delete_prop('FM-NumBox') if (defined $u->prop('FM-NumBox') ) ; + $u->delete_prop('FM-Accounts') if (defined $u->prop('FM-Accounts') ) ; + $u->delete_prop('FM-MailCopyTo') if (defined $u->prop('FM-MailCopyTo') ) ; + $u->delete_prop('FM-Ghost') if (defined $u->prop('FM-Ghost') ) ; + $u->delete_prop('FM-DebugOption') if (defined $u->prop('FM-DebugOption') ) ; + $u->delete_prop('FM-KeepOption') if (defined $u->prop('FM-KeepOption') ) ; + $u->delete_prop('FM-TransName') if (defined $u->prop('FM-TransName') ) ; + } + $rec->delete ; + # temp databas cleanup, if needed + my $removed = temp_database_cleanup($self) ; + # We now must regenerate all configs files... + if (system ("/sbin/e-smith/signal-event", "fetchmail-change") == 0) { + $self->debug_msg("'fetchmail_change' : files update OK.") ; + $self->success("SUCCESSFULLY_CHANGED_CONF"); + } else { + $self->debug_msg("'fetchmail_change' : files update fails.") ; + $self->error("ERROR_WHILE_CHANGING_CONF"); + } + } + if ( $q->param('valid_account') ) { + # Temp Store Account set/update, goto same page. + $self->debug_msg("The 'Valid_Account' Button was selected.") ; + $button = 'valid_account' ; + $q->delete($button) ; + $self->debug_msg("'validate_change' : \$self->wherenext(\"SetAccounts\");") ; + $self->wherenext("SetAccounts"); + } + # Did not find a wyse mode to scan only the Buttons + # So I scan all params, filtering on the name sequence, who needs + # to begin by 'MOD_' + # my @ChTest = $self->{cgi}->param() ; + foreach my $Button ( @ChTest ) { + if ( $Button =~ s/^MOD_(.*)$/$1/ ) { + $self->debug_msg("Button $Button"); + if ( $q->param('MOD_' . $Button) ) { + $self->debug_msg("The '$Button' was selected.") ; + $rec->set_prop('AccountMod', $Button) ; + $self->debug_msg("'AccountMod' = " . $rec->prop('AccountMod') ) ; + $button = 'MOD_' . $Button ; + $q->delete($button) ; + $self->debug_msg("'validate_change' : \$self->wherenext(\"SetAccounts\");") ; + $self->wherenext("SetAccounts"); + } + } + } + + # End of method + $self->debug_msg("End of 'validate_change'.") ; +} + +=head2 remove_fetchmail_user + +This method removes the fetchmails parameters for a user + +=cut + +sub remove_fetchmail_user { + my $self = shift ; + my $q = $self->{cgi} ; + + $self->debug_msg("Start of sub 'remove_fetchmail_user'.") ; + my $user = $q->param('user') ; + $self->debug_msg("\$user = $user") ; + my $u=$accountdb->get($user) ; + $u->delete_prop('FM-NumBox') if (defined $u->prop('FM-NumBox') ) ; + $u->delete_prop('FM-Accounts') if (defined $u->prop('FM-Accounts') ) ; + $u->delete_prop('FM-MailCopyTo') if (defined $u->prop('FM-MailCopyTo') ) ; + $u->delete_prop('FM-Ghost') if (defined $u->prop('FM-Ghost') ) ; + $u->delete_prop('FM-DebugOption') if (defined $u->prop('FM-DebugOption') ) ; + $u->delete_prop('FM-KeepOption') if (defined $u->prop('FM-KeepOption') ) ; + $u->delete_prop('FM-TransName') if (defined $u->prop('FM-TransName') ) ; + # We now must regenerate all configs files... + if (system ("/sbin/e-smith/signal-event", "fetchmail-change") == 0) { + $self->debug_msg("'fetchmail_change' : files update OK.") ; + $self->success("SUCCESSFULLY_CHANGED_CONF"); + } else { + $self->debug_msg("'fetchmail_change' : files update fails.") ; + $self->error("ERROR_WHILE_CHANGING_CONF"); + } + return undef ; +} + +=head2 show_fetchmail_status + +This method show the current status of fetchmail (enabled or disabled) +and allow the status change + +=cut + +sub show_schedule_infos { + my $self = shift ; + my $q = $self->{cgi} ; + # Create a box with some explanations ... + print "
\n" ; + print "\n" ; + print "
" . $self->localise('SHOW_SCHEDULE_INFOS') . "
\n" ; + print "
\n" ; + + return undef ; +} + +1; diff --git a/root/var/lib/fetchmail/.gitignore b/root/var/lib/fetchmail/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/smeserver-fetchmail.spec b/smeserver-fetchmail.spec new file mode 100644 index 0000000..90ed795 --- /dev/null +++ b/smeserver-fetchmail.spec @@ -0,0 +1,154 @@ +# $Id: smeserver-fetchmail.spec,v 1.15 2024/09/05 03:40:58 terryfage Exp $ +# Authority: unnilennium +# Name: Jean-Philippe Pialasse + +Summary: sme module to generate fetchmail poll +%define name smeserver-fetchmail +Name: %{name} +%define version 1.6 +%define release 28 +%define smepanel FetchMails +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: smeserver-release >= 10.0 +Requires: e-smith-email >= 5.6.0-18 +Requires: e-smith-formmagick >= 1.4.0-12 +# for spamcheck on SME9; on SME10 0.96-19 and 2.6.0-32 +Requires: qpsmtpd >= 0.96-11 +Requires: smeserver-qpsmtpd >= 2.4.0-39 +BuildRequires: e-smith-devtools >= 1.13.1-03 +Obsoletes: sme-fetchmail +Obsoletes: smeserver-fetchmail-utf8 +AutoReqProv: no + +%changelog +* Sat Sep 07 2024 cvs2git.sh aka Brian Read 1.6-28.sme +- Roll up patches and move to git repo [SME: 12338] + +* Sat Sep 07 2024 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + +* Thu Sep 05 2024 Terry Fage 1.6-27.sme +- Apply locale 2024-09-05.patch + +* Fri Nov 11 2022 Jean-Philippe Pialasse 1.6-26.sme +- Apply locale 2022-11-11 patch + +* Thu Jul 28 2022 Jean-Philippe Pialasse 1.6-24.sme +- fix fetchmail restart downloading all emails after reboot [SME: 11979] + thanks to Stefano Zamboni for debuging and original fix. + +* Fri Jul 22 2022 Jean-Philippe Pialasse 1.6-23.sme +- apply locale patch 2022-07-22 + +* Wed Nov 17 2021 Jean-Philippe Pialasse 1.6-22.sme +- fix panel [SME: 11058] + removed SMTP proxy and blocking option and redirect to Proxy panel + TODO: module cleanup and cleanup of unused properties + +* Thu Oct 21 2021 Terry Fage 1.6-21.sme +- fix template 60fetchmail force spamcheck [SME: 10289] + +* Tue Oct 12 2021 Terry Fage 1.6-20.sme +- fix template 60fetchmail force spamcheck [SME: 10538] + +* Sun Aug 22 2021 Terry Fage 1.6-19.sme +- apply locale 2021-08-22 patch + +* Fri Mar 26 2021 Brian Read 1.6-18.sme +- Add Update event to createlinks [SME: 11058] + +* Fri Mar 26 2021 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + Fri Sep 24 2015 --> Fri Sep 18 2015 or Thu Sep 24 2015 or Fri Sep 25 2015 or .... + +* Sun Dec 27 2020 Brian Read 1.6-17.sme +- Switch-smptd-to-qpsmtpd-in-panel-perl [SME: 11058] + +* Tue Oct 27 2020 Brian Read 1.6-16.sme +- Initial import to SME10 tree [SME: 11058] + +* Sat Dec 07 2019 SME Translation Server 1.6-15.sme +- apply locale 2019-12-07 patch + +* Fri Dec 14 2018 John Crisp 1.6.14.sme +- apply locale 2018-12-14 patch + +* Sun Mar 11 2018 Jean-Philipe Pialasse 1.6-13.sme +- Add Update event to createlinks no spamcheck anymore for fetchmail [SME: 10290] + +* Sat Dec 02 2017 SME Translation Server 1.6-12.sme +- apply locale 2017-12-02 patch + +* Fri May 26 2017 Jean-Philipe Pialasse 1.6-11.sme +- added option field for sslfingerprint compatibility [SME: 8287] + +* Wed Jan 13 2016 Daniel Berteaud 1.6-10.sme +- Update event handling (remove broken symlinks) [SME: 9185] + +* Fri Jan 8 2016 Daniel Berteaud 1.6-9.sme +- Update iptables rules to prevent warning when starting masq [SME: 9180] + +* Thu Sep 24 2015 Daniel Berteaud 1.6-8.sme + Fri Sep 24 2015 --> Fri Sep 18 2015 or Thu Sep 24 2015 or Fri Sep 25 2015 or .... +- Fix bounce looping each time mails are fetch in case of + permanent delivery failure [SME: 9074] + +* Sat Aug 22 2015 stephane de Labrusse 1.6-7.sme +- Initial release to contribs9 + +* Fri Feb 06 2015 stephane de Labrusse 1.6-6.sme +- Corrected a typo in the detection of smtpd port in the template 90fetchmail + +* Mon Jan 12 2015 stephane de Labrusse 1.6-4.sme +- Add settings if smtpd TCPPort set to a non default value [sme: 8797] +- code done by ecureuil + +* Sun Nov 2 2014 stephane de Labrusse 1.6-3.sme +- Recovery of large attachments with fetchmail [SME:8630] + +* Sun Oct 5 2014 stephane de Labrusse 1.6-2.sme +- bug of .gitignore in /etc/e-smith/web/panels/manager/cgi-bin + +* Sat Jun 21 2014 stephane de Labrusse 1.6-1.sme +- Initial release to sme9 + +* Sun Jul 14 2013 JP Pialasse 1.4-2.sme +- apply locale 2013-07-14 patch + +* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 1.4-1.sme +- Initial version + +%description +sme server enhancement to make fetchmail more useable + +%prep +%setup +mkdir -p root/var/lib/fetchmail + +%build +perl createlinks +echo "%{version}-%{release}" >root/etc/e-smith/db/configuration/defaults/%{smepanel}/version + +%install +rm -rf $RPM_BUILD_ROOT +(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) +rm -f %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ + --dir /var/lib/fetchmail 'attr(0750,qmailr,qmail)' \ + > %{name}-%{version}-filelist +echo "%doc COPYING" >> %{name}-%{version}-filelist + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}-%{version}-filelist +%defattr(-,root,root)