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..ca6e8cb --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: smeserver-expire-accounts +# $Id: Makefile,v 1.1 2022/08/02 06:35:20 jpp Exp $ +NAME := smeserver-expire-accounts +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 3e351de..4416bea 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ -# smeserver-expire-accounts +# smeserver-expire-accounts -SMEServer Koozali developed git repo for smeserver-expire-accounts smecontribs \ No newline at end of file +SMEServer Koozali developed git repo for smeserver-expire-accounts smecontribs + +## Wiki +
https://wiki.koozali.org/ + +## Bugzilla +Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-expire-accounts&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/.tito/packages/.readme b/additional/.tito/packages/.readme new file mode 100644 index 0000000..b9411e2 --- /dev/null +++ b/additional/.tito/packages/.readme @@ -0,0 +1,3 @@ +the .tito/packages directory contains metadata files +named after their packages. Each file has the latest tagged +version and the project's relative directory. diff --git a/additional/.tito/packages/smeserver-expire-accounts b/additional/.tito/packages/smeserver-expire-accounts new file mode 100644 index 0000000..8aecd70 --- /dev/null +++ b/additional/.tito/packages/smeserver-expire-accounts @@ -0,0 +1 @@ +0.1.8-1 ./ diff --git a/additional/.tito/releasers.conf b/additional/.tito/releasers.conf new file mode 120000 index 0000000..867c32f --- /dev/null +++ b/additional/.tito/releasers.conf @@ -0,0 +1 @@ +../../tito_libs/releasers.conf \ No newline at end of file diff --git a/additional/.tito/tito.props b/additional/.tito/tito.props new file mode 100644 index 0000000..3c97442 --- /dev/null +++ b/additional/.tito/tito.props @@ -0,0 +1,6 @@ +[buildconfig] +builder = tito.builder.Builder +tagger = tito.tagger.VersionTagger +changelog_do_not_remove_cherrypick = 0 +changelog_format = %s (%ae) +lib_dir = ../tito_libs diff --git a/additional/po/bg/expire-accounts.po b/additional/po/bg/expire-accounts.po new file mode 100644 index 0000000..b328ee3 --- /dev/null +++ b/additional/po/bg/expire-accounts.po @@ -0,0 +1,64 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "Този акаунт не е mailalias" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Системен администратор" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "Няма потребителски акаунти в системата." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "Няма потребителски акаунти в системата." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Няма потребителски акаунти в системата." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Няма потребителски акаунти в системата." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Моля въведете детайлите по активирането" diff --git a/additional/po/da/expire-accounts.po b/additional/po/da/expire-accounts.po new file mode 100644 index 0000000..ffcffb7 --- /dev/null +++ b/additional/po/da/expire-accounts.po @@ -0,0 +1,68 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "Din email er videresendt til %s" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "Denne videresend er midlertidig, du bør oopdatere din adressebog" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "Denne konto er ikke længere gyldig" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "Dette er et automatisk svar på din email med følgende emne:" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "Beklager, men denne email adresse er ikke længere gyldig." + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "Bemærk venligst, at dette er en automatisk email. Bevar ikke, svaret vil ikke blive behandlet" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Systemadministrator" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "Advis om udløb af konto" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "En eller flere bruger konti vil snart udløbe" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "" +"De følgende bruger konti vil snart udløbe:\n" +"\n" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "%s vil udløbe om % dage" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Din bruger konto vil snart udløbe" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Din bruger konto vil udløbe om % dage, derefter vil den blive låst" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Kontakt din netværksadministrator for yderligere detaljer." diff --git a/additional/po/de/expire-accounts.po b/additional/po/de/expire-accounts.po new file mode 100644 index 0000000..de0ef04 --- /dev/null +++ b/additional/po/de/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "Dieses Konto ist kein Pseudonym" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Systemadministrator" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "Es gibt keine Benutzerkonten auf diesem System." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "Es gibt keine Benutzerkonten auf diesem System." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Es gibt keine Benutzerkonten auf diesem System." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Es gibt keine Benutzerkonten auf diesem System." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Bitte geben Sie Einzelheiten zu Ihrer Registrierung ein" diff --git a/additional/po/el/expire-accounts.po b/additional/po/el/expire-accounts.po new file mode 100644 index 0000000..d6d0fd1 --- /dev/null +++ b/additional/po/el/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "Η ονομασία λογαριασμού που πληκτρολογήσατε δεν είναι έγκυρη." + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Διαχειριστής συστήματος" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "Δεν υφίστανται λογαριασμοί χρηστών στο σύστημα." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "Δεν υφίστανται λογαριασμοί χρηστών στο σύστημα." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Δεν υφίστανται λογαριασμοί χρηστών στο σύστημα." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Δεν υφίστανται λογαριασμοί χρηστών στο σύστημα." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Εισάγετε τα στοιχεία εγγραφής σας" diff --git a/additional/po/es/expire-accounts.po b/additional/po/es/expire-accounts.po new file mode 100644 index 0000000..6530d93 --- /dev/null +++ b/additional/po/es/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "El nombre de cuenta que escribió es inválido." + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Administrador de Sistema" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "No hay cuentas de usuario en el sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "No hay cuentas de usuario en el sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "No hay cuentas de usuario en el sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "No hay cuentas de usuario en el sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Por favor introduzca los detalles de su registro" diff --git a/additional/po/et/expire-accounts.po b/additional/po/et/expire-accounts.po new file mode 100644 index 0000000..720ecb6 --- /dev/null +++ b/additional/po/et/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "Sisestatud kasutajanime ei leitud." + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Süsteemi Administraator" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "Süsteemis pole kasutajakontosid." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "Süsteemis pole kasutajakontosid." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Süsteemis pole kasutajakontosid." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Süsteemis pole kasutajakontosid." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Palun sisesta oma registreerimise andmed" diff --git a/additional/po/fr/expire-accounts.po b/additional/po/fr/expire-accounts.po new file mode 100644 index 0000000..3d111f7 --- /dev/null +++ b/additional/po/fr/expire-accounts.po @@ -0,0 +1,68 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "Votre courriel a été expédié à %s" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "Ce renvoi n'est que temporaire, vous devez mettre à jour votre carnet d'adresses." + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "Ce compte n'est plus valide" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "Ceci est un message automatique en réponse à votre courriel dont le sujet est :" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "J'ai le regret de vous informer que cette adresse électronique n'est plus valide." + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "Veuillez noter que ceci est un courriel automatique. Ne pas répondre, il ne serait pas examiné" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Administrateur du système" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "Notification d'expiration de compte" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "Un ou plusieurs comptes utilisateur sont sur le point d'expirer" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "" +"Les comptes utilisateur suivants sont sur le point d'expirer :\n" +"\n" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "%s expireront dans %d jours" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Votre compte utilisateur est sur le point d'expirer" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Votre compte utilisateur expirera dans %d jours, après quoi il sera verrouillé" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Veuillez prendre contact avec votre administrateur réseau pour plus de détails." diff --git a/additional/po/he/expire-accounts.po b/additional/po/he/expire-accounts.po new file mode 100644 index 0000000..226e112 --- /dev/null +++ b/additional/po/he/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "מנהל מערכת" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "נא להזין את פרטי ההרשמה שלך" diff --git a/additional/po/hu/expire-accounts.po b/additional/po/hu/expire-accounts.po new file mode 100644 index 0000000..2f7f586 --- /dev/null +++ b/additional/po/hu/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "A megadott fióknév érvénytelen." + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Rendszer adminisztrátor" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "Nincsenek felhasználói fiókok ebben a rendszerben." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "Nincsenek felhasználói fiókok ebben a rendszerben." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Nincsenek felhasználói fiókok ebben a rendszerben." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Nincsenek felhasználói fiókok ebben a rendszerben." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Adja meg regisztrációs adatait" diff --git a/additional/po/id/expire-accounts.po b/additional/po/id/expire-accounts.po new file mode 100644 index 0000000..bbc6f0d --- /dev/null +++ b/additional/po/id/expire-accounts.po @@ -0,0 +1,64 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "Nama akun anda invalid" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Pengelola sistem" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "Tidak ada akun pengguna dalam sistem ini." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "Tidak ada akun pengguna dalam sistem ini." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Tidak ada akun pengguna dalam sistem ini." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Tidak ada akun pengguna dalam sistem ini." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Silakan masukan detail pendaftaran anda" diff --git a/additional/po/it/expire-accounts.po b/additional/po/it/expire-accounts.po new file mode 100644 index 0000000..4e2dd39 --- /dev/null +++ b/additional/po/it/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "Indirizzo(i) a cui inoltrare" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "L'account non è un mailalias" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Amministratore di sistema" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "Non ci sono utenti nel sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "Non ci sono utenti nel sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Non ci sono utenti nel sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Non ci sono utenti nel sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Inserire i dettagli relativi alla propria registrazione" diff --git a/additional/po/ja/expire-accounts.po b/additional/po/ja/expire-accounts.po new file mode 100644 index 0000000..c5e10ae --- /dev/null +++ b/additional/po/ja/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "システム管理者" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "登録する詳細を入力してください" diff --git a/additional/po/nb/expire-accounts.po b/additional/po/nb/expire-accounts.po new file mode 100644 index 0000000..414b8b4 --- /dev/null +++ b/additional/po/nb/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "Kontonavnet er ugyldig." + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Systemadministrator" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "Det er ingen brukere på systemet." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "Det er ingen brukere på systemet." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Det er ingen brukere på systemet." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Det er ingen brukere på systemet." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Skriv inn dine registreringsdetaljer" diff --git a/additional/po/nl/expire-accounts.po b/additional/po/nl/expire-accounts.po new file mode 100644 index 0000000..74db8ba --- /dev/null +++ b/additional/po/nl/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "De ingegeven accountnaam is ongeldig." + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Systeembeheerder" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "Er zijn geen gebruikeraccounts op dit systeem." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "Er zijn geen gebruikeraccounts op dit systeem." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Er zijn geen gebruikeraccounts op dit systeem." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Er zijn geen gebruikeraccounts op dit systeem." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Voer uw registratiegegevens in, a.u.b." diff --git a/additional/po/pl/expire-accounts.po b/additional/po/pl/expire-accounts.po new file mode 100644 index 0000000..4678098 --- /dev/null +++ b/additional/po/pl/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Administrator" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Wprowadź swoje dane" diff --git a/additional/po/pt/expire-accounts.po b/additional/po/pt/expire-accounts.po new file mode 100644 index 0000000..6c4d2fc --- /dev/null +++ b/additional/po/pt/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "O nome de conta digitado é inválido." + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Administrador do Sistema" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "Não há contas de usuário no sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "Não há contas de usuário no sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Não há contas de usuário no sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Não há contas de usuário no sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Por favor introduza os detalhes do seu registo" diff --git a/additional/po/pt_BR/expire-accounts.po b/additional/po/pt_BR/expire-accounts.po new file mode 100644 index 0000000..1730737 --- /dev/null +++ b/additional/po/pt_BR/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "O nome de conta digitado é inválido." + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Administrador do Sistema" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "Não há contas de usuário no sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "Não há contas de usuário no sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Não há contas de usuário no sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Não há contas de usuário no sistema." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Favor digitar seus detalhes de registro" diff --git a/additional/po/ro/expire-accounts.po b/additional/po/ro/expire-accounts.po new file mode 100644 index 0000000..f2d6708 --- /dev/null +++ b/additional/po/ro/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2;\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Administrator sistem" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Vă rugăm introduceţi datele dvs de înregistrare" diff --git a/additional/po/ru/expire-accounts.po b/additional/po/ru/expire-accounts.po new file mode 100644 index 0000000..2c8c1d9 --- /dev/null +++ b/additional/po/ru/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "Введено недопустимое имя учетной записи." + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Системный администратор" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "В системе нет учетных записей пользователей." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "В системе нет учетных записей пользователей." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "В системе нет учетных записей пользователей." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "В системе нет учетных записей пользователей." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Введите свои регистрационные данные" diff --git a/additional/po/sl/expire-accounts.po b/additional/po/sl/expire-accounts.po new file mode 100644 index 0000000..a75b013 --- /dev/null +++ b/additional/po/sl/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "Vneseno uporabnisko ime je napacno." + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Skrbnik sistema" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "Ta uporabniski racun ne obstaja." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "Ta uporabniski racun ne obstaja." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Ta uporabniski racun ne obstaja." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Ta uporabniski racun ne obstaja." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Prosim vpišite Vaše informacije za registracijo" diff --git a/additional/po/sv/expire-accounts.po b/additional/po/sv/expire-accounts.po new file mode 100644 index 0000000..803b4aa --- /dev/null +++ b/additional/po/sv/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "Kontonamnet som angivits är ogiltigt." + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Systemadministratör" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "Det finns inga användarkonton på detta system." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "Det finns inga användarkonton på detta system." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Det finns inga användarkonton på detta system." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Det finns inga användarkonton på detta system." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Ange dina registreringsdetaljer" diff --git a/additional/po/th/expire-accounts.po b/additional/po/th/expire-accounts.po new file mode 100644 index 0000000..af3ec34 --- /dev/null +++ b/additional/po/th/expire-accounts.po @@ -0,0 +1,64 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "ชื่อบัญชีที่ป้อนไม่ถูกต้อง" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "ผู้ดูแลระบบ" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "ไม่มีบัญชีผู้ใช้นี้ในระบบ" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "ไม่มีบัญชีผู้ใช้นี้ในระบบ" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "ไม่มีบัญชีผู้ใช้นี้ในระบบ" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "ไม่มีบัญชีผู้ใช้นี้ในระบบ" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "" diff --git a/additional/po/tr/expire-accounts.po b/additional/po/tr/expire-accounts.po new file mode 100644 index 0000000..c3cd0eb --- /dev/null +++ b/additional/po/tr/expire-accounts.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "Girilen hesap adı geçersiz!" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "Sistem Yöneticisi" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "Kullanıcı hesabı bulunamadı." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "Kullanıcı hesabı bulunamadı." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "Kullanıcı hesabı bulunamadı." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "Kullanıcı hesabı bulunamadı." + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "Lütfen kayıt ayrıntılarınızı girin" diff --git a/additional/po/zh_CN/expire-accounts.po b/additional/po/zh_CN/expire-accounts.po new file mode 100644 index 0000000..197f7ed --- /dev/null +++ b/additional/po/zh_CN/expire-accounts.po @@ -0,0 +1,64 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "输入的账号名称无效。" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "系统管理员" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "当前系统中暂时还没有用户账户。" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "当前系统中暂时还没有用户账户。" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "当前系统中暂时还没有用户账户。" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "当前系统中暂时还没有用户账户。" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "请输入你注册的详细信息" diff --git a/additional/po/zh_TW/expire-accounts.po b/additional/po/zh_TW/expire-accounts.po new file mode 100644 index 0000000..e6f1fb6 --- /dev/null +++ b/additional/po/zh_TW/expire-accounts.po @@ -0,0 +1,64 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:20 +msgid "Your mail has been forwarded to %s" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:21 +msgid "This forward is only temporary, you should update your addressbook." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:24 +msgid "This account is no longer valid" +msgstr "輸入的帳號名稱無效。" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:26 +msgid "This is an automatic message in reply to your email with the following subject:" +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:28 +msgid "I'm sorry to inform you that this email address is no longer valid." +msgstr "" + +#: root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message:29 +msgid "Please note that this is an automatic email. Do not respond, it won't be treated" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:11 +msgid "System Administrator" +msgstr "系統管理員" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:13 +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:13 +msgid "Account Expiration Notifier" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:16 +msgid "One or more user accounts will expire soon" +msgstr "系統中無使用者帳號。" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:21 +msgid "" +"The following user accounts will expire soon:\n" +"\n" +msgstr "系統中無使用者帳號。" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl:24 +msgid "%s will expire in %d days" +msgstr "" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:16 +msgid "Your user account will expire soon" +msgstr "系統中無使用者帳號。" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:21 +msgid "Your user account will expire in %d days, after what it will be locked" +msgstr "系統中無使用者帳號。" + +#: root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl:22 +msgid "Please contact your network administrator for more details." +msgstr "請輸入您註冊的資料" diff --git a/additional/smeserver-expire-accounts.spec b/additional/smeserver-expire-accounts.spec new file mode 100644 index 0000000..389d2c1 --- /dev/null +++ b/additional/smeserver-expire-accounts.spec @@ -0,0 +1,89 @@ +Summary: Expire and archive user accounts +Name: smeserver-expire-accounts +Version: 0.1.8 +Release: 1 +License: MIT +Group: Applications/System +Source: %{name}-%{version}.tar.gz + +BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot +BuildArchitectures: noarch +BuildRequires: e-smith-devtools +BuildRequires: gettext + +Requires: e-smith-base >= 5.2.0 +Requires: qmail +Requires: qmail-autoresponder +Requires: perl(DateTime) +Requires: xz +Requires: /bin/tar + +%description +With this, you can set an expiration date for user accounts + +%prep +%setup -q -n %{name}-%{version} + +%build +perl createlinks +/sbin/e-smith/generate-lexicons +%{__mkdir_p} root/home/e-smith/files/archives/users +%if 0%{?rhel} <= 5 +%{__mkdir_p} root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/ +mv root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/expireaccounts.pm \ + root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/ +%endif + +%install +/bin/rm -rf $RPM_BUILD_ROOT +(cd root; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) +/bin/rm -f %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ + --dir /home/e-smith/files/archives 'attr(0750,root,root)' \ + > %{name}-%{version}-filelist + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}-%{version}-filelist +%defattr(-,root,root) + +%pre + +%post + +%preun + +%changelog +* Thu Jul 15 2021 Daniel Berteaud 0.1.8-1 +- Typo (daniel@firewall-services.com) + +* Mon Mar 08 2021 Daniel Berteaud 0.1.7-1 +- new package built with tito + +* Mon Mar 8 2021 Daniel Berteaud - 0.1.7-1.sme +- Suspend email delivery during archiving +- Licence is MIT +- Rebuild using tito + +* Mon May 30 2016 Daniel Berteaud - 0.1.6-1.sme +- Fix a typo in en-us locale label for DESC_WARN_USER + +* Wed May 11 2016 Daniel Berteaud - 0.1.5-1.sme +- Use xz as default compression format + +* Tue Apr 12 2016 Daniel Berteaud - 0.1.4-1.sme +- Accept current day as a future date +- Requires xz + +* Tue Apr 12 2016 Daniel Berteaud - 0.1.3-1.sme +- Add tar in the archives extension + +* Mon Apr 11 2016 Daniel Berteaud - 0.1.2-1.sme +- Only list expired accounts in the inactive accounts table + +* Mon Apr 4 2016 Daniel Berteaud - 0.1.1-1.sme +- Fix permissions on /home/e-smith/files/archives + +* Wed Mar 30 2016 Daniel Berteaud - 0.1.0-1.sme +- Initial release diff --git a/additional/update_locales.sh b/additional/update_locales.sh new file mode 100644 index 0000000..3b19073 --- /dev/null +++ b/additional/update_locales.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +for L in en_US fr_FR; do + mkdir -p po/$L + for F in adminNotifNextExpirations userNotifAccountExpiration lockAutoReply; do + xgettext -j -L Perl -o po/$L/$F.tmpl.po \ + root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/$F.tmpl + done + xgettext -j -L Perl -o po/$L/$F.po \ + root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message +done 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..a3d5f50 --- /dev/null +++ b/createlinks @@ -0,0 +1,16 @@ +#!/usr/bin/perl -w + +use esmith::Build::CreateLinks qw(:all); + +event_link("user-reset-expired", "password-modify", "80"); +event_link("user-expire-account", "user-expire-account", "20"); +event_link("user-update-auto-response", "user-expire-account", "25"); +event_link("user-lock-passwd", "user-expire-account", "30"); +event_link("count-active-user-accounts", "user-expire-account", "40"); +event_link("ldap-update-simple", "user-expire-account", "50"); +event_link("qmail-update-user", "user-expire-account", "60"); + +event_link("user-update-auto-response", "user-update-expire-settings", "20"); +event_link("qmail-update-user", "user-update-expire-settings", "60"); + +panel_link("expireaccounts", 'manager'); diff --git a/root/etc/e-smith/db/configuration/defaults/ExpireAccounts/status b/root/etc/e-smith/db/configuration/defaults/ExpireAccounts/status new file mode 100644 index 0000000..86981e6 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/ExpireAccounts/status @@ -0,0 +1 @@ +enabled diff --git a/root/etc/e-smith/db/configuration/defaults/ExpireAccounts/type b/root/etc/e-smith/db/configuration/defaults/ExpireAccounts/type new file mode 100644 index 0000000..24e1098 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/ExpireAccounts/type @@ -0,0 +1 @@ +service diff --git a/root/etc/e-smith/events/actions/user-expire-account b/root/etc/e-smith/events/actions/user-expire-account new file mode 100644 index 0000000..59e4dae --- /dev/null +++ b/root/etc/e-smith/events/actions/user-expire-account @@ -0,0 +1,48 @@ +#!/usr/bin/perl -w + +use strict; +use esmith::AccountsDB; +use esmith::event; +use DateTime; + +my $a = esmith::AccountsDB->open or + die "Could not open AccountsDB\n"; + +my $event = shift; +my $userName = shift; +my @users; + +if (defined $userName){ + my $user = $a->get($userName); + die "Account $userName is not a user account; can't update the auto-reply message.\n" + unless $user && $user->prop('type') eq "user"; + @users = ($user); +} +else{ + @users = ( $a->users ); +} + +my $now = DateTime->now; + +foreach my $user (@users){ + my $userName = $user->key; + + # Remove user from all its groups + my @groups = $a->user_group_list($userName); + $a->remove_user_from_groups($userName, @groups); + event_signal('group-modify', @groups) if (scalar @groups); + + # Set forward if needed + my $fwd = $user->prop('ExpireForwardAfterLock') || ''; + if ($fwd ne ''){ + $user->set_prop('ForwardAddress', $fwd); + $user->set_prop('EmailForward', 'forward'); + } + # Remove expiration settings now that the account is locked + $user->delete_prop('ExpireLockOn'); + $user->delete_prop('ExpireLastNotifiedOn'); + # Set the expiration date + $user->set_prop('ExpireLockedOn', $now->ymd); +} + +exit (0); diff --git a/root/etc/e-smith/events/actions/user-reset-expired b/root/etc/e-smith/events/actions/user-reset-expired new file mode 100644 index 0000000..a027c6f --- /dev/null +++ b/root/etc/e-smith/events/actions/user-reset-expired @@ -0,0 +1,20 @@ +#!/usr/bin/perl -w + +use strict; +use esmith::AccountsDB; +use User::pwent; + +my $a = esmith::AccountsDB->open || die "Couldn't open the AccountsDB\n"; + +my $event = $ARGV[0]; +my $user = $ARGV[1]; + +if (!$event){ + die "Event must be specified\n"; +} +if (!$user){ + die "User must be specified\n"; +} + +my $rec = $a->get($user) || die "user $user not found in AccountsDB\n"; +$rec->delete_prop('ExpireLockedOn'); diff --git a/root/etc/e-smith/events/actions/user-update-auto-response b/root/etc/e-smith/events/actions/user-update-auto-response new file mode 100644 index 0000000..11cded2 --- /dev/null +++ b/root/etc/e-smith/events/actions/user-update-auto-response @@ -0,0 +1,48 @@ +#!/usr/bin/perl -w + +use strict; +use esmith::AccountsDB; +use esmith::templates; +use esmith::util; +use User::pwent; + +my $a = esmith::AccountsDB->open or + die "Could not open AccountsDB\n"; + +my $event = shift; +my $userName = shift; +my @users; + +if (defined $userName){ + my $user = $a->get($userName); + die "Account $userName is not a user account; can't update the auto-reply message.\n" + unless $user && $user->prop('type') eq "user"; + @users = ($user); +} +else{ + @users = ( $a->users ); +} + +foreach my $user (@users){ + my $userName = $user->key; + + my $home = getpwnam($userName)->dir; + unless (-d $home . '/.lock-auto-reply'){ + mkdir $home . '/.lock-auto-reply'; + esmith::util::chownFile($userName, $userName, $home . '/.lock-auto-reply'); + } + + esmith::templates::processTemplate ({ + MORE_DATA => { USERNAME => $userName }, + TEMPLATE_PATH => "/.lock-auto-reply/message.txt", + TEMPLATE_EXPAND_QUEUE => + [ + "/etc/e-smith/templates-user-custom", + "/etc/e-smith/templates-user", + ], + OUTPUT_PREFIX => "$home", + PERMS => 0644, + }); +} + +exit(0); diff --git a/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..3b57b9f --- /dev/null +++ b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Име + + + FORWARD + Forwarding address + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Действие + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/da/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..6e80e43 --- /dev/null +++ b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Navn + + + FORWARD + Adresse til videresendelse + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Action + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/de/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..ecfedbb --- /dev/null +++ b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Name + + + FORWARD + Weiterleitungsadresse + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Aktion + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/el/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..7c4d5ea --- /dev/null +++ b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Όνομα + + + FORWARD + Διεύθυνση προώθησης + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Ενέργεια + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..f5b8796 --- /dev/null +++ b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Name + + + FORWARD + Forwarding address + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Action + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/es/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..a70bfb2 --- /dev/null +++ b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Nombre + + + FORWARD + Dirección de reenvío + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Acción + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/et/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..366ce0d --- /dev/null +++ b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Nimi + + + FORWARD + Aadress kuhu edastada + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Tegevus + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..2ba0ccc --- /dev/null +++ b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Date d'expiration + + + FORM_TITLE + Gestion d'expiration des comptes + + + DESC_FIRSTPAGE + Cette page vous permet de gérer l'expiration de comptes utilisateurs. + + + DESC_GENERAL_CONFIG_BUTTON + Configuration générale + + + DESC_MODIFY_CONFIG_PAGE + Les paramètres suivants sont globaux: ils affectent tous les utilisateurs soumis à une expiration de leur compte. + + + DESC_WARNING_DELAY + Cette valeur indique combien de jours avant l'expiration d'un compte un email de rappel sera envoyé à l'administrateur + + + LABEL_WARNING_DELAY + Seuil de notification (en jours) + + + DESC_DAYS_BETWEEN_WARNINGS + Plusieurs rappels peuvent être envoyés à l'administrateur pour s'assurer qu'aucun compte n'est vérouillé sans en être avertie. Cette valeur permet de définir le nombre de jours entre deux notifications. Par exemple, si cette valeur est de 5, l'administrateur recevra une alerte tous les 5 jours jusqu'à expiration du compte. + + + LABEL_DAYS_BETWEEN_WARNINGS + Délais entre deux notifications (en jours) + + + DESC_WARNING_RECIPIENT + Par défaut, les notifications sont envoyées à l'administrateur. Vous pouvez ici saisir une adresse alternative. + + + LABEL_WARNING_RECIPIENT + Destinataire des notifications + + + DESC_WARN_USER + L'utilisateur doit-il être avertie lorsque son compte est sur le point d'expirer ? + + + LABEL_WARN_USER + Notifier l'utilisateur + + + LABEL_USER_ACCOUNT + Compte d'utilisateur + + + DESC_LOCK_ON_DATE + Précisez ici la date à laquelle le compte sera automatiquement verrouillé. La date doit être au format AAAA-MM-JJ, par exemple 2018-07-25 pour le 25 Juillet 2018. Laissez ce champs vide pour désactiver l'expiration du compte. + + + LABEL_LOCK_ON_DATE + Date d'expiration + + + DESC_FORWARD_AFTER_LOCK + Vous pouvez saisir une adresse email ici. Si ce champs est rempli, alors tous les mails à destination de l'utilisateur seront renvoyés à cette adresse à partir du jour où le compte expire. Le renvoi ne sera mis en place qu'après l'expiration. + + + LABEL_FORWARD_AFTER_LOCK + Après expiration, transférer les mails vers + + + DESC_AUTO_REPLY + Vous pouvez activer une réponse automatique: à partir du jour où le compte expire, ce dernier est verrouillé, mais reste valide. Si cette fonction est activée, alors les expéditeurs de mails à l'attention de cet utilisateur recevront automatiquement une réponse leur signalant que l'utilisateur n'est plus actif, et leur demandant de mettre à jour leur carnet d'adresse. + + + LABEL_AUTO_REPLY + Envoi de réponses automatiques + + + DESC_DELETE_AFTER_LOCK + Vous pouvez choisir de supprimer entièrement le compte après son expiration. Sélectionnez ici le nombre de jours pendant lesquels le compte restera valide (mais verrouillé). Au delà de cette période, les données seront archivées et le compte supprimé. Attention: il s'agit du nombre de jours avant que le compte ne soit supprimé à partir du jour où le compte est verrouillé, et non pas à partir d'aujourd'hui. + + + LABEL_DELETE_AFTER_LOCK + Délais avant suppression du compte (en jours) + + + NO_USER_ACCOUNTS + Aucun compte utilisateur + + + ACTIVE_ACCOUNT + Compte (actif) + + + USER_NAME + Nom + + + FORWARD + Adresse de renvoi + + + DAYS_BEFORE_LOCK + Jours restants avant expiration + + + ACTION + Action + + + INACTIVE_ACCOUNT + Compte (inactif) + + + DAYS_BEFORE_DELETE + Jours restants avant suppression + + + TAINTED_USER + Caractères invalides dans le nom du compte + + + CONFIG_MODIFIED + La configuration a été modifiée + + + NOT_A_USER_ACCOUNT + Il ne s'agit pas d'un compte utilisateur + + + USER_MODIFIED + Le compte utilisateur a été modifié + + + MUST_BE_POSITIVE_NUMBER + Cette valeur doit être un nombre entier positif + + + DATE_FORMAT_INVALID + Format de date non valide. La date doit être de la forme AAAA-MM-JJ. + + + DATE_IS_PASSED + Cette date est passée. La date d'expiration doit être dans le futur + + + BAD_SYNTAX + Ceci n'est pas une adresse email valide + + + never + jamais + + diff --git a/root/etc/e-smith/locale/he/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..05d9fc7 --- /dev/null +++ b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + שם + + + FORWARD + כתובת להעברה + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + פעולה + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..b5d2979 --- /dev/null +++ b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Név + + + FORWARD + Továbbítás erre + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Művelet + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/id/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..02d9f21 --- /dev/null +++ b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Nama + + + FORWARD + Alamat penerusan + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Aksi + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/it/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..0c2ccc6 --- /dev/null +++ b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Nome + + + FORWARD + Indirizzo d'inoltro + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Azione + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..4c240d0 --- /dev/null +++ b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + 氏名 + + + FORWARD + Forwarding address + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Action + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..fa43ef0 --- /dev/null +++ b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Navn + + + FORWARD + Videresendingsadresse + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Handling + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..f646f48 --- /dev/null +++ b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Naam + + + FORWARD + Doorstuur adres + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Actie + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..378cc83 --- /dev/null +++ b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Nazwa + + + FORWARD + Forwarding address + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Action + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..8563c6f --- /dev/null +++ b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Nome + + + FORWARD + Endereço de encaminhamento + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Ação + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..8e1ed63 --- /dev/null +++ b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Nome + + + FORWARD + Endereço de encaminhamento + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Ação + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..6416198 --- /dev/null +++ b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Nume + + + FORWARD + Forwarding address + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Acțiune + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..91f26dd --- /dev/null +++ b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Название + + + FORWARD + Адрес перенаправления + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Действие + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..84ebd77 --- /dev/null +++ b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Ime + + + FORWARD + Posto posreduj na + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Izvedi + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..dfc3adb --- /dev/null +++ b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + Namn + + + FORWARD + Adress för vidarebefordran + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Verkställ + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/th/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..772d942 --- /dev/null +++ b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + ชื่อ + + + FORWARD + ที่อยู่ส่งต่อ + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + การดำเนินการ + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..ecc2254 --- /dev/null +++ b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + İsim + + + FORWARD + Varış adresi + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + Eylem + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..ef4565e --- /dev/null +++ b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + 账号 + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + 姓名 + + + FORWARD + 转发地址 + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + 动作 + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/expireaccounts new file mode 100644 index 0000000..5932aad --- /dev/null +++ b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,158 @@ + + + Accounts Expiration + Account expiration + + + FORM_TITLE + Account expiration management + + + DESC_FIRSTPAGE + This page lets you configure user accounts expiration. + + + DESC_GENERAL_CONFIG_BUTTON + General configuration + + + DESC_MODIFY_CONFIG_PAGE + The following parameters are global: they affect all users subject to an expiration of their account. + + + DESC_WARNING_DELAY + This value indicates how many days before the expiry of an account a reminder email will be sent to the administrator + + + LABEL_WARNING_DELAY + Notification threshold (in days) + + + DESC_DAYS_BETWEEN_WARNINGS + Several reminders can be sent to the administrator to ensure that no account is locked without being notified. This value determines the number of days between two notifications. For example, if this value is 5, the administrator will receive an alert every five daysi until the account expire. + + + LABEL_DAYS_BETWEEN_WARNINGS + Delay between two notifications (in days) + + + DESC_WARNING_RECIPIENT + By default, notifications are sent to the administrator. You can enter an alternative address. + + + LABEL_WARNING_RECIPIENT + Notifications recipient + + + DESC_WARN_USER + Should the user be warned when his account is about to expire + + + LABEL_WARN_USER + Notify user + + + LABEL_USER_ACCOUNT + User account + + + DESC_LOCK_ON_DATE + Specify the date on which the account will automatically be locked. The date must be in YYYY-MM-DD format, eg 2018-07-25 for July the 25th 2018. Keep this field blank to disable account expiration. + + + LABEL_LOCK_ON_DATE + Expiration date + + + DESC_FORWARD_AFTER_LOCK + You can enter an email address here. If this box is filled, then all the mails to the user will be forwarded to that address from the date the account expires. The forward will only be configured after the expiry. + + + LABEL_FORWARD_AFTER_LOCK + After expiry, forward email to + + + DESC_AUTO_REPLY + You can activate an automatic response: from the day the account expires, it is locked but remains valid. If this feature is enabled, email senders to the user's attention will automatically receive a response informing them that the user is no longer active, and asking them to update their address book. + + + LABEL_AUTO_REPLY + Auto reply + + + DESC_DELETE_AFTER_LOCK + You can choose to completely delete the account after it expires. Here you select the number of days the account will remain valid (but locked). Beyond this period, the data will be archived and the account deleted. Caution: this is the number of days before the account is deleted starting from the day the account is locked, not starting from today. + + + LABEL_DELETE_AFTER_LOCK + Delay before deleting the account (in days) + + + NO_USER_ACCOUNTS + No user account + + + ACTIVE_ACCOUNT + Account (active) + + + USER_NAME + 名稱 + + + FORWARD + 轉遞位址 + + + DAYS_BEFORE_LOCK + Days left until expiration + + + ACTION + 動作 + + + INACTIVE_ACCOUNT + Account (inactive) + + + DAYS_BEFORE_DELETE + Days left until deletion + + + TAINTED_USER + Invalid characters in the account name + + + CONFIG_MODIFIED + Configuration has been modified + + + NOT_A_USER_ACCOUNT + This is not a user account + + + USER_MODIFIED + The user account has been modified + + + MUST_BE_POSITIVE_NUMBER + This value must be a positive integer + + + DATE_FORMAT_INVALID + Invalid date format. The date must of the form YYYY-MM-DD. + + + DATE_IS_PASSED + This date has passed. The expiration date must be in future + + + BAD_SYNTAX + This is not a valid email address + + + never + never + + diff --git a/root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message b/root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message new file mode 100644 index 0000000..ce8acf2 --- /dev/null +++ b/root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/10Message @@ -0,0 +1,38 @@ +{ + +use esmith::AccountsDB; +use esmith::I18N; +use Locale::gettext; +use MIME::Lite; + +my $i18n = new esmith::I18N; +$i18n->setLocale('lockAutoReply.tmpl'); + +die "USERNAME not set" unless defined ($USERNAME); + +$a = esmith::AccountsDB->open_ro or die "Couldn't open AccountsDB"; + +$user = $a->get($USERNAME) or die "No user $USERNAME in AccountsDB"; +%props = $user->props; +$props{EmailForward} ||= 'local'; + +my $fwd = ($props{EmailForward} =~ /^(forward|both)$/) ? + sprintf(gettext("Your mail has been forwarded to %s"), ($props{ForwardAddress} || 'devnull@' . $DomainName)) . ".\n" . + gettext("This forward is only temporary, you should update your addressbook.") : ""; + +my $msg = MIME::Lite->new( + Subject => gettext("This account is no longer valid"), + From => 'no-reply@' . $DomainName, + Data => gettext("This is an automatic message in reply to your email with the following subject:") . "\n\n" . + '%S' . "\n\n" . + gettext("I'm sorry to inform you that this email address is no longer valid.") . "\n" . $fwd . "\n\n\n\n" . + gettext("Please note that this is an automatic email. Do not respond, it won't be treated") +); + +$msg->scrub([ 'Date', 'X-Mailer' ]); +$msg->attr("content-type" => "text/plain"); +$msg->attr("content-type.charset" => "utf-8"); + +$OUT = $msg->as_string; + +} diff --git a/root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/template-begin b/root/etc/e-smith/templates-user/.lock-auto-reply/message.txt/template-begin new file mode 100644 index 0000000..e69de29 diff --git a/root/etc/e-smith/templates-user/.qmail/20ExpireAutoReply b/root/etc/e-smith/templates-user/.qmail/20ExpireAutoReply new file mode 100644 index 0000000..88d2e1f --- /dev/null +++ b/root/etc/e-smith/templates-user/.qmail/20ExpireAutoReply @@ -0,0 +1,15 @@ +{ + +use User::pwent; + +my $pwd = $props{'PasswordSet'} || 'no'; +my $locked = $props{'ExpireLockedOn'} || ''; +my $reply = $props{'ExpireAutoReply'} || 'enabled'; + +if ($pwd eq 'yes' || $locked !~ m/^\d{4}\-\d{1,2}\-\d{1,2}$/ || $reply !~ m/^enabled|yes|on|1$/){ + return "" +} + +$OUT .= "| /usr/bin/qmail-autoresponder " . getpwnam($USERNAME)->dir . "/.lock-auto-reply\n"; + +} diff --git a/root/etc/e-smith/templates/etc/crontab/ExpireAccounts b/root/etc/e-smith/templates/etc/crontab/ExpireAccounts new file mode 100644 index 0000000..92d8762 --- /dev/null +++ b/root/etc/e-smith/templates/etc/crontab/ExpireAccounts @@ -0,0 +1,8 @@ +{ + if (($ExpireAccounts{'status'} || 'disabled') ne 'enabled'){ + $OUT .= "# Account expiration is disabled\n"; + } + else{ + $OUT .= "1 0 * * * root /sbin/e-smith/expire-accounts\n"; + } +} diff --git a/root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl b/root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl new file mode 100644 index 0000000..1c3093d --- /dev/null +++ b/root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl @@ -0,0 +1,26 @@ +{ + use esmith::I18N; + use Locale::gettext; + + my $i18n = new esmith::I18N; + $i18n->setLocale('adminNotifNextExpirations.tmpl'); + + my $domain = $conf->get_value("DomainName") || "localhost"; + my $systemName = $conf->get_value("SystemName") || "SME Server"; + + $OUT .= "To: ".gettext("System Administrator")." \n"; + $OUT .= "From: \"". + gettext("Account Expiration Notifier"). + "\" \n"; + $OUT .= "Subject: ". + gettext("One or more user accounts will expire soon"). + "\n"; + $OUT .= "Content-Type: text/plain; charset='utf-8'\n"; + $OUT .= "Content-Transfer-Encoding: 8bit\n"; + + $OUT .= gettext("The following user accounts will expire soon:\n\n"); + + foreach my $u (sort keys %$users){ + $OUT .= " * " . sprintf(gettext("%s will expire in %d days"), "$users->{$u}->{name} ($u)", $users->{$u}->{remaining}) . "\n"; + } +} diff --git a/root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl b/root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl new file mode 100644 index 0000000..e7a793d --- /dev/null +++ b/root/etc/e-smith/templates/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl @@ -0,0 +1,23 @@ +{ + use esmith::I18N; + use Locale::gettext; + + my $i18n = new esmith::I18N; + $i18n->setLocale('userNotifAccountExpiration.tmpl'); + + my $domain = $conf->get_value("DomainName") || "localhost"; + my $systemName = $conf->get_value("SystemName") || "SME Server"; + + $OUT .= "To: <${user}\@${domain}>\n"; + $OUT .= "From: \"". + gettext("Account Expiration Notifier"). + "\" \n"; + $OUT .= "Subject: ". + gettext("Your user account will expire soon"). + "\n"; + $OUT .= "Content-Type: text/plain; charset='utf-8'\n"; + $OUT .= "Content-Transfer-Encoding: 8bit\n"; + + $OUT .= sprintf gettext("Your user account will expire in %d days, after what it will be locked"), $days; + $OUT .= "\n\n" . gettext("Please contact your network administrator for more details."); +} diff --git a/root/etc/e-smith/web/functions/expireaccounts b/root/etc/e-smith/web/functions/expireaccounts new file mode 100755 index 0000000..5d4a90f --- /dev/null +++ b/root/etc/e-smith/web/functions/expireaccounts @@ -0,0 +1,104 @@ +#!/usr/bin/perl -wT + +# vim: ft=xml ts=4 sw=4 et: +#---------------------------------------------------------------------- +# heading : Collaboration +# description : Accounts Expiration +# navigation : 2000 2100 +#---------------------------------------------------------------------- +#---------------------------------------------------------------------- +# Copyright (C) 2011-2014 Firewall-Services +# daniel@firewall-services.com +# +# 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 Mitel Networks +# Please visit our web site www.mitel.com/sme/ for details. +#---------------------------------------------------------------------- + +use strict; +use esmith::FormMagick::Panel::expireaccounts; + +my $fm = esmith::FormMagick::Panel::expireaccounts->new(); + +$fm->display(); + +__DATA__ +
+ + DESC_FIRSTPAGE + + + + + + DESC_MODIFY_CONFIG_PAGE + + DESC_WARNING_DELAY + + + + DESC_DAYS_BETWEEN_WARNINGS + + + + DESC_WARNING_RECIPIENT + + + + + + + + DESC_AUTO_REPLY + + + + DESC_DELETE_AFTER_LOCK + + + + + + + + DESC_LOCK_ON_DATE + + + + DESC_WARN_USER + + + + DESC_FORWARD_AFTER_LOCK + + + + DESC_AUTO_REPLY + + + + DESC_DELETE_AFTER_LOCK + + + + +
diff --git a/root/sbin/e-smith/expire-accounts b/root/sbin/e-smith/expire-accounts new file mode 100644 index 0000000..70c9341 --- /dev/null +++ b/root/sbin/e-smith/expire-accounts @@ -0,0 +1,217 @@ +#!/usr/bin/perl -w + +use esmith::AccountsDB; +use esmith::ConfigDB; +use esmith::event; +use Text::Template; +use DateTime; +use User::pwent; +use Getopt::Long; + +my $a = esmith::AccountsDB->open || die "Couldn't open the AccountsDB"; +my $c = esmith::ConfigDB->open || die "Couldn't open the ConfigDB"; +my $domain = $c->get_value('DomainName'); + +my $debug = 0; + +GetOptions( + debug => \$debug, +); + + +my $service = $c->get('ExpireAccounts') || + $c->new_record('ExpireAccounts', + { + type => 'service', + status => 'enabled' + } + ); + +my $warn_delay = $service->prop('WarningDelay') || '30'; +my $recipient = $service->prop('WarningRecipient') || 'root'; +my $days_between_warn = $service->prop('DaysBetweenWarnings') || '5'; +my $archive_compress = $service->prop('ArchiveCompression') || '/usr/bin/xz'; +my $archive_path = $service->prop('ArchivePath') || '/home/e-smith/files/archives/users'; +my $archive_ext = 'xz'; + +if ( !-x $archive_compress ){ + print "$archive_compress not found, switching back to the default /bin/gzip\n" if ($debug); + $archive_compress = '/bin/gzip'; +} + +if ( $archive_compress =~ m/xz$/ ){ + $archive_ext = 'xz'; +} +elsif ( $archive_compress =~ m/bzip2$/ ){ + $archive_ext = 'bz2'; +} +elsif ( $archive_compress =~ m/gzip$/ ){ + $archive_ext = 'gz'; +} +else{ + print "$archive_compress creates unknown archive format, using a generic .z extension\n" if ($debug); + $archive_ext = 'z'; +} + +my $rem = {}; +my @lock = (); +my @delete = (); + +my $now = DateTime->now; + +foreach my $user ($a->users){ + my $pass = $user->prop('PasswordSet') || 'no'; + if ( $pass ne 'yes' ){ + print $user->key . ": Account already locked\n" if $debug; + my $delete = $user->prop('ExpireDeleteAfterLock') || 'never'; + my $locked_date = $user->prop('ExpireLockedOn') || ''; + if ($delete =~ m/^\d+$/ && $locked_date =~ m/^(\d{4})\-(\d{1,2})\-(\d{1,2})$/){ + my $locked = DateTime->new( + year => $1, + month => $2, + day => $3, + ); + my $delete_date = $locked->add( days => $delete ); + if ( $delete_date < $now ){ + print $user->key . ": Account must be deleted\n" if $debug; + push @delete, $user->key; + } + } + next; + } + my $lock_date = $user->prop('ExpireLockOn') || 'never'; + if ( $lock_date eq 'never' ){ + print $user->key . ": No expiration date set\n" if $debug; + next; + } + elsif ( $lock_date !~ m/^(\d{4})\-(\d{1,2})\-(\d{1,2})$/ ){ + print $user->key . ": Invalide expiration date ($lock_date)\n" if $debug; + next; + } + my $exp = DateTime->new( + year => $1, + month => $2, + day => $3, + ); + + if ( $exp < $now ){ + print $user->key . ": Expiration date is passed, account must be locked\n" if $debug; + push @lock, $user->key; + } + else{ + my $remaining = $exp->delta_days($now)->in_units('days'); + print $user->key . ": Account will expire on $lock_date ($remaining days)\n" if $debug; + $rem->{$user->key} = $remaining if $remaining < $warn_delay; + } +} + +# Lock accounts which need to be locked now +foreach my $u (@lock){ + event_signal('user-expire-account', $u); +} + +# Accounts to be deleted +foreach my $u (@delete){ + my $user = $a->get($u); + if ( !$user || !$user->prop('type') || $user->prop('type') ne 'user' ){ + print $u . ": This is not a user account\n"; + next; + } + unless( -d $archive_path ){ + print $u . ": $archive_path doesn't exist, can't continue\n" if ($debug); + next; + } + my $archive = $user->prop('ExpireArchiveBeforeDelete') || 'yes'; + if ( $archive =~ m/^yes|enabled|1|on$/ ){ + # Suspend email delivery, prevent tar ending with exit code 1 + # because Maildir changed during archive + system('chmod', '+t', getpwnam($u)->dir); + my $tar = $archive_path . '/' . $u . '-' . $now->ymd . '.tar.' . $archive_ext; + my $res = system( + 'tar', + 'cf', + $tar, + '--use-compress-program', + $archive_compress, + '-C', + getpwnam($u)->dir, + getpwnam($u)->dir + ); + if ( $res == 0 ){ + print $u . ": Data archived as $tar. The user account will now be deleted\n" if ($debug); + $user->set_prop( type => 'user-deleted' ); + event_signal('user-delete', $u); + $a = esmith::AccountsDB->open || die "Couldn't open AccountsDB\n"; + $a->get($u)->delete; + } + } +} + +# Send a warning for accounts which will be locked soon +my $send_warn_for = {}; +foreach my $user (keys %$rem){ + my $rec = $a->get($user) || next; + my $last_notif = $rec->prop('ExpireLastNotifiedOn') || 'never'; + my $warn_user = $rec->prop('ExpireWarnUser') || 'disabled'; + if ( $last_notif =~ m/^(\d{4})\-(\d{1,2})\-(\d{1,2})/ ){ + $last_notif = DateTime->new( + year => $1, + month => $2, + day => $3, + ); + if ( $last_notif->delta_days($now)->in_units('days') < $days_between_warn ){ + next; + } + } + + my $templates = '/etc/e-smith/templates'; + my $source = '/usr/lib/smeserver-expire-accounts/userNotifAccountExpiration.tmpl'; + # Use templates-custom version by preference if it exists + -f "${templates}-custom${source}" and $templates .= "-custom"; + + if ( $warn_user =~ m/^enabled|yes|on|1$/ ){ + my $t = new Text::Template(TYPE => 'FILE', + SOURCE => "${templates}${source}"); + + open(QMAIL, "|/var/qmail/bin/qmail-inject -fdo-not-reply\@$domain $user") + || die "Could not send mail via qmail-inject!\n"; + + print QMAIL $t->fill_in( HASH => { + conf => \$c, + user => $user, + days => $rem->{$user} + }); + + close QMAIL; + } + + $rec->set_prop('ExpireLastNotifiedOn', $now->ymd); + # This one will be notified to the admin + $send_warn_for->{$user} = { + remaining => $rem->{$user}, + name => $rec->prop('FirstName') . ' ' . $rec->prop('LastName') + }; +} + +if (keys %$send_warn_for > 0){ + $templates = '/etc/e-smith/templates'; + $source = '/usr/lib/smeserver-expire-accounts/adminNotifNextExpirations.tmpl'; + + # Use templates-custom version by preference if it exists + -f "${templates}-custom${source}" and $templates .= "-custom"; + + my $t = new Text::Template(TYPE => 'FILE', + SOURCE => "${templates}${source}"); + + open(QMAIL, "|/var/qmail/bin/qmail-inject -fdo-not-reply\@$domain $recipient") + || die "Could not send mail via qmail-inject!\n"; + + print QMAIL $t->fill_in( HASH => { + conf => \$c, + users => \$send_warn_for + }); + + close QMAIL; +} + +exit 0; diff --git a/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/expireaccounts.pm b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/expireaccounts.pm new file mode 100644 index 0000000..1d294a8 --- /dev/null +++ b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/expireaccounts.pm @@ -0,0 +1,343 @@ +#!/usr/bin/perl -w + +#--------------------------------------------------------------------- +# Copyright (C) 2016 Firewall-Services +# daniel@firewall-services.com +# +# 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::expireaccounts; + +use strict; + +use esmith::FormMagick; +use esmith::AccountsDB; +use esmith::ConfigDB; +use esmith::cgi; +use DateTime; +use File::Basename; +use Exporter; +use Carp qw(verbose); + +our @ISA = qw(esmith::FormMagick Exporter); + +our @EXPORT = qw( + print_user_table + print_save_button + print_custom_button + print_section_bar + print_account_name +); + +our $a = esmith::AccountsDB->open || die "Couldn't open AccountsDB"; +our $c = esmith::ConfigDB->open || die "Couldn't open ConfigDB"; + +our %defaults = ( + ExpireAutoReply => 'enabled', + ExpireDeleteAfterLock => 'never', + WarnUsers => 'enabled' +); + +sub new { + shift; + my $self = esmith::FormMagick->new(); + $self->{calling_package} = (caller)[0]; + bless $self; + return $self; +} + +sub print_user_table { + my $self = shift; + my $q = $self->{cgi}; + + my @users = $a->users; + + if ( scalar @users < 1) { + print $q->Tr($q->td($self->localise('NO_USER_ACCOUNTS'))); + return ""; + } + + my $scriptname = basename($0); + my $now = DateTime->now; + + print " "; + print $q->start_table ({-CLASS => "sme-border"}); + + if (_count_active_users() > 0){ + print $q->Tr( + esmith::cgi::genSmallCell($q, $self->localise('ACTIVE_ACCOUNT'), "header"), + esmith::cgi::genSmallCell($q, $self->localise('USER_NAME'), "header"), + esmith::cgi::genSmallCell($q, $self->localise('FORWARD'), "header"), + esmith::cgi::genSmallCell($q, $self->localise('DAYS_BEFORE_LOCK'), "header"), + esmith::cgi::genSmallCell($q, $self->localise('ACTION'), "header") + ); + + foreach my $u (@users) { + my $username = $u->key(); + next unless (($u->prop('PasswordSet') || 'no') eq 'yes'); + my $first = $u->prop('FirstName') || ''; + my $last = $u->prop('LastName') || ''; + my $lock_date = $u->prop('ExpireLockOn') || ''; + my $delivery = $u->prop('EmailForward') || 'local'; + my $fwd = $u->prop('ForwardAddress') || ''; + my $action = "" . + $self->localise('MODIFY') . ""; + my $days_left = ''; + if ($lock_date =~ m/^(\d{4})\-(\d{1,2})\-(\d{1,2})$/){ + my $lock_on = eval { + DateTime->new( + year => $1, + month => $2, + day => $3 + ); + }; + $days_left = $lock_on->delta_days($now)->in_units('days') if ($lock_on); + } + my $addr = ($delivery eq 'local') ? '' : $fwd; + print $q->Tr( + esmith::cgi::genSmallCell($q, $username, "normal"), + esmith::cgi::genSmallCell($q, "$first $last", "normal"), + esmith::cgi::genSmallCell($q, $addr, "normal"), + esmith::cgi::genSmallCell($q, $days_left, "normal"), + esmith::cgi::genSmallCell($q, $action, "normal") + ); + } + } + if (_count_inactive_users() > 0){ + # Now, same for locked accounts + print $q->Tr( + esmith::cgi::genSmallCell($q, $self->localise('INACTIVE_ACCOUNT'), "header"), + esmith::cgi::genSmallCell($q, $self->localise('USER_NAME'), "header"), + esmith::cgi::genSmallCell($q, $self->localise('FORWARD'), "header"), + esmith::cgi::genSmallCell($q, $self->localise('DAYS_BEFORE_DELETE'), "header"), + esmith::cgi::genSmallCell($q, $self->localise('ACTION'), "header") + ); + foreach my $u (@users) { + my $username = $u->key(); + next unless (($u->prop('PasswordSet') || 'no') ne 'yes'); + my $first = $u->prop('FirstName') || ''; + my $last = $u->prop('LastName') || ''; + my $delete_in = $u->prop('ExpireDeleteAfterLock') || ''; + my $locked_on = $u->prop('ExpireLockedOn') || ''; + my $delivery = $u->prop('EmailForward') || ''; + my $fwd = $u->prop('ForwardAddress') || ''; + my $action = "" . + $self->localise('MODIFY') . ""; + # Skip if not locked by this contrib + next unless ($locked_on =~ m/^\d{4}\-\d{1,2}\-\d{1,2}$/); + my $days_left = ''; + if ($delete_in =~ m/^\d+$/ && $locked_on =~ m/^(\d{4})\-(\d{1,2})\-(\d{1,2})$/){ + my $locked_date = eval { + DateTime->new( + year => $1, + month => $2, + day => $3 + ); + }; + if ($locked_date){ + my $delete_on = $locked_date->add(days => $delete_in); + $days_left = $delete_on->delta_days($now)->in_units('days'); + } + } + my $addr = ($delivery eq 'local') ? '' : $fwd; + print $q->Tr( + esmith::cgi::genSmallCell($q, $username, "normal"), + esmith::cgi::genSmallCell($q, "$first $last", "normal"), + esmith::cgi::genSmallCell($q, $addr, "normal"), + esmith::cgi::genSmallCell($q, $days_left, "normal"), + esmith::cgi::genSmallCell($q, $action, "normal") + ); + } + } + print qq(\n); + return ""; +} + +sub print_save_button { + my ($self) = @_; + $self->print_button("SAVE"); +} + +sub print_section_bar{ + my $self = shift; + print " \n \n"; + print "
\n"; + return undef; +} + +sub print_custom_button{ + my ($self, $desc, $page) = @_; + my $url = basename($0) . "?page=0&page_stack=&Next=Next&wherenext=" . $page; + + print ""; + print $self->{cgi}->p( + $self->{cgi}->a({href => $url, -class => "button-like"}, $self->localise($desc)) + ); + print qq(); + return undef; +} + +sub print_account_name{ + my ($self) = @_; + my $acctName = $self->{cgi}->param('acctName'); + print qq() . + $self->localise('LABEL_USER_ACCOUNT') . + qq() . + qq($acctName); + return undef; +} + +sub get_user_prop{ + my ($self, $field) = @_; + return $a->get($self->{cgi}->param('acctName'))->prop("$field") || $defaults{$field} || ''; +} + +sub get_user_bool{ + my ($self, $field) = @_; + my $val = $a->get($self->{cgi}->param('acctName'))->prop("$field") || $defaults{$field} || ''; + return ($val =~ m/^yes|enabled|1|on$/) ? 'enabled' : 'disabled'; +} + +sub get_conf_prop{ + my ($self, $field) = @_; + return $c->get('ExpireAccounts')->prop($field) || ''; +} + +sub get_conf_bool{ + my ($self, $field) = @_; + my $val = $c->get('ExpireAccounts')->prop($field) || $defaults{$field} || ''; + return ($val =~ m/^yes|enabled|1|on$/) ? 'enabled' : 'disabled'; +} + +sub get_delete_options{ + my ($self) = @_; + my $options = [ qw(never 7 30 180 365) ]; + my $acctName = $self->{cgi}->param('acctName'); + if ($acctName =~ /^(\w[\-\w_\.]*)$/){ + $acctName = $1; + my $acct = $a->get($acctName); + my $pass = $acct->prop('PasswordSet') || 'no'; + my $locked = $acct->prop('ExpireLockedOn') || ''; + if ($pass eq 'no' && $locked !~ m/^\d{4}\-\d{1,2}\-\d{1,2}$/){ + $options = [ qw(never) ]; + } + } + return $options; +} + +sub modify_config{ + my ($self) = @_; + my $rec = $c->get('ExpireAccounts') || $c->new_record('ExpireAccounts', { type => 'service' }); + my %new_props = (); + foreach my $prop (qw(WarningDelay DaysBetweenWarnings WarningRecipient)){ + if (!$self->{cgi}->param($prop) || $self->{cgi}->param($prop) eq ''){ + $rec->delete_prop($prop); + } + else{ + $new_props{$prop} = $self->{cgi}->param($prop); + } + } + $rec->merge_props(%new_props); + $self->success('CONFIG_MODIFIED'); +} + +sub modify_user { + my ($self) = @_; + my $acctName = $self->{cgi}->param('acctName'); + + unless (($acctName) = ($acctName =~ /^(\w[\-\w_\.]*)$/)) { + return $self->error( + $self->localise('TAINTED_USER', { acctName => $acctName }) + ); + } + $acctName = $1; + + my $acct = $a->get($acctName); + my $type = $acct->prop('type'); + + unless ($type eq 'user'){ + return $self->error( + $self->localise('NOT_A_USER_ACCOUNT', { acctName => $acctName }) + ); + } + my %new_props = (); + foreach my $prop (qw(ExpireLockOn ExpireForwardAfterLock ExpireAutoReply ExpireDeleteAfterLock ExpireWarnUser)){ + if (!$self->{cgi}->param($prop) || $self->{cgi}->param($prop) eq ''){ + $acct->delete_prop($prop); + } + else{ + $new_props{$prop} = $self->{cgi}->param($prop); + } + } + $acct->merge_props(%new_props); + unless(system('/sbin/e-smith/signal-event', 'user-update-expire-settings', $acctName) == 0){ + return $self->error('ERROR_OCCURRED'); + } + $self->success('USER_MODIFIED'); +} + +sub _count_active_users{ + my $users = 0; + foreach my $user ($a->users){ + $users++ if ($user->prop('PasswordSet') || 'no') eq 'yes'; + } + return $users; +} + +sub _count_inactive_users{ + my $users = 0; + foreach my $user ($a->users){ + if (($user->prop('PasswordSet') || 'no') eq 'no' && + ($user->prop('ExpireLockedOn') || '') =~ m/^\d{4}\-\d{1,2}\-\d{1,2}$/){ + $users++; + } + } + return $users; +} + +# Validation routines + +# Number must be int and positive +sub is_positive_int{ + my ($self, $num) = @_; + return $self->localise('MUST_BE_POSITIVE_NUMBER') unless ($num =~ m/^\d+$/ && $num > 0); + return 'OK'; +} + +# Take a string representing a date, must be YYY-MM-DD format, and in the future (including today), or an empty string +sub is_future_date_or_empty { + my ($self, $date_string) = @_; + return 'OK' if ($date_string eq ''); + return $self->localise('DATE_FORMAT_INVALID') unless ($date_string =~ /^(\d{4})\-(\d{1,2})\-(\d{1,2})$/); + my $date = eval { + DateTime->new( + year => $1, + month => $2, + day => $3 + ); + }; + return $self->localise('DATE_FORMAT_INVALID') unless ($date); + my $now = DateTime->now; + return $self->localise('DATE_IS_PASSED') unless ($date >= $now); + return 'OK'; +} + +# Take a string, must be a valid email or an empty string +sub is_email_or_empty { + my ($self, $field) = @_; + return $self->localise('BAD_SYNTAX') unless (($field =~ m/^[a-zA-Z][a-zA-Z0-9\._\-]*\@?([a-zA-Z0-9\._\-]*)?$/) || ($field eq '')); + return 'OK'; +} + diff --git a/smeserver-expire-accounts.spec b/smeserver-expire-accounts.spec new file mode 100644 index 0000000..9f74934 --- /dev/null +++ b/smeserver-expire-accounts.spec @@ -0,0 +1,102 @@ +Summary: Expire and archive user accounts +Name: smeserver-expire-accounts +Version: 0.1.8 +Release: 7 +License: MIT +Group: Applications/System +Source: %{name}-%{version}.tar.xz + +BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot +BuildArchitectures: noarch +BuildRequires: e-smith-devtools +BuildRequires: gettext + +Requires: e-smith-base >= 5.2.0 +Requires: qmail +Requires: qmail-autoresponder +Requires: perl(DateTime) +Requires: xz +Requires: /bin/tar +Provides: perl(esmith::FormMagick::Panel::expireaccounts) + +%description +With this, you can set an expiration date for user accounts + +%prep +%setup -q -n %{name}-%{version} + +%build +perl createlinks +/sbin/e-smith/generate-lexicons +%{__mkdir_p} root/etc/e-smith/events/%{name}-update +%{__mkdir_p} root/home/e-smith/files/archives/users + +%install +/bin/rm -rf $RPM_BUILD_ROOT +(cd root; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) +/bin/rm -f %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ + --dir /home/e-smith/files/archives 'attr(0750,root,root)' \ + > %{name}-%{version}-filelist + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}-%{version}-filelist +%defattr(-,root,root) + +%pre + +%post + +%preun + +%changelog +* Sat Sep 07 2024 cvs2git.sh aka Brian Read 0.1.8-7.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 0.1.8-6.sme +- apply locale 2024-09-05.patch + +* Sun Aug 21 2022 Jean-Philippe Pialasse 0.1.8-5.sme +- apply smeserver-expire-accounts-0.1.8-locale-2022-08-23 + +* Tue Aug 02 2022 Jean-Philippe Pialasse 0.1.8-3.sme +- import to contribs 10 [SME: 12135] + +* Thu Jul 15 2021 Daniel Berteaud 0.1.8-1 +- Typo (daniel@firewall-services.com) + +* Mon Mar 08 2021 Daniel Berteaud 0.1.7-1 +- new package built with tito + +* Mon Mar 8 2021 Daniel Berteaud - 0.1.7-1.sme +- Suspend email delivery during archiving +- Licence is MIT +- Rebuild using tito + +* Mon May 30 2016 Daniel Berteaud - 0.1.6-1.sme +- Fix a typo in en-us locale label for DESC_WARN_USER + +* Wed May 11 2016 Daniel Berteaud - 0.1.5-1.sme +- Use xz as default compression format + +* Tue Apr 12 2016 Daniel Berteaud - 0.1.4-1.sme +- Accept current day as a future date +- Requires xz + +* Tue Apr 12 2016 Daniel Berteaud - 0.1.3-1.sme +- Add tar in the archives extension + +* Mon Apr 11 2016 Daniel Berteaud - 0.1.2-1.sme +- Only list expired accounts in the inactive accounts table + +* Mon Apr 4 2016 Daniel Berteaud - 0.1.1-1.sme +- Fix permissions on /home/e-smith/files/archives + +* Wed Mar 30 2016 Daniel Berteaud - 0.1.0-1.sme +- Initial release