From 9cbf3c07cdc2f455c6d0a34c1e1c884c0a226054 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sat, 7 Sep 2024 21:14:56 +1000 Subject: [PATCH] initial commit of file from CVS for smeserver-wbl on Sat Sep 7 21:14:56 AEST 2024 --- .gitignore | 4 + Makefile | 21 + README.md | 16 +- contriborbase | 1 + createlinks | 53 ++ root/etc/e-smith/db/wbl/defaults/badhelo/type | 1 + .../e-smith/db/wbl/defaults/badmailfrom/type | 1 + .../db/wbl/defaults/whitelisthelo/type | 1 + .../db/wbl/defaults/whitelisthosts/type | 1 + .../db/wbl/defaults/whitelistsenders/type | 1 + .../locale/bg/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/da/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/de/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/el/etc/e-smith/web/functions/wbl | 191 ++++++ .../en-us/etc/e-smith/web/functions/wbl | 222 +++++++ .../locale/es/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/et/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/fr/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/he/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/hu/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/id/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/it/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/ja/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/nb/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/nl/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/pl/etc/e-smith/web/functions/wbl | 191 ++++++ .../pt-br/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/pt/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/ro/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/ru/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/sl/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/sv/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/th/etc/e-smith/web/functions/wbl | 191 ++++++ .../locale/tr/etc/e-smith/web/functions/wbl | 191 ++++++ .../zh-cn/etc/e-smith/web/functions/wbl | 191 ++++++ .../zh-tw/etc/e-smith/web/functions/wbl | 191 ++++++ .../control/badmailfrom/10wbl_badmailfrom | 18 + .../qpsmtpd/config/badhelo/10wbl_badhelo | 18 + .../config/badmailfrom/10wbl_badmailfrom | 18 + .../qpsmtpd/config/plugins/11whitelist | 4 + .../config/whitelisthelo/10wbl_whitelisthelo | 18 + .../whitelisthosts/10wbl_whitelisthosts | 18 + .../whitelistsenders/10wbl_whitelistsenders | 18 + root/etc/e-smith/web/functions/wbl | 179 ++++++ .../esmith/FormMagick/Panel/wbl.pm | 415 +++++++++++++ .../smanager/lib/SrvMngr/Controller/Wbl.pm | 553 ++++++++++++++++++ .../lib/SrvMngr/I18N/Modules/Wbl/wbl_en.lex | 42 ++ .../lib/SrvMngr/I18N/Modules/Wbl/wbl_fr.lex | 37 ++ .../templates/partials/_wbl_black.html.ep | 50 ++ .../templates/partials/_wbl_choice.html.ep | 24 + .../templates/partials/_wbl_rbl.html.ep | 62 ++ .../templates/partials/_wbl_white.html.ep | 65 ++ .../themes/default/templates/wbl.html.ep | 33 ++ smeserver-wbl.spec | 89 +++ 54 files changed, 6756 insertions(+), 2 deletions(-) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 contriborbase create mode 100755 createlinks create mode 100644 root/etc/e-smith/db/wbl/defaults/badhelo/type create mode 100644 root/etc/e-smith/db/wbl/defaults/badmailfrom/type create mode 100644 root/etc/e-smith/db/wbl/defaults/whitelisthelo/type create mode 100644 root/etc/e-smith/db/wbl/defaults/whitelisthosts/type create mode 100644 root/etc/e-smith/db/wbl/defaults/whitelistsenders/type create mode 100644 root/etc/e-smith/locale/bg/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/da/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/de/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/el/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/es/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/et/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/fr/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/he/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/hu/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/id/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/it/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/ja/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/nb/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/nl/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/pl/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/pt/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/ro/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/ru/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/sl/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/sv/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/th/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/tr/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/wbl create mode 100644 root/etc/e-smith/templates/var/qmail/control/badmailfrom/10wbl_badmailfrom create mode 100644 root/etc/e-smith/templates/var/service/qpsmtpd/config/badhelo/10wbl_badhelo create mode 100644 root/etc/e-smith/templates/var/service/qpsmtpd/config/badmailfrom/10wbl_badmailfrom create mode 100644 root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/11whitelist create mode 100644 root/etc/e-smith/templates/var/service/qpsmtpd/config/whitelisthelo/10wbl_whitelisthelo create mode 100644 root/etc/e-smith/templates/var/service/qpsmtpd/config/whitelisthosts/10wbl_whitelisthosts create mode 100644 root/etc/e-smith/templates/var/service/qpsmtpd/config/whitelistsenders/10wbl_whitelistsenders create mode 100644 root/etc/e-smith/web/functions/wbl create mode 100644 root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/wbl.pm create mode 100644 root/usr/share/smanager/lib/SrvMngr/Controller/Wbl.pm create mode 100644 root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Wbl/wbl_en.lex create mode 100644 root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Wbl/wbl_fr.lex create mode 100644 root/usr/share/smanager/themes/default/templates/partials/_wbl_black.html.ep create mode 100644 root/usr/share/smanager/themes/default/templates/partials/_wbl_choice.html.ep create mode 100644 root/usr/share/smanager/themes/default/templates/partials/_wbl_rbl.html.ep create mode 100644 root/usr/share/smanager/themes/default/templates/partials/_wbl_white.html.ep create mode 100644 root/usr/share/smanager/themes/default/templates/wbl.html.ep create mode 100644 smeserver-wbl.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cbb3a13 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.rpm +*.log +*spec-20* +*.tar.gz diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..05c858a --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: smeserver-wbl +# $Id: Makefile,v 1.1 2020/06/08 11:21:07 michel Exp $ +NAME := smeserver-wbl +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 e93ccb8..c2af84a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ -# smeserver-wbl +# smeserver-wbl -SMEServer Koozali developed git repo for smeserver-wbl smecontribs \ No newline at end of file +SMEServer Koozali developed git repo for smeserver-wbl smecontribs + +## Wiki +
https://wiki.koozali.org/ + +## Bugzilla +Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-wbl&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/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 100755 index 0000000..d20b709 --- /dev/null +++ b/createlinks @@ -0,0 +1,53 @@ +#!/usr/bin/perl -w + +use esmith::Build::CreateLinks qw(:all); +use File::Basename; +use File::Path; + +my $panel = "manager"; +panel_link("wbl", $panel); + +templates2events("/var/service/qpsmtpd/config/badmailfrom", "email-update"); +templates2events("/var/service/qpsmtpd/config/whitelisthelo", "email-update"); +templates2events("/var/service/qpsmtpd/config/whitelisthosts", "email-update"); +templates2events("/var/service/qpsmtpd/config/whitelistsenders", "email-update"); + + +my $wbl = "wbl-update"; +templates2events("/var/qmail/control/badmailfrom", "$wbl"); +templates2events("/var/service/qpsmtpd/config/badmailfrom", "$wbl"); +templates2events("/var/service/qpsmtpd/config/badhelo", "$wbl"); +templates2events("/var/service/qpsmtpd/config/dnsbl_zones", "$wbl"); +templates2events("/var/service/qpsmtpd/config/rhsbl_zones ", "$wbl"); +templates2events("/var/service/qpsmtpd/config/whitelisthelo", "$wbl"); +templates2events("/var/service/qpsmtpd/config/whitelisthosts", "$wbl"); +templates2events("/var/service/qpsmtpd/config/whitelistsenders", "$wbl"); +templates2events("/var/service/qpsmtpd/config/peers/0", "$wbl"); +templates2events("/var/service/qpsmtpd/config/peers/local", "$wbl"); +templates2events("/etc/mail/spamassassin/local.cf", "$wbl"); +safe_symlink("restart", "root/etc/e-smith/events/$wbl/services2adjust/spamassassin"); +safe_symlink("restart", "root/etc/e-smith/events/$wbl/services2adjust/qpsmtpd"); +safe_symlink("restart", "root/etc/e-smith/events/$wbl/services2adjust/sqpsmtpd"); +safe_symlink("../../plugins/11whitelist", + "root/etc/e-smith/templates/var/service/qpsmtpd/config/peers/0/11whitelist"); + +# own event +my $wbl = "smeserver-wbl-update"; +templates2events("/var/qmail/control/badmailfrom", "$wbl"); +templates2events("/var/service/qpsmtpd/config/badmailfrom", "$wbl"); +templates2events("/var/service/qpsmtpd/config/badhelo", "$wbl"); +templates2events("/var/service/qpsmtpd/config/dnsbl_zones", "$wbl"); +templates2events("/var/service/qpsmtpd/config/rhsbl_zones ", "$wbl"); +templates2events("/var/service/qpsmtpd/config/whitelisthelo", "$wbl"); +templates2events("/var/service/qpsmtpd/config/whitelisthosts", "$wbl"); +templates2events("/var/service/qpsmtpd/config/whitelistsenders", "$wbl"); +templates2events("/var/service/qpsmtpd/config/peers/0", "$wbl"); +templates2events("/var/service/qpsmtpd/config/peers/local", "$wbl"); +templates2events("/etc/mail/spamassassin/local.cf", "$wbl"); + +safe_symlink("restart", "root/etc/e-smith/events/$wbl/services2adjust/spamassassin"); +safe_symlink("restart", "root/etc/e-smith/events/$wbl/services2adjust/qpsmtpd"); +safe_symlink("restart", "root/etc/e-smith/events/$wbl/services2adjust/sqpsmtpd"); +event_link("navigation-conf", $wbl, "80"); +safe_symlink("../../plugins/11whitelist", + "root/etc/e-smith/templates/var/service/qpsmtpd/config/peers/0/11whitelist"); diff --git a/root/etc/e-smith/db/wbl/defaults/badhelo/type b/root/etc/e-smith/db/wbl/defaults/badhelo/type new file mode 100644 index 0000000..b92b8b7 --- /dev/null +++ b/root/etc/e-smith/db/wbl/defaults/badhelo/type @@ -0,0 +1 @@ +list diff --git a/root/etc/e-smith/db/wbl/defaults/badmailfrom/type b/root/etc/e-smith/db/wbl/defaults/badmailfrom/type new file mode 100644 index 0000000..b92b8b7 --- /dev/null +++ b/root/etc/e-smith/db/wbl/defaults/badmailfrom/type @@ -0,0 +1 @@ +list diff --git a/root/etc/e-smith/db/wbl/defaults/whitelisthelo/type b/root/etc/e-smith/db/wbl/defaults/whitelisthelo/type new file mode 100644 index 0000000..b92b8b7 --- /dev/null +++ b/root/etc/e-smith/db/wbl/defaults/whitelisthelo/type @@ -0,0 +1 @@ +list diff --git a/root/etc/e-smith/db/wbl/defaults/whitelisthosts/type b/root/etc/e-smith/db/wbl/defaults/whitelisthosts/type new file mode 100644 index 0000000..b92b8b7 --- /dev/null +++ b/root/etc/e-smith/db/wbl/defaults/whitelisthosts/type @@ -0,0 +1 @@ +list diff --git a/root/etc/e-smith/db/wbl/defaults/whitelistsenders/type b/root/etc/e-smith/db/wbl/defaults/whitelistsenders/type new file mode 100644 index 0000000..b92b8b7 --- /dev/null +++ b/root/etc/e-smith/db/wbl/defaults/whitelistsenders/type @@ -0,0 +1 @@ +list diff --git a/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..3edecf0 --- /dev/null +++ b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Запис + + + + PERFORM + Изпълни + + +# WBL_PAGE_FIRST + + + FORM_TITLE + Черни и бели списъци за ел. поща + + + + OPERATION_STATUS_REPORT + Отчет за изпълнението + + + + WBL_DESCRIPTION + Трафикът от ел. съобщения се сканира и може да бъде блокиран според включените методи за оценка. Можете да използвате този панел за определяне на бели и черни списъци за електронната поща. + + + + RBL_LIST_DESCRIPTION + Списъците RBL's се ползват за корекция на DNSBL и RHSBL. + + + + + RBL_LIST + Списък RBLs + + + + BLACK_LIST_DESCRIPTION + Черните списъци се ползват за отхвърляне на ел. съобщения. + + + + BLACK_LIST + Черен списък + + + + WHITE_LIST_DESCRIPTION + Белите списъци се ползват за изрично приемане на съобщения. + + + + WHITE_LIST + Бял списък + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + Сървърът включва вградена поддръжка на дефинирани от администратора черни списъци, badhelo и badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL е съкращение на "DNS blacklist" - черен списък по DNS. + + + + DNSBL_LABEL + Състояние на DNSBL + + + + RHSBL_DESCRIPTION + RHSBL е съкращение на "Right Hand Side Blacklist" черен списък RHS - частта 'от дясно'. + + + + RHSBL_LABEL + Състояние на RHSBL + + + + BADHELO_DESCRIPTION + Проверява съобщението HELO, получено от свързания хост. Отхвърля всеки, който е в badhelo по време на фаза 'helo'. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Проверява адреса на изпращача по плик. Отхвърля всеки който е (@host или user@host) в badmailfrom по време на фаза 'mail'. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Използвайте този панел за да промените настройките на белия списък. Всички елементи в него ще бъдат разрешени + + + + RRFH_LABEL + Състояние на белия списък + + + + WHITELISTHOSTS_DESCRIPTION + Всеки IP адрес показан в whitelisthosts ще бъде освободен от всички следващи проверки по време на фаза 'connect'. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Всеки хост, който изпрати HELO, което съвпадне с елемент whitelisthelo ще бъде изключен от следващи проверки по време на фаза 'helo'. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Всеки изпращач на съобщение по плик (host.domain или user@host.domain) съвпадащ с елемент от whitelistsenders ще бъде изключен от следващи проверки по време на фаза 'mail'. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Всеки изпращач на съобщение по плик (*@host или user@host) съвпадащ с елемент от whitelist_from ще бъде изключен от отхвърляне от spamassassin. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Всеки изпращач на съобщение по плик (*@host или user@host) съвпадащ с елемент от blacklist_from ще бъде отхвърлен от spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + Блокиращ списък RHS - частта 'от дясно' ('right hand side') на хоста/домейна на изпращача ще бъде проверена с тези сървъри + + + RBLLIST_LABEL + DNSBL зони (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + Блокиращ списък по DNS - IP адреса на изпращача ще бъде проверен с тези сървъри + + + RBL_TITLE + Черните дупки в реално време (RBLs ) ще бъдат стандартно изключени. За да намалите спама можете да ги включите тук. + + diff --git a/root/etc/e-smith/locale/da/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..eb46662 --- /dev/null +++ b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Gem + + + + PERFORM + Udfør + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Status rapport + + + + WBL_DESCRIPTION + E-mail trafik skannes og kan blive blokeret af forskellige kontrolmetoder som er aktiveret. Du kan bruge dette panel til at definere e-mal white/black lister. + + + + RBL_LIST_DESCRIPTION + RBL's liste bruges til at justere DNSBL og RHSBL. + + + + + RBL_LIST + RBL's liste + + + + BLACK_LIST_DESCRIPTION + Sortlistet bruges til at afvise e-mail trafik. + + + + BLACK_LIST + Sortlistet + + + + WHITE_LIST_DESCRIPTION + Hvid listet bruges til at acceptere e-mail trakfik + + + + WHITE_LIST + Hvid liste + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + Denne server understøtter admin i at definere sortlister, badhelo og badmailfrom + + + + DNSBL_DESCRIPTION + DNSBL står for DNS 'Black List'. + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL står for 'Right Hand Side Blacklist'. + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Kontroller 'HELO beskeder, som leveres fra en ekstern server. Afvis alle, som står på listen 'badhelo under 'helo' fasen. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Kontroller afsenderadresse. Afvis alle som står på listen badmailfrom (@host eller bruger@host). + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Brug dette panel til at redigere din servers 'White List' opsætning. Alle værdier vil aktiveret som standard + + + + RRFH_LABEL + 'Whitelist' status + + + + WHITELISTHOSTS_DESCRIPTION + Alle IP-adresser registreret i 'whitelisthost' vil blive fritaget for yderligere kontrol under 'Tilslut' fasen. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Alle servere som angiver en HELO der matcher en værdi i 'whitelisthelo' undtages for yderligere kontrol under 'helo' fasen. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Enhver afsender af e-mail (host.domain eller bruger@host.domain) som matcher en værdi i whitelistsenders undtages for yderligere kontrol under 'mail' fasen. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Alle afsendere af e-mail (*@host or user@host) som matcher en værdi i 'whitelist_from' undtages for afvisning af spamassassin. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS afvis liste - "højre side" af afsendere/domæner vil blive kontrolleret op imod de følgende servere + + + RBLLIST_LABEL + DNSBL Zoner (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS afvis liste - afsenders IP adresse vil blive kontrolleret op imod de følgende servere + + + RBL_TITLE + Real tids Blackhole liste er deaktiveret som standard. For ar reducere mængden af spam kan aktivere RBLs her. + + diff --git a/root/etc/e-smith/locale/de/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..97e32c5 --- /dev/null +++ b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Speichern + + + + PERFORM + Ausführen + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-Mail WBL + + + + OPERATION_STATUS_REPORT + Statusbericht + + + + WBL_DESCRIPTION + E-Mail Traffic wird gescannt und wird gegebenenfalls auf Basis der aktivierten Filtermethoden blockiert. Sie können hier E-Mail White- und Blacklisten definieren. + + + + RBL_LIST_DESCRIPTION + RBL Liste, die zum Anpassen der DNSBL und RHSBL verwendet wird. + + + + + RBL_LIST + Liste des RBL + + + + BLACK_LIST_DESCRIPTION + Blacklisten werden zum Zurückweisen von E-Mail Traffic verwendet. + + + + BLACK_LIST + Blacklisten + + + + WHITE_LIST_DESCRIPTION + Whitelisten werden zum Annehmen von E-Mail Traffic verwendet. + + + + WHITE_LIST + Whitelisten + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + Dieser Server enthält eingebaute Unterstützung für Admin-definierte Blacklisten, badhelo und badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL ist die Abkürzung für "DNS blacklist". + + + + DNSBL_LABEL + DNSBL Status + + + + RHSBL_DESCRIPTION + RHSBL ist die Abkürzung für "Right Hand Side blacklist". + + + + RHSBL_LABEL + RHSBL Status + + + + BADHELO_DESCRIPTION + Prüfe die HELO Nachricht eines sich verbindenden Hosts. Weise alle Hosts, die in der Liste badhelo stehen, noch während der 'helo' Verbindungsphase zurück. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Prüfe die Envelope Sender Adressen. Weise alle Sender (@host oder user@host), die in der Liste badmailform stehen, noch während der 'mail' Verbindungsphase zurück. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Benutzen Sie diese Seite, um die Whitelist Einstellungen ihres Servers zu ändern. Alle Eingaben sind standardmäßig aktiviert + + + + RRFH_LABEL + Whitelist Status + + + + WHITELISTHOSTS_DESCRIPTION + Jede IP Adresse, die unter whitelisthosts gelistet ist, wird beim Verbindungsvorgang in der 'connect' Phase nicht weiter überprüft. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Jeder Host mit einem HELO passend zu einem Eintrag in der Liste whitelisthelo wird in der 'helo' Phase nicht weiter überprüft. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Jeder Absender einer E-Mail (host.domain oder user@host.domain) mit einem korrespondierenden Eintrag in whitelistsenders wird während 'mail' Phase nicht weiter überprüft. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Jeder Absender einer E-Mail (*@host oder user@host) mit einem korrespondierenden Eintrag in der Liste whitelist_from wird von spamassassin nicht weiter überprüft. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Jeder Absender einer E-Mail (*@host oder user@host) mit einem korrespondierenden Eintrag in der Liste blacklist_from wird von spamassassin zurückgewiesen. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' der Sender Host/Domäne wird gegen die folgenden Server geprüft + + + RBLLIST_LABEL + DNSBL Zonen (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - Sender IP Adressen werden gegen die folgenden Server geprüft + + + RBL_TITLE + Echtzeit Blackhole Listen sind standardmäßig nicht aktiviert. Um Spam zu reduzieren, können RBLs hier aktiviert werden. + + diff --git a/root/etc/e-smith/locale/el/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..da66057 --- /dev/null +++ b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Αποθήκευση + + + + PERFORM + Εκτέλεση + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Αναφορά κατάστασης λειτουργίας + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + This server includes built-in support for using the admin defined black lists, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is an abbreviation for "DNS blacklist". + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Check a HELO message delivered from a connecting host. Reject any that appear in badhelo during the 'helo' stage. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Check envelope sender addresses. Reject any that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Use this panel to modify your servers White List settings. All entries will be enabled by default + + + + RRFH_LABEL + Whitelists status + + + + WHITELISTHOSTS_DESCRIPTION + Any IP address listed in whitelisthosts will be exempted from any further validation during the 'connect' stage. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Any host that issues a HELO matching an entry in whitelisthelo will be exempted from further validation during the 'helo' stage. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Any envelope sender of a mail (host.domain or user@host.domain) matching an entry in whitelistsenders will be exempted from further validation during the 'mail' stage. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from will be exempted from spamassassin rejection. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..86770ec --- /dev/null +++ b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/wbl @@ -0,0 +1,222 @@ + + + +# WBL_BUTTONS + + + SAVE + Save + + + + PERFORM + Perform + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + + Operation status report + + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. + You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + + This server includes built-in support for using the admin defined black lists, badhelo and + badmailfrom. + + + + + DNSBL_DESCRIPTION + + DNSBL is an abbreviation for "DNS blacklist". + + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + + Check a HELO message delivered from a connecting host. Reject any + that appear in badhelo during the 'helo' stage. + + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + + Check envelope sender addresses. Reject any + that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Use this panel to modify your servers White List settings. All entries will be enabled by default + + + + RRFH_LABEL + Whitelists status + + + + WHITELISTHOSTS_DESCRIPTION + + Any IP address listed in whitelisthosts will be exempted + from any further validation during the 'connect' stage. + + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + + Any host that issues a HELO matching an entry in whitelisthelo will + be exempted from further validation during the 'helo' stage. + + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + + Any envelope sender of a mail (host.domain or user@host.domain) matching an entry in whitelistsenders + will be exempted from further validation during the 'mail' stage. + + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from + will be exempted from spamassassin rejection. + + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from + will be rejected by spamassassin. + + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/es/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..a9b2e9c --- /dev/null +++ b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Guardar + + + + PERFORM + Ejecutar + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Estado de la operación + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + Este servidor incluye soporte propio para utilizar dos métodos de black list externas, RHSBL y DNSBL. También soporta las black lists definidas por el administrador, badhelo y badmailfrom.

]]>
+
+ + + DNSBL_DESCRIPTION + DNSBL es una abreviatura de "DNS blacklist". Esta es una lista de direcciones IP conocidas de spammers. + + + + DNSBL_LABEL + Estado DNSBL + + + + RHSBL_DESCRIPTION + RHSBL es una abreviatura de "Right Hand Side Blacklist". Esta es una lista de nombres de dominio conocidos de spammers. + + + + RHSBL_LABEL + Estado RHSBL + + + + BADHELO_DESCRIPTION + Comprobar el mensaje HELO emitido desde la conexión de un host. Rechazar cualquiera que aparezca en badhelo durante la fase 'helo'. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Comprobar las direcciones del remitente del sobre (Return-Path). Rechazar cualquier (@host o usuario@host) declarado en badmailfrom durante la fase 'mail'. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Utilice este panel para modificar los ajustes de White List de su servidor. + + + + RRFH_LABEL + Estado Whitelists + + + + WHITELISTHOSTS_DESCRIPTION + Cualquier IP listada en whitelisthosts estará exenta de cualquier futura validación durante la fase 'connect'. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Cualquier host que tenga un HELO que coincida con una entrada en whitelisthelo estará exento de cualquier futura validación durante la fase 'helo'. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Cualquier remitente de sobre (Return-Path) de un correo (@host o usuario@host) que coincida con una entrada en whitelistsenders estará exento de cualquier futura validación durante la fase 'mail'. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Cualquier remitente de sobre (Return-Path) de un correo (*@host o usuario@host) que coincida con una entrada en whitelist_from estará exento del rechazo de spamassassin. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + +
diff --git a/root/etc/e-smith/locale/et/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..6c7bf6e --- /dev/null +++ b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Salvesta + + + + PERFORM + Perform + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Operatsiooni tulemus + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + This server includes built-in support for using the admin defined black lists, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is an abbreviation for "DNS blacklist". + + + + DNSBL_LABEL + DNSBL olek + + + + RHSBL_DESCRIPTION + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + RHSBL_LABEL + RHSBL olek + + + + BADHELO_DESCRIPTION + Check a HELO message delivered from a connecting host. Reject any that appear in badhelo during the 'helo' stage. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Check envelope sender addresses. Reject any that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Kasuta seda paneeli serveri Valge nimekirja seadete muutmiseks. + + + + RRFH_LABEL + Valge nimekirja olek + + + + WHITELISTHOSTS_DESCRIPTION + Any IP address listed in whitelisthosts will be exempted from any further validation during the 'connect' stage. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Any host that issues a HELO matching an entry in whitelisthelo will be exempted from further validation during the 'helo' stage. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Any envelope sender of a mail (host.domain or user@host.domain) matching an entry in whitelistsenders will be exempted from further validation during the 'mail' stage. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from will be exempted from spamassassin rejection. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..af6946b --- /dev/null +++ b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Sauvegarder + + + + PERFORM + Exécuter + + +# WBL_PAGE_FIRST + + + FORM_TITLE + WBL courriel + + + + OPERATION_STATUS_REPORT + Rapport d'état de l'opération + + + + WBL_DESCRIPTION + Le trafic courriel est scanné et peut être bloqué en raison des différentes méthodes de dépistage activées. Vous pouvez utiliser ce panneau pour définir les listes blanches / noires de courriels. + + + + RBL_LIST_DESCRIPTION + La liste RBL est utilisée pour ajuster DNSBL et RHSBL. + + + + + RBL_LIST + Liste RBL + + + + BLACK_LIST_DESCRIPTION + Les listes noires sont utilisées pour refuser le trafic de courriels. + + + + BLACK_LIST + Liste noire + + + + WHITE_LIST_DESCRIPTION + Les listes blanches sont utilisées pour accepter le trafic de courriels. + + + + WHITE_LIST + Liste blanche + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + Ce serveur inclus un support intégré permettant à l'administrateur de définir des listes noires, badhelo et badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL est une abréviation Anglaise pour "Liste noire DNS". + + + + DNSBL_LABEL + Statut DNSBL + + + + RHSBL_DESCRIPTION + RHSBL est une abréviation pour "Right Hand Side Blacklist". + + + + RHSBL_LABEL + Rapport d'état de RHSBL + + + + BADHELO_DESCRIPTION + Vérifie un message HELO livré par un hôte se connectant. Ceci refuse tout ceux qui apparaissent dans badhelo au moment de la phase 'helo'. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Vérifie les adresses de l'expéditeur d'enveloppe. Refuse tout ce qui apparaît (@hôte ou utilisateur@hôte) dans 'badmailfrom' pendant la phase 'mail'. + + + + BADMAILFROM_LABEL + qmail 'badmailfrom' + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Utilisez cette page pour modifier les paramètres de liste blanche de vos serveurs. Toutes les entrées seront activées par défaut + + + + RRFH_LABEL + État des listes blanches + + + + WHITELISTHOSTS_DESCRIPTION + Toute IP présente dans whitelisthosts sera exemptée de toutes validations supplémentaires pendant la phase 'connexion' + + + + WHITELISTHOSTS_LABEL + Qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Tout hôte qui émet un HELO correspondant à une entrée dans whitelisthelo sera exempté de toute autre validation pendant la phase 'helo' + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Tout expéditeur d'un courriel (hôte.domaine ou utilisateur@hôte.domaine) correspondant à une entrée de la liste blanche des expéditeurs sera exempté de toutes validations supplémentaires durant la phase 'mail'. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Tout expéditeur d'un courriel (*@hôte ou utilisateur@hôte) correspondant à une entrée dans whitelist_from sera exempté d'un rejet par spamassassin. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Tout expéditeur d'un courriel (*@hôte ou utilisateur@hôte) correspondant à une entrée dans blacklist_from sera rejeté par spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + Liste de blocage RHS - (Right Hand Side) des expéditeurs hôte / domaine sera vérifié contre les serveurs suivants + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + Liste de bloquage DNS - L'adresse IP des expéditeurs sera vérifiée à partir des serveurs suivants. + + + RBL_TITLE + Les listes noires en temps réel sont désactivés par défaut. Pour aider à réduire le spam vous pouvez activer les RBLs ici. + + diff --git a/root/etc/e-smith/locale/he/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..1ef9dc9 --- /dev/null +++ b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + שמור + + + + PERFORM + Perform + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Operation status report + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + This server includes built-in support for using the admin defined black lists, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is an abbreviation for "DNS blacklist". + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Check a HELO message delivered from a connecting host. Reject any that appear in badhelo during the 'helo' stage. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Check envelope sender addresses. Reject any that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Use this panel to modify your servers White List settings. All entries will be enabled by default + + + + RRFH_LABEL + Whitelists status + + + + WHITELISTHOSTS_DESCRIPTION + Any IP address listed in whitelisthosts will be exempted from any further validation during the 'connect' stage. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Any host that issues a HELO matching an entry in whitelisthelo will be exempted from further validation during the 'helo' stage. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Any envelope sender of a mail (host.domain or user@host.domain) matching an entry in whitelistsenders will be exempted from further validation during the 'mail' stage. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from will be exempted from spamassassin rejection. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..bd28dfc --- /dev/null +++ b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Mentés + + + + PERFORM + Végrehajtás + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Használati jelentés + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + This server includes built-in support for using the admin defined black lists, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is an abbreviation for "DNS blacklist". + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Check a HELO message delivered from a connecting host. Reject any that appear in badhelo during the 'helo' stage. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Check envelope sender addresses. Reject any that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Use this panel to modify your servers White List settings. All entries will be enabled by default + + + + RRFH_LABEL + Whitelists status + + + + WHITELISTHOSTS_DESCRIPTION + Any IP address listed in whitelisthosts will be exempted from any further validation during the 'connect' stage. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Any host that issues a HELO matching an entry in whitelisthelo will be exempted from further validation during the 'helo' stage. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Any envelope sender of a mail (host.domain or user@host.domain) matching an entry in whitelistsenders will be exempted from further validation during the 'mail' stage. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from will be exempted from spamassassin rejection. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/id/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..3caaeb5 --- /dev/null +++ b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Simpan + + + + PERFORM + Jalankan + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Laporan status operasi + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + This server includes built-in support for using the admin defined black lists, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is an abbreviation for "DNS blacklist". + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Check a HELO message delivered from a connecting host. Reject any that appear in badhelo during the 'helo' stage. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Check envelope sender addresses. Reject any that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Use this panel to modify your servers White List settings. All entries will be enabled by default + + + + RRFH_LABEL + Whitelists status + + + + WHITELISTHOSTS_DESCRIPTION + Any IP address listed in whitelisthosts will be exempted from any further validation during the 'connect' stage. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Any host that issues a HELO matching an entry in whitelisthelo will be exempted from further validation during the 'helo' stage. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Any envelope sender of a mail (host.domain or user@host.domain) matching an entry in whitelistsenders will be exempted from further validation during the 'mail' stage. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from will be exempted from spamassassin rejection. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/it/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..883f394 --- /dev/null +++ b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Salva + + + + PERFORM + Esegui + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Rapporto operazione + + + + WBL_DESCRIPTION + Il traffico di posta viene analizzato è può essere bloccato utilizzando i vari metodi di controllo. Il pannello seguente può essere utilizzato per definire white/black lists di indirizzi postali. + + + + RBL_LIST_DESCRIPTION + La lista RBL viene utilizzata per correggere DNSBL e RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Le Black lists sono utilizzate per respingere il traffico e-mail. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + Le White lists sono utilizzate per accettare il traffico e-mail. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + Il server integra il supporto delle black list liste definite da admin, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL è una abbreviazione per "DNS blacklist". + + + + DNSBL_LABEL + Stato DNSBL + + + + RHSBL_DESCRIPTION + RHSBL è una abbreviazione per "Right Hand Side Blacklist". + + + + RHSBL_LABEL + Stato RHSBL + + + + BADHELO_DESCRIPTION + Controlla il messaggio di HELO inviato da un host che tenta di connettersi. Respinge quelli contenuti in 'badhelo" durante la fase di 'helo'. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Controlla l'indirizzo del mittente. Respinge qulunque mittente (@host or user@host) appaia in "badmailfrom" durante la fase 'mail'. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Utilizzare questo pannello per modificare le impostazioni della White List. Tutti gli elementi saranno abilitati di default. + + + + RRFH_LABEL + Stato della White List + + + + WHITELISTHOSTS_DESCRIPTION + Qualunque indirizzo IP nella White List viene esentato da ogni ulteriore controllo durante la fase 'connect'. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Ogni host che invia un comando HELO corrispondente ad un elemento di 'whitelisthelo' viene esentato da ogni ulteriore controllo durante la fase 'helo'. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Qualunque mittente di un messaggio (host.domain o user@host.domain) corrispondente ad un elemento di 'whitelistsenders' viene esentato da ogni ulteriore controllo durante la fase 'stage'. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Qualunque mittente di un messaggio (*@host o user@host) corrispondente ad un elemento di 'whitelist_from' viene esentato da ogni controllo durante il controllo spamassassin. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'la parte di destra' dell'indirizzo del mittente host/domain sarà controllata utilizzando i server seguenti: + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - l'indirizzo IP del mittente sarà controllato utilizzando i server seguenti: + + + RBL_TITLE + Le Real-time Blackhole Lists (RBL) sono normalmente disabilitate. Le RBL possono essere abilitate qui per aiutare un taglio dello spam. + + diff --git a/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..1789a24 --- /dev/null +++ b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + 保存 + + + + PERFORM + Perform + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Operation status report + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + This server includes built-in support for using the admin defined black lists, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is an abbreviation for "DNS blacklist". + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Check a HELO message delivered from a connecting host. Reject any that appear in badhelo during the 'helo' stage. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Check envelope sender addresses. Reject any that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Use this panel to modify your servers White List settings. All entries will be enabled by default + + + + RRFH_LABEL + Whitelists status + + + + WHITELISTHOSTS_DESCRIPTION + Any IP address listed in whitelisthosts will be exempted from any further validation during the 'connect' stage. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Any host that issues a HELO matching an entry in whitelisthelo will be exempted from further validation during the 'helo' stage. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Any envelope sender of a mail (host.domain or user@host.domain) matching an entry in whitelistsenders will be exempted from further validation during the 'mail' stage. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from will be exempted from spamassassin rejection. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..41fe714 --- /dev/null +++ b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Lagre + + + + PERFORM + Utfør + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Statusrapport for operasjonen + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + This server includes built-in support for using the admin defined black lists, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is an abbreviation for "DNS blacklist". + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Check a HELO message delivered from a connecting host. Reject any that appear in badhelo during the 'helo' stage. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Check envelope sender addresses. Reject any that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Use this panel to modify your servers White List settings. All entries will be enabled by default + + + + RRFH_LABEL + Whitelists status + + + + WHITELISTHOSTS_DESCRIPTION + Any IP address listed in whitelisthosts will be exempted from any further validation during the 'connect' stage. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Any host that issues a HELO matching an entry in whitelisthelo will be exempted from further validation during the 'helo' stage. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Any envelope sender of a mail (host.domain or user@host.domain) matching an entry in whitelistsenders will be exempted from further validation during the 'mail' stage. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from will be exempted from spamassassin rejection. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..693ec96 --- /dev/null +++ b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Opslaan + + + + PERFORM + Uitvoeren + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Operationeel status rapport + + + + WBL_DESCRIPTION + E-mail berichten verkeer wordt doorzocht en kan op verschillende manieren geblokkeerd worden. U kunt met dit paneel witte en zwarte lijsten voor email definiëren. + + + + RBL_LIST_DESCRIPTION + RBL's Lijsten wordt gebruikt om DNSBL en RHSBL aan te passen. + + + + + RBL_LIST + RBL's Lijsten + + + + BLACK_LIST_DESCRIPTION + Zwarte lijsten worden gebruikt on email verkeer te weigeren. + + + + BLACK_LIST + Zwarte lijst + + + + WHITE_LIST_DESCRIPTION + Witte lijsten worden gebruikt on email verkeer te accepteren. + + + + WHITE_LIST + Witte lijst + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + Deze server heeft ondersteuning voor het gebruik van beheerder gedefinieerde zwarte lijst, badhelo en badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is een afkorting voor "DNS BlackList". + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL is een afkorting voor "Right Hand Side Blacklist". + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Controleer een HELO bericht van een inkomende host. Weiger ieder die voorkomt in 'badhelo' gedurende het 'helo' stadium. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Controleer de envelop verzender adres. Weiger ieder die voorkomt (@host of gebruiker@host) in 'badmailfrom' gedurende het 'mail' stadium. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Gebruik dit paneel om de Witte Lijst instellingen van uw server te wijzigen. All instellingen staan standaard aan. + + + + RRFH_LABEL + Witte lijst status + + + + WHITELISTHOSTS_DESCRIPTION + Elk IP adres dat voorkomt in whitelisthosts zal uitgezonderd zijn van verdere validatie tijdens het 'verbindings' stadium. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Elke host die een HELO doet en voorkomt in whitelisthelo zal uitgezonderd zijn van verdere validatie gedurende het 'helo' stadium. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Elke envelop verzender van een mail (@host of gebruiker@host) die voorkomt in whitelistsenders zal uitgezonderd zijn van verdere validatie gedurende het 'mail' stadium. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Elke envelop verzender van een mail (*@host of gebruiker@host) en voorkomt in whitelist_from zal worden uitgezonderd van spamassassin weigering. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS 'right hand side' blokkeer list. Verzenders domain zal gecontrolleerd worden met de volgende servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Blokkeer Lijst - Verzenders IP adres zal gecontrolleerd woden met de volgende servers + + + RBL_TITLE + Real-time Blackhole Lists zijn default uitgeschakeld. Om spam te bestrijden kan je RBLs hier inschakelen. + + diff --git a/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..3806bea --- /dev/null +++ b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Zapisz + + + + PERFORM + Perform + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Raport o stanie procesu + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + This server includes built-in support for using the admin defined black lists, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is an abbreviation for "DNS blacklist". + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Check a HELO message delivered from a connecting host. Reject any that appear in badhelo during the 'helo' stage. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Check envelope sender addresses. Reject any that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Use this panel to modify your servers White List settings. All entries will be enabled by default + + + + RRFH_LABEL + Whitelists status + + + + WHITELISTHOSTS_DESCRIPTION + Any IP address listed in whitelisthosts will be exempted from any further validation during the 'connect' stage. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Any host that issues a HELO matching an entry in whitelisthelo will be exempted from further validation during the 'helo' stage. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Any envelope sender of a mail (host.domain or user@host.domain) matching an entry in whitelistsenders will be exempted from further validation during the 'mail' stage. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from will be exempted from spamassassin rejection. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..bc3eeed --- /dev/null +++ b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Salvar + + + + PERFORM + Executar + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Relatório de status da operação + + + + WBL_DESCRIPTION + O tráfego de e-mail é escaneado e pode ser bloqueado devido a vários métodos de procura habilitados. Você pode usar este painel para definir as listas Branca e Negra de e-mail. + + + + RBL_LIST_DESCRIPTION + Listas RBL's são usadas para configurar DNSBL e RHSBL. + + + + + RBL_LIST + Lista RBL + + + + BLACK_LIST_DESCRIPTION + Listas negras são usadas para rejeitar o tráfego de e-mail. + + + + BLACK_LIST + Lista Negra + + + + WHITE_LIST_DESCRIPTION + Listas Brancas são usadas para aceitar tráfego de e-mali. + + + + WHITE_LIST + Lista Branca + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + Este servidor inclui suporte interno para que o admin defina o uso de Lista Negra, badhelo e badmailrom. + + + + DNSBL_DESCRIPTION + DNSBL é uma abreviação para "DNS blacklist". É uma lista de endereços IP conhecidos como sendo de spammers. + + + + DNSBL_LABEL + status da DNSBL + + + + RHSBL_DESCRIPTION + RHSBL é uma abreviação para "Right Hand Side Blacklist". É uma lista de nomes de domínio conhecidos como serem spammers. + + + + RHSBL_LABEL + status da RHSBL + + + + BADHELO_DESCRIPTION + Checar uma mensagem HELO durante a conexão do host. Rejeitar qualquer uma que apareça in badhelo durante o estágio 'helo'. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Verificar envelope para endereço do remetente. Rejeitar qualquer coisa (@host ou usuario@host) constante do badmailfrom durante o estagio 'mail'. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Use este painel para modificar as configurações de Lista Branca do seu servidor. Todas entradas serão habilitadas por padrão + + + + RRFH_LABEL + Status das Listas Brancas + + + + WHITELISTHOSTS_DESCRIPTION + Qualquer endereço IP listado em whitelisthosts será isentado de qualquer outra validação durante o estágio 'connect'. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Qualquer host que emitir um HELO igual a uma entrada em whitelisthelo será isentado de qualquer outra validação durante o estagio 'helo'. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Qualquer envelope do e-mail de remetente (@host ou usuario@dominio. host) correspondendo a uma entrada em whitelistsenders será isentado de qualquer outra validação durante o estágio 'mail'. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Qualquer envelope do e-mail de remetente (*@host ou usuario@host) correspondendo a uma entrada em whitelist_from ficará isento de rejeição pelo spamassassin. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Qualquer remetente de e-mail (*@host ou usuario@host) igual a uma entrada de Lista Negra será rejeitado pelo spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' ou a lista do lado da mão certa é uma lista de servidores/domínios que será verificada contra os seguintes servidores + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + Lista de DNS Bloqueados - o endereços IP do remetente será verificado nos seguintes servidores + + + RBL_TITLE + Listas RBL (Real-time Blackhole Lists) são desligadas por padrão. Para ajudar a reduzir o SPAM você pode habilitar as RBLs aqui. + + diff --git a/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..c41e1de --- /dev/null +++ b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Salvar + + + + PERFORM + Executar + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Relarório de status de operação + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + This server includes built-in support for using the admin defined black lists, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is an abbreviation for "DNS blacklist". + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Check a HELO message delivered from a connecting host. Reject any that appear in badhelo during the 'helo' stage. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Check envelope sender addresses. Reject any that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Use this panel to modify your servers White List settings. All entries will be enabled by default + + + + RRFH_LABEL + Whitelists status + + + + WHITELISTHOSTS_DESCRIPTION + Any IP address listed in whitelisthosts will be exempted from any further validation during the 'connect' stage. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Any host that issues a HELO matching an entry in whitelisthelo will be exempted from further validation during the 'helo' stage. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Any envelope sender of a mail (host.domain or user@host.domain) matching an entry in whitelistsenders will be exempted from further validation during the 'mail' stage. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from will be exempted from spamassassin rejection. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..bbc4860 --- /dev/null +++ b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Salvează + + + + PERFORM + Execută + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Raport operațiune + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + This server includes built-in support for using the admin defined black lists, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is an abbreviation for "DNS blacklist". + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Check a HELO message delivered from a connecting host. Reject any that appear in badhelo during the 'helo' stage. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Check envelope sender addresses. Reject any that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Use this panel to modify your servers White List settings. All entries will be enabled by default + + + + RRFH_LABEL + Whitelists status + + + + WHITELISTHOSTS_DESCRIPTION + Any IP address listed in whitelisthosts will be exempted from any further validation during the 'connect' stage. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Any host that issues a HELO matching an entry in whitelisthelo will be exempted from further validation during the 'helo' stage. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Any envelope sender of a mail (host.domain or user@host.domain) matching an entry in whitelistsenders will be exempted from further validation during the 'mail' stage. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from will be exempted from spamassassin rejection. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..08ce52a --- /dev/null +++ b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Сохранить + + + + PERFORM + Выполнить + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Данные о состоянии функционирования + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + This server includes built-in support for using the admin defined black lists, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is an abbreviation for "DNS blacklist". + + + + DNSBL_LABEL + Состояние DNSBL + + + + RHSBL_DESCRIPTION + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + RHSBL_LABEL + Состояние RHSBL + + + + BADHELO_DESCRIPTION + Check a HELO message delivered from a connecting host. Reject any that appear in badhelo during the 'helo' stage. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Check envelope sender addresses. Reject any that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Используйте эту панель, чтобы изменить настройки White List серверов. + + + + RRFH_LABEL + Состояние whitelists + + + + WHITELISTHOSTS_DESCRIPTION + Any IP address listed in whitelisthosts will be exempted from any further validation during the 'connect' stage. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Any host that issues a HELO matching an entry in whitelisthelo will be exempted from further validation during the 'helo' stage. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Any envelope sender of a mail (host.domain or user@host.domain) matching an entry in whitelistsenders will be exempted from further validation during the 'mail' stage. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from will be exempted from spamassassin rejection. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..fbe9393 --- /dev/null +++ b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Shrani + + + + PERFORM + Izvedi + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + Porocilo o delovanju + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + This server includes built-in support for using the admin defined black lists, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is an abbreviation for "DNS blacklist". + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Check a HELO message delivered from a connecting host. Reject any that appear in badhelo during the 'helo' stage. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Check envelope sender addresses. Reject any that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Use this panel to modify your servers White List settings. All entries will be enabled by default + + + + RRFH_LABEL + Whitelists status + + + + WHITELISTHOSTS_DESCRIPTION + Any IP address listed in whitelisthosts will be exempted from any further validation during the 'connect' stage. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Any host that issues a HELO matching an entry in whitelisthelo will be exempted from further validation during the 'helo' stage. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Any envelope sender of a mail (host.domain or user@host.domain) matching an entry in whitelistsenders will be exempted from further validation during the 'mail' stage. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from will be exempted from spamassassin rejection. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..4f9f021 --- /dev/null +++ b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Spara + + + + PERFORM + Verkställ + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-post WBL + + + + OPERATION_STATUS_REPORT + Statusrapport över operationerna + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + Denna server har inbyggt stöd för nyttjande av två externa svartlistningsmetoder, DNSBL och RHSBL. Servern stödjer också administratörsdefinierade svartlistor, badhelo och badmailfrom.

]]>
+
+ + + DNSBL_DESCRIPTION + DNSBL är en förkortning av "DNS blacklist". Det är en lista över IP-adressen som är kända för att vara spammare. + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL är en förkortning av "Right Hand Side Blacklist". Det är en lista över domännamn som är kända för att vara spammare. + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Kontrollera HELO-meddelandet som levereras från en anslutande värd. Förkasta alla som syns i badhelo under 'helo'-stadiet. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Kontrollera meddelandets avsändaradress. Förkasta alla som finns (@host eller i user@host) i dåligtmeddelandefrån under 'mail'-processen. + + + + BADMAILFROM_LABEL + qmail dåligtmeddelandefrån (badmailfrom) + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Använd denna panel för att modifiera din servers inställningar för vitlista. + + + + RRFH_LABEL + Vitlistans status + + + + WHITELISTHOSTS_DESCRIPTION + Alla IP-adresser som finns på vitlistans värdar kommer att undantas från all kommande validering under 'skapa kontakt'-stadiet. + + + + WHITELISTHOSTS_LABEL + qpsmtpd värdar på vitlistan + + + + WHITELISTHELO_DESCRIPTION + Alla värdar som ger en HELO och som stämmer överens med ett värde i vitlitans helo kommer att undantas från fortsatt validering under 'helo'-stadiet. + + + + WHITELISTHELO_LABEL + qpsmtpd vitlista över helo + + + + WHITELISTSENDERS_DESCRIPTION + Alla avsändare av e-post (@host eller user@host) som stämmer överens med ett värde i vitlistans avsändare kommer att undantas från kommande validering under 'mail'-stadiet. + + + + WHITELISTSENDERS_LABEL + qpsmtpd vitlistans avsändare + + + + WHITELISTFROM_DESCRIPTION + Alla avsändare av e-postmeddelande (*@host eller user@host) som stämmer överens med ett värde i vitlistans_från kommer att undantas från förkastning av spamassassin. + + + + WHITELISTFROM_LABEL + spamassassin vitlista_från + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + +
diff --git a/root/etc/e-smith/locale/th/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..69c9383 --- /dev/null +++ b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + บันทึก + + + + PERFORM + ดำเนินงาน + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + รายงานสถานะการทำงาน + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + This server includes built-in support for using the admin defined black lists, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is an abbreviation for "DNS blacklist". + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Check a HELO message delivered from a connecting host. Reject any that appear in badhelo during the 'helo' stage. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Check envelope sender addresses. Reject any that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Use this panel to modify your servers White List settings. All entries will be enabled by default + + + + RRFH_LABEL + Whitelists status + + + + WHITELISTHOSTS_DESCRIPTION + Any IP address listed in whitelisthosts will be exempted from any further validation during the 'connect' stage. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Any host that issues a HELO matching an entry in whitelisthelo will be exempted from further validation during the 'helo' stage. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Any envelope sender of a mail (host.domain or user@host.domain) matching an entry in whitelistsenders will be exempted from further validation during the 'mail' stage. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from will be exempted from spamassassin rejection. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..d15b783 --- /dev/null +++ b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + Kaydet + + + + PERFORM + Uygula + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + İşlem durum raporu + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + This server includes built-in support for using the admin defined black lists, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is an abbreviation for "DNS blacklist". + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Check a HELO message delivered from a connecting host. Reject any that appear in badhelo during the 'helo' stage. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Check envelope sender addresses. Reject any that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + BADMAILFROM_LABEL + qmail badmailfrom + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + Use this panel to modify your servers White List settings. All entries will be enabled by default + + + + RRFH_LABEL + Whitelists status + + + + WHITELISTHOSTS_DESCRIPTION + Any IP address listed in whitelisthosts will be exempted from any further validation during the 'connect' stage. + + + + WHITELISTHOSTS_LABEL + qpsmtpd whitelisthosts + + + + WHITELISTHELO_DESCRIPTION + Any host that issues a HELO matching an entry in whitelisthelo will be exempted from further validation during the 'helo' stage. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + Any envelope sender of a mail (host.domain or user@host.domain) matching an entry in whitelistsenders will be exempted from further validation during the 'mail' stage. + + + + WHITELISTSENDERS_LABEL + qpsmtpd whitelistsenders + + + + WHITELISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from will be exempted from spamassassin rejection. + + + + WHITELISTFROM_LABEL + spamassassin whitelist_from + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..ef44fc7 --- /dev/null +++ b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + 保存 + + + + PERFORM + 执行 + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail WBL + + + + OPERATION_STATUS_REPORT + 操作报告 + + + + WBL_DESCRIPTION + E-mail traffic is scanned and may be blocked due to the various screening methods enabled. You may use this panel to define e-mail white/black lists. + + + + RBL_LIST_DESCRIPTION + RBL's List is used to adjust DNSBL and RHSBL. + + + + + RBL_LIST + RBL's List + + + + BLACK_LIST_DESCRIPTION + Black lists are used for rejecting e-mail traffic. + + + + BLACK_LIST + Black List + + + + WHITE_LIST_DESCRIPTION + White lists are used for accepting e-mail traffic. + + + + WHITE_LIST + White List + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + This server includes built-in support for using the admin defined black lists, badhelo and badmailfrom. + + + + DNSBL_DESCRIPTION + DNSBL is an abbreviation for "DNS blacklist". + + + + DNSBL_LABEL + DNSBL status + + + + RHSBL_DESCRIPTION + RHSBL is an abbreviation for "Right Hand Side Blacklist". + + + + RHSBL_LABEL + RHSBL status + + + + BADHELO_DESCRIPTION + Check a HELO message delivered from a connecting host. Reject any that appear in badhelo during the 'helo' stage. + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + Check envelope sender addresses. Reject any that appear (@host or user@host) in badmailfrom during the 'mail' stage. + + + + BADMAILFROM_LABEL + qmail 恶意邮件来源 + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + 通过这个面板来修改服务器的白名单设置。 + + + + RRFH_LABEL + 白名单状态 + + + + WHITELISTHOSTS_DESCRIPTION + 任何出现在“白名单主机”的IP地址在连接阶段时将跳过验证。 + + + + WHITELISTHOSTS_LABEL + qpsmtpd 白名单主机 + + + + WHITELISTHELO_DESCRIPTION + Any host that issues a HELO matching an entry in whitelisthelo will be exempted from further validation during the 'helo' stage. + + + + WHITELISTHELO_LABEL + qpsmtpd whitelisthelo + + + + WHITELISTSENDERS_DESCRIPTION + 任何出现在“白名单主机”的IP地址在连接阶段时将跳过验证。 + + + + WHITELISTSENDERS_LABEL + 发件人白名单 + + + + WHITELISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in whitelist_from will be exempted from spamassassin rejection. + + + + WHITELISTFROM_LABEL + spamassassin 发件人白名单 + + + BLACKLISTFROM_LABEL + spamassassin 发件人白名单 + + + BLACKLISTFROM_DESCRIPTION + 任何出现在“白名单主机”的IP地址在连接阶段时将跳过验证。 + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS block list - 'right hand side' of senders host/domain will be checked against the following servers + + + RBLLIST_LABEL + DNSBL Zones (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS Block List - senders IP address will be checked against the following servers + + + RBL_TITLE + Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here. + + diff --git a/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/wbl b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..2ba3876 --- /dev/null +++ b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/wbl @@ -0,0 +1,191 @@ + + + +# WBL_BUTTONS + + + SAVE + 儲存 + + + + PERFORM + 效能 + + +# WBL_PAGE_FIRST + + + FORM_TITLE + E-mail 黑白名單列表 + + + + OPERATION_STATUS_REPORT + 運作狀態回報 + + + + WBL_DESCRIPTION + 電子郵件流量被掃描而且基於各種篩選技術的啟用很可能被阻擋。您能使用此介面以定義電子郵件的黑/白名單。 + + + + RBL_LIST_DESCRIPTION + RBL 黑名單被用來調整 DNSBL 與 RHSBL 黑名單資料庫。 + + + + + RBL_LIST + RBL 黑名單 + + + + BLACK_LIST_DESCRIPTION + 黑名單被用來拒絕電子郵件流量。 + + + + BLACK_LIST + 黑名單 + + + + WHITE_LIST_DESCRIPTION + 白名單被用來接受電子郵件流量。 + + + + WHITE_LIST + 白名單 + + +# WBL_PAGE_BLACK + + + BLACK_TITLE + 此伺服器內建支援兩種外部黑名單機制DNSBL與RHSBL。亦支援可由管理者自行定義的badhelo與badmailfrom。

]]>
+
+ + + DNSBL_DESCRIPTION + DNSBL是"DNS blacklist"縮寫。其為已知垃圾郵件IP位址名單。 + + + + DNSBL_LABEL + DNSBL 狀態 + + + + RHSBL_DESCRIPTION + RHSBL是"Right Hand Side Blacklist"縮寫。其為已知垃圾郵件網域名稱之名單。 + + + + RHSBL_LABEL + RHSBL 狀態 + + + + BADHELO_DESCRIPTION + 確認從已連結主機的HELO訊息傳送。在'helo'區域,拒絕任何顯示在badhelo名單的郵件。 + + + + BADHELO_LABEL + qpsmtpd badhelo + + + + BADMAILFROM_DESCRIPTION + 檢查信封上的寄件人地址。在'mail'階段,拒絕任何(@host or user@host)顯示在不良郵件名單的出處。 + + + + BADMAILFROM_LABEL + qmail 壞郵件名單 + + +# WBL_PAGE_WHITELIST + + + WHITE_TITLE + 通過此控制台來修正伺服器的白名單設定。所有輸入值將被預設為啟動。 + + + + RRFH_LABEL + 白名單狀態 + + + + WHITELISTHOSTS_DESCRIPTION + 任何出現在「白名單主機」的IP位址在連接階段時將跳過進一步驗證。 + + + + WHITELISTHOSTS_LABEL + qpsmtpd 白名單主機 + + + + WHITELISTHELO_DESCRIPTION + 任何出現在「HELO白名單」的主機在'helo'階段時將跳過進一步驗證。 + + + + WHITELISTHELO_LABEL + qpsmtpd 白名單列表問候 + + + + WHITELISTSENDERS_DESCRIPTION + 郵件(@host or user@host)符合「寄件者白名單」中的信件上的任何寄件人在'mail'階段時將跳過進一步驗證。 + + + + WHITELISTSENDERS_LABEL + qpsmtpd 白名單列表寄件者 + + + + WHITELISTFROM_DESCRIPTION + 郵件(*@host or user@host)符合「發信白名單」中的信件上的任何寄件人在垃圾郵件攔截階段時將跳過進一步驗證。 + + + + WHITELISTFROM_LABEL + spamassassin 寄件人白名單 + + + BLACKLISTFROM_LABEL + spamassassin blacklist_from + + + BLACKLISTFROM_DESCRIPTION + Any envelope sender of a mail (*@host or user@host) matching an entry in blacklist_from will be rejected by spamassassin. + + + SBLLIST_LABEL + RHSBL (qpsmtpd SBLList) + + + SBLLIST_DESCRIPTION + RHS阻擋表列 - 'RHS'的寄件人的主機/網域將被檢核以對照接下來的伺服器。 + + + RBLLIST_LABEL + DNSBL 區域 (qpsmtpd RBLList) + + + RBLLIST_DESCRIPTION + DNS 阻擋表列 - 寄件人的 IP 位址將再被檢核以阻擋下列伺服器 + + + RBL_TITLE + RBL黑名單預設值是關閉。您能啟動RBLs黑名單阻擋以降低垃圾郵件。 + +
diff --git a/root/etc/e-smith/templates/var/qmail/control/badmailfrom/10wbl_badmailfrom b/root/etc/e-smith/templates/var/qmail/control/badmailfrom/10wbl_badmailfrom new file mode 100644 index 0000000..150f72b --- /dev/null +++ b/root/etc/e-smith/templates/var/qmail/control/badmailfrom/10wbl_badmailfrom @@ -0,0 +1,18 @@ +{ + use esmith::ConfigDB; + + my $wdb = esmith::ConfigDB->open_ro('wbl') + || die "Unable to open wbl configuration dbase."; + my %list = $wdb->get('badmailfrom')->props; + + $OUT = ''; + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "Black") { + $OUT .= "$parameter\n"; + } + } +} diff --git a/root/etc/e-smith/templates/var/service/qpsmtpd/config/badhelo/10wbl_badhelo b/root/etc/e-smith/templates/var/service/qpsmtpd/config/badhelo/10wbl_badhelo new file mode 100644 index 0000000..1799d11 --- /dev/null +++ b/root/etc/e-smith/templates/var/service/qpsmtpd/config/badhelo/10wbl_badhelo @@ -0,0 +1,18 @@ +{ + use esmith::ConfigDB; + + my $wdb = esmith::ConfigDB->open_ro('wbl') + || die "Unable to open wbl configuration dbase."; + my %list = $wdb->get('badhelo')->props; + + $OUT = ''; + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "Black") { + $OUT .= "$parameter\n"; + } + } +} diff --git a/root/etc/e-smith/templates/var/service/qpsmtpd/config/badmailfrom/10wbl_badmailfrom b/root/etc/e-smith/templates/var/service/qpsmtpd/config/badmailfrom/10wbl_badmailfrom new file mode 100644 index 0000000..150f72b --- /dev/null +++ b/root/etc/e-smith/templates/var/service/qpsmtpd/config/badmailfrom/10wbl_badmailfrom @@ -0,0 +1,18 @@ +{ + use esmith::ConfigDB; + + my $wdb = esmith::ConfigDB->open_ro('wbl') + || die "Unable to open wbl configuration dbase."; + my %list = $wdb->get('badmailfrom')->props; + + $OUT = ''; + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "Black") { + $OUT .= "$parameter\n"; + } + } +} diff --git a/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/11whitelist b/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/11whitelist new file mode 100644 index 0000000..1e63ed0 --- /dev/null +++ b/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/11whitelist @@ -0,0 +1,4 @@ +{ + return ("whitelist") ; + # for SME 8 and after RequireResolvableFromHost key is obsolete and always on +} diff --git a/root/etc/e-smith/templates/var/service/qpsmtpd/config/whitelisthelo/10wbl_whitelisthelo b/root/etc/e-smith/templates/var/service/qpsmtpd/config/whitelisthelo/10wbl_whitelisthelo new file mode 100644 index 0000000..ce0e62e --- /dev/null +++ b/root/etc/e-smith/templates/var/service/qpsmtpd/config/whitelisthelo/10wbl_whitelisthelo @@ -0,0 +1,18 @@ +{ + use esmith::ConfigDB; + + my $wdb = esmith::ConfigDB->open_ro('wbl') + || die "Unable to open wbl configuration dbase."; + my %list = $wdb->get('whitelisthelo')->props; + + $OUT = ''; + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "White") { + $OUT .= "$parameter\n"; + } + } +} diff --git a/root/etc/e-smith/templates/var/service/qpsmtpd/config/whitelisthosts/10wbl_whitelisthosts b/root/etc/e-smith/templates/var/service/qpsmtpd/config/whitelisthosts/10wbl_whitelisthosts new file mode 100644 index 0000000..9b69e8e --- /dev/null +++ b/root/etc/e-smith/templates/var/service/qpsmtpd/config/whitelisthosts/10wbl_whitelisthosts @@ -0,0 +1,18 @@ +{ + use esmith::ConfigDB; + + my $wdb = esmith::ConfigDB->open_ro('wbl') + || die "Unable to open wbl configuration dbase."; + my %list = $wdb->get('whitelisthosts')->props; + + $OUT = ''; + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "White") { + $OUT .= "$parameter\n"; + } + } +} diff --git a/root/etc/e-smith/templates/var/service/qpsmtpd/config/whitelistsenders/10wbl_whitelistsenders b/root/etc/e-smith/templates/var/service/qpsmtpd/config/whitelistsenders/10wbl_whitelistsenders new file mode 100644 index 0000000..26c33e9 --- /dev/null +++ b/root/etc/e-smith/templates/var/service/qpsmtpd/config/whitelistsenders/10wbl_whitelistsenders @@ -0,0 +1,18 @@ +{ + use esmith::ConfigDB; + + my $wdb = esmith::ConfigDB->open_ro('wbl') + || die "Unable to open wbl configuration dbase."; + my %list = $wdb->get('whitelistsenders')->props; + + $OUT = ''; + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "White") { + $OUT .= "$parameter\n"; + } + } +} diff --git a/root/etc/e-smith/web/functions/wbl b/root/etc/e-smith/web/functions/wbl new file mode 100644 index 0000000..8d63492 --- /dev/null +++ b/root/etc/e-smith/web/functions/wbl @@ -0,0 +1,179 @@ +#!/usr/bin/perl -wT +# vim: ft=xml: + +#---------------------------------------------------------------------- +# heading : Configuration +# description : E-mail WBL +# navigation : 6000 6710 +#---------------------------------------------------------------------- + +use strict; +use warnings; + +use esmith::FormMagick::Panel::wbl; + +my $f = esmith::FormMagick::Panel::wbl->new(); +$f->display(); + +__DATA__ +
+ + + + + WBL_DESCRIPTION + + + + + RBL_LIST_DESCRIPTION + + + + + + BLACK_LIST_DESCRIPTION + + + + + + WHITE_LIST_DESCRIPTION + + + + + + + + RBL_TITLE + + + + DNSBL_DESCRIPTION + + + + RBLLIST_DESCRIPTION + + + + RHSBL_DESCRIPTION + + + + SBLLIST_DESCRIPTION + + + + + + + + BLACK_TITLE + + + + BADHELO_DESCRIPTION + + + + + BADMAILFROM_DESCRIPTION + + + + + BLACKLISTFROM_DESCRIPTION + + + + + + + + WHITE_TITLE + + + + WHITELISTHOSTS_DESCRIPTION + + + + + WHITELISTHELO_DESCRIPTION + + + + + WHITELISTSENDERS_DESCRIPTION + + + + + WHITELISTFROM_DESCRIPTION + + + + + +
diff --git a/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/wbl.pm b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/wbl.pm new file mode 100644 index 0000000..aa7248f --- /dev/null +++ b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/wbl.pm @@ -0,0 +1,415 @@ +#!/usr/bin/perl -w +package esmith::FormMagick::Panel::wbl; + +use strict; +use warnings; +use esmith::FormMagick; +use esmith::ConfigDB; +use esmith::cgi; +use esmith::util; +use File::Basename; +use Exporter; +use Carp qw(verbose); + +our @ISA = qw(esmith::FormMagick Exporter); + +our @EXPORT = qw(); + +our $VERSION = sprintf '%d.%03d', q$Revision: 1.1 $ =~ /: (\d+).(\d+)/; + +our $db = esmith::ConfigDB->open() or die "Couldn't open ConfigDB\n"; +our $wdb = esmith::ConfigDB->open('wbl') or die "Couldn't open wbl dbase\n"; +our $sdb = esmith::ConfigDB->open('spamassassin') or die "Couldn't open spamassassin dbase\n"; + +sub get_dnsbl +{ + return ($db->get_prop('qpsmtpd', 'DNSBL') || 'disabled'); +} + +sub get_rhsbl +{ + return ($db->get_prop('qpsmtpd', 'RHSBL') || 'disabled'); +} + +sub get_sbllist +{ +my $sbllistform = $db->get_prop('qpsmtpd', 'SBLList') || ''; +$sbllistform =~ s/,/\n/g; +return $sbllistform; +} + +sub get_rbllist +{ +my $rbllistform = $db->get_prop('qpsmtpd', 'RBLList') || ''; +$rbllistform =~ s/,/\n/g; +return $rbllistform; +} + +sub get_badhelo +{ + my %list = $wdb->get('badhelo')->props; + + my @badhelo = (); + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "Black") { + push @badhelo, $parameter; + } + } + + return "" unless (scalar @badhelo); + + return join "\n", sort(@badhelo); +} + +sub get_badmailfrom +{ + my %list = $wdb->get('badmailfrom')->props; + + my @badmailfrom = (); + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "Black") { + push @badmailfrom, $parameter; + } + } + + return "" unless (scalar @badmailfrom); + + return join "\n", sort(@badmailfrom); +} + +sub get_whitelisthosts +{ + my %list = $wdb->get('whitelisthosts')->props; + + my @whitelisthosts = (); + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "White") { + push @whitelisthosts, $parameter; + } + } + + return "" unless (scalar @whitelisthosts); + + return join "\n", sort(@whitelisthosts); +} + +sub get_whitelisthelo +{ + my %list = $wdb->get('whitelisthelo')->props; + + my @whitelisthelo = (); + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "White") { + push @whitelisthelo, $parameter; + } + } + + return "" unless (scalar @whitelisthelo); + + return join "\n", sort(@whitelisthelo); +} + +sub get_whitelistsenders +{ + my %list = $wdb->get('whitelistsenders')->props; + + my @whitelistsenders = (); + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "White") { + push @whitelistsenders, $parameter; + } + } + + return "" unless (scalar @whitelistsenders); + + return join "\n", sort(@whitelistsenders); +} + +sub get_whitelistfrom +{ + my %list = $sdb->get('wbl.global')->props; + + my @whitelistfrom = (); + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "White") { + push @whitelistfrom, $parameter; + } + } + + return "" unless (scalar @whitelistfrom); + + return join "\n", sort(@whitelistfrom); +} + +sub create_modify_black +{ + my $fm = shift; + my $q = $fm->{'cgi'}; + + # qmail badhelo + my %list = $wdb->get('badhelo')->props; + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "Black") { + $wdb->get_prop_and_delete('badhelo', "$parameter"); + } + } + + my $BadHelo = $q->param("badhelo"); + $BadHelo =~ s/\r\n/,/g; + my @BadHelo = sort(split /,/, $BadHelo); + foreach $BadHelo (@BadHelo) + { + $wdb->set_prop('badhelo', "$BadHelo", 'Black'); + } + + # qmail badmailfrom + my %list_badmailfrom = $wdb->get('badmailfrom')->props; + my $parameter_badmailfrom = ""; + my $value_badmailfrom = ""; + while (($parameter_badmailfrom,$value_badmailfrom) = each(%list_badmailfrom)) { + if ($parameter_badmailfrom eq "type") {next;} + + if ($value_badmailfrom eq "Black") { + $wdb->get_prop_and_delete('badmailfrom', "$parameter_badmailfrom"); + } + } + + my $BadMailFrom = $q->param("badmailfrom"); + $BadMailFrom =~ s/\r\n/,/g; + my @BadMailFrom = sort(split /,/, $BadMailFrom); + foreach $BadMailFrom (@BadMailFrom){ + $wdb->set_prop('badmailfrom', "$BadMailFrom", 'Black'); + } + # spamassassin blacklist_from + my %list_wblglobal = $sdb->get('wbl.global')->props; + my $parameter_wblglobal = ""; + my $value_wblglobal = ""; + while (($parameter_wblglobal,$value_wblglobal) = each(%list_wblglobal)) { + if ($parameter_wblglobal eq "type") {next;} + + if ($value_wblglobal eq "Black") { + $sdb->get_prop_and_delete('wbl.global', "$parameter_wblglobal"); + } + } + + my $BlacklistFrom = $q->param("blacklistfrom"); + $BlacklistFrom =~ s/\r\n/,/g; + my @BlacklistFrom = sort(split /,/, $BlacklistFrom); + foreach $BlacklistFrom (@BlacklistFrom){ + $sdb->set_prop('wbl.global', "$BlacklistFrom", 'Black'); + } + + ##Update email settings + unless ( system ("/sbin/e-smith/signal-event", "wbl-update") == 0 ){ + $fm->error('ERROR_UPDATING'); + return undef; + } + + $fm->success('SUCCESS'); +} + +sub create_modify_white +{ + my $fm = shift; + my $q = $fm->{'cgi'}; + + # qpsmtpd whitelisthosts + my %list = $wdb->get('whitelisthosts')->props; + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "White") { + $wdb->get_prop_and_delete('whitelisthosts', "$parameter"); + } + } + + my $WhitelistHosts = $q->param("whitelisthosts"); + $WhitelistHosts =~ s/\r\n/,/g; + my @WhitelistHosts = sort(split /,/, $WhitelistHosts); + foreach $WhitelistHosts (@WhitelistHosts) + { + $wdb->set_prop('whitelisthosts', "$WhitelistHosts", 'White'); + } + + # qpsmtpd whitelisthelo + my %list_whitelisthelo = $wdb->get('whitelisthelo')->props; + my $parameter_whitelisthelo = ""; + my $value_whitelisthelo = ""; + while (($parameter_whitelisthelo,$value_whitelisthelo) = each(%list_whitelisthelo)) { + if ($parameter_whitelisthelo eq "type") {next;} + + if ($value_whitelisthelo eq "White") { + $wdb->get_prop_and_delete('whitelisthelo', "$parameter_whitelisthelo"); + } + } + + my $WhitelistHelo = $q->param("whitelisthelo"); + $WhitelistHelo =~ s/\r\n/,/g; + my @WhitelistHelo = sort(split /,/, $WhitelistHelo); + foreach $WhitelistHelo (@WhitelistHelo) + { + $wdb->set_prop('whitelisthelo', "$WhitelistHelo", 'White'); + } + + # qpsmtpd whitelistsenders + my %list_whitelistsenders = $wdb->get('whitelistsenders')->props; + my $parameter_whitelistsenders = ""; + my $value_whitelistsenders = ""; + while (($parameter_whitelistsenders,$value_whitelistsenders) = each(%list_whitelistsenders)) { + if ($parameter_whitelistsenders eq "type") {next;} + + if ($value_whitelistsenders eq "White") { + $wdb->get_prop_and_delete('whitelistsenders', "$parameter_whitelistsenders"); + } + } + + my $WhitelistSenders = $q->param("whitelistsenders"); + $WhitelistSenders =~ s/\r\n/,/g; + my @WhitelistSenders = sort(split /,/, $WhitelistSenders); + foreach $WhitelistSenders (@WhitelistSenders) + { + $wdb->set_prop('whitelistsenders', "$WhitelistSenders", 'White'); + } + + # spamassassin whitelist_from + my %list_wblglobal = $sdb->get('wbl.global')->props; + my $parameter_wblglobal = ""; + my $value_wblglobal = ""; + while (($parameter_wblglobal,$value_wblglobal) = each(%list_wblglobal)) { + if ($parameter_wblglobal eq "type") {next;} + + if ($value_wblglobal eq "White") { + $sdb->get_prop_and_delete('wbl.global', "$parameter_wblglobal"); + } + } + + my $WhitelistFrom = $q->param("whitelistfrom"); + $WhitelistFrom =~ s/\r\n/,/g; + my @WhitelistFrom = sort(split /,/, $WhitelistFrom); + foreach $WhitelistFrom (@WhitelistFrom){ + $sdb->set_prop('wbl.global', "$WhitelistFrom", 'White'); + } + + ##Update email settings + unless ( system ("/sbin/e-smith/signal-event", "wbl-update") == 0 ){ + $fm->error('ERROR_UPDATING'); + return undef; + } + + $fm->success('SUCCESS'); +} + +sub email_update +{ + my $fm = shift; + my $q = $fm->{'cgi'}; + + unless ( system ("/sbin/e-smith/signal-event", "wbl-update") == 0 ) + { + $fm->error('ERROR_UPDATING'); + return undef; + } + + $fm->success('SUCCESS'); + +} + +sub get_blacklistfrom +{ + my %list = $sdb->get('wbl.global')->props; + + my @blacklistfrom = (); + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "Black") { + push @blacklistfrom, $parameter; + } + } + + return "" unless (scalar @blacklistfrom); + + return join "\n", sort(@blacklistfrom); +} +sub create_modify_rbl +{ + my $fm = shift; + my $q = $fm->{'cgi'}; + + my $dnsbl = $q->param('dnsbl'); + $db->set_prop('qpsmtpd', 'DNSBL', "$dnsbl"); + + my $rhsbl = $q->param('rhsbl'); + $db->set_prop('qpsmtpd', 'RHSBL', "$rhsbl"); + + + my $sbllistcgi = $q->param('sbllist'); + my @sbllistcgi = split /\s{2,}/, $sbllistcgi; + my $sbllistdb = ''; + foreach (@sbllistcgi) { $sbllistdb = $sbllistdb . ',' . $_; } + $sbllistdb =~ s/^,//; + + $db->set_prop('qpsmtpd', 'SBLList', "$sbllistdb"); + + + my $rbllistcgi = $q->param('rbllist'); + my @rbllistcgi = split /\s{2,}/, $rbllistcgi; + my $rbllistdb = ''; + foreach (@rbllistcgi) { $rbllistdb = $rbllistdb . ',' . $_; } + $rbllistdb =~ s/^,//; + + $db->set_prop('qpsmtpd', 'RBLList', "$rbllistdb"); + + ##Update email settings + + unless ( system ("/sbin/e-smith/signal-event", "wbl-update") == 0 ){ + $fm->error('ERROR_UPDATING'); + return undef; + } + + $fm->success('SUCCESS'); +} + +#Subroutine to display buttons +sub print_custom_button{ + my ($fm,$desc,$url) = @_; + my $q = $fm->{cgi}; + $url="wbl?page=0&page_stack=&Next=Next&wherenext=".$url; + print " \n \n"; + print $q->p($q->a({href => $url, -class => "button-like"},$fm->localise($desc))); + print qq(\n); + return undef; +} +1; diff --git a/root/usr/share/smanager/lib/SrvMngr/Controller/Wbl.pm b/root/usr/share/smanager/lib/SrvMngr/Controller/Wbl.pm new file mode 100644 index 0000000..865291d --- /dev/null +++ b/root/usr/share/smanager/lib/SrvMngr/Controller/Wbl.pm @@ -0,0 +1,553 @@ +package SrvMngr::Controller::Wbl; + +#---------------------------------------------------------------------- +# heading : System +# description : E-mail WBL +# navigation : 4000 550 + +# name : wbl, method : get, url : /wbl, ctlact : wbl#main +# name : wbldis, method : post, url : /wbl, ctlact : wbl#do_display +# name : wblupc, method : get, url : /wbl2, ctlact : wbl#do_update +# name : wblupd, method : post, url : /wbl2, ctlact : wbl#do_update +# +# routes : end +#---------------------------------------------------------------------- + +use strict; +use warnings; +use Mojo::Base 'Mojolicious::Controller'; + +use Locale::gettext; +use SrvMngr::I18N; + +use SrvMngr qw( theme_list init_session ); + +use Exporter; +our @EXPORT_OK = qw( + get_contrib_desc + get_contrib_routes + ); + +our $db = esmith::ConfigDB->open() or die "Couldn't open ConfigDB\n"; +our $wdb = esmith::ConfigDB->open('wbl') or die "Couldn't open wbl dbase\n"; +our $sdb = esmith::ConfigDB->open('spamassassin') or die "Couldn't open spamassassin dbase\n"; + + +sub main { + + my $c = shift; + $c->app->log->info($c->log_req); + + my %wbl_datas = (); + my $title = $c->l('wbl_FORM_TITLE'); + + $wbl_datas{'trt'} = 'CHOICE'; + + $c->stash( title => $title, wbl_datas => \%wbl_datas); + $c->render_maybe('wbl') or $c->render('wbl'); +}; + + +sub do_display { + + my $c = shift; + $c->app->log->info($c->log_req); + + my $trt = $c->param('list') || 'CHOICE'; + + my %wbl_datas = (); + my $title = $c->l('wbl_FORM_TITLE'); + + $wbl_datas{'trt'} = $trt; + + if ( $trt eq 'RBL' ) { + + # dnsbl - returns 'enabled/disabled + $wbl_datas{'dnsbl'} = get_dnsbl(); + + # rhsbl - returns 'enabled/disabled + $wbl_datas{'rhsbl'} = get_rhsbl(); + + # uribl - returns 'enabled/disabled + $wbl_datas{'uribl'} = get_uribl(); + } + + if ( $trt eq 'BLACK' ) { + # For Black List + } + + if ( $trt eq 'WHITE' ) { + # For WBL List + } + + if ( $trt eq 'CHOICE' ) { + # + } + + $c->stash( title => $title, wbl_datas => \%wbl_datas ); + $c->render( template => 'wbl' ); + +}; + + +sub do_update { + + my $c = shift; + $c->app->log->info($c->log_req); + + my %wbl_datas = (); + my ($res, $result) = ""; + + my $title = $c->l('wbl_FORM_TITLE'); + + my $trt = ($c->param('trt') || '???'); + $wbl_datas{'trt'} = $trt; + + #### $wbl_datas{'dnsbl'} = get_dnsbl(); etc... + if ($trt eq 'RBL') { + + # controls, validate + #if (xxx) { + # $result .= $c->l('XXXXXXX'); + #} + + ##$result .= ' ** Blocked for testing ** !'; + + if ( ! $result ) { + $res = $c->create_modify_rbl(); + $result .= $res unless $res eq 'OK'; + if ( ! $result ) { + $wbl_datas{trt} = 'SUC'; + $result = $c->l('SUCCESS').' RBL'; + } + } + } + + + if ($trt eq 'BLACK') { + + # controls, validate + #if (xxx) { + # $result .= $c->l('XXXXXXX'); + #} + + ##$result .= ' ** Blocked for testing ** !'; + + if ( ! $result ) { + $res = $c->create_modify_black(); + $result .= $res unless $res eq 'OK'; + if ( ! $result ) { + $wbl_datas{trt} = 'SUC'; + $result = $c->l('SUCCESS').' BLACK'; + } + } + + } + + + if ($trt eq 'WHITE') { + + # controls, validate + #if (xxx) { + # $result .= $c->l('XXXXXXX'); + #} + + ##$result .= ' ** Blocked for testing ** !'; + + if ( ! $result ) { + $res = $c->create_modify_white(); + $result .= $res unless $res eq 'OK'; + if ( ! $result ) { + $wbl_datas{trt} = 'SUC'; + $result = $c->l('SUCCESS').' WHITE'; + } + } + } + + # common part + $c->stash( title => $title, wbl_datas => \%wbl_datas ); + if ($wbl_datas{trt} ne 'SUC') { + $c->flash(error => $result); + $wbl_datas{'trt'} = $trt; + return $c->render(template => 'wbl'); + } + + # successfully terminated + my $message = $trt . ' updates DONE'; + $c->app->log->info($message); + $c->flash(success => $result); + + #return to 'wbl' route !!! + $c->redirect_to('wbl'); + +} + + +sub get_dnsbl { + return ($db->get_prop('qpsmtpd', 'DNSBL') || 'disabled'); +} + + +sub get_rhsbl { + return ($db->get_prop('qpsmtpd', 'RHSBL') || 'disabled'); +} + + +sub get_uribl { + return ($db->get_prop('qpsmtpd', 'URIBL') || 'disabled'); +} + + +sub get_sbllist { + + my $sbllistform = $db->get_prop('qpsmtpd', 'SBLList') || ''; + my @list = (split /,/, $sbllistform); + return \@list; +} + + +sub get_rbllist { + + my $rbllistform = $db->get_prop('qpsmtpd', 'RBLList') || ''; + my @list = (split /,/, $rbllistform); + return \@list; +} + + +sub get_ubllist { + + my $ubllistform = $db->get_prop('qpsmtpd', 'UBLList') || ''; + my @list = ($ubllistform); + return \@list; +} + + +sub get_wbllist { + + my $c = shift; + return [[$c->l('wbl_RBL_LIST') => 'RBL'], + [$c->l('wbl_BLACK_LIST') => 'BLACK'], + [$c->l('wbl_WHITE_LIST') => 'WHITE']]; +} + + +sub get_badhelo { + + my %list = $wdb->get('badhelo')->props; + + my @badhelo = (); + my ($parameter, $value) = ""; + while (($parameter,$value) = each(%list)) { + next if ($parameter eq "type"); + push @badhelo, $parameter if ($value eq "Black"); + } + my @badh = sort(@badhelo); + return \@badh; +} + + +sub get_badmailfrom { + + my %list = $wdb->get('badmailfrom')->props; + + my @badmailfrom = (); + my ($parameter, $value) = ""; + while (($parameter,$value) = each(%list)) { + next if ($parameter eq "type"); + push @badmailfrom, $parameter if ($value eq "Black"); + } + my @badmf = sort(@badmailfrom); + return \@badmf; +} + + +sub get_blacklistfrom { + + my %list = $sdb->get('wbl.global')->props; + + my @blacklistfrom = (); + my ($parameter, $value) = ""; + + while (($parameter,$value) = each(%list)) { + next if ($parameter eq "type"); + push @blacklistfrom, $parameter if ($value eq "Black"); + } + my @blacklf = sort(@blacklistfrom); + return \@blacklf; +} + + +sub get_whitelisthosts { + + my %list = $wdb->get('whitelisthosts')->props; + + my @whitelisthosts = (); + my ($parameter, $value) = ""; + + while (($parameter,$value) = each(%list)) { + next if ($parameter eq "type"); + push @whitelisthosts, $parameter if ($value eq "White"); + } + my @whitelh = sort(@whitelisthosts); + return \@whitelh; +} + + +sub get_whitelisthelo { + + my %list = $wdb->get('whitelisthelo')->props; + + my @whitelisthelo = (); + my ($parameter, $value) = ""; + + while (($parameter,$value) = each(%list)) { + next if ($parameter eq "type"); + push @whitelisthelo, $parameter if ($value eq "White"); + } + my @whitelh = sort(@whitelisthelo); + return \@whitelh; +} + + +sub get_whitelistsenders { + + my %list = $wdb->get('whitelistsenders')->props; + + my @whitelistsenders = (); + my ($parameter, $value) = ""; + + while (($parameter,$value) = each(%list)) { + next if ($parameter eq "type"); + push @whitelistsenders, $parameter if ($value eq "White"); + } + my @whitels = sort(@whitelistsenders); + return \@whitels; +} + + +sub get_whitelistfrom { + + my %list = $sdb->get('wbl.global')->props; + + my @whitelistfrom = (); + my ($parameter, $value) = ""; + + while (($parameter,$value) = each(%list)) { + next if ($parameter eq "type"); + push @whitelistfrom, $parameter if ($value eq "White"); + } + my @whitels = sort(@whitelistfrom); + return \@whitels; +} + + +sub create_modify_rbl { + + my $c = shift; + + my $dnsbl = $c->param('Dnsbl'); + $db->set_prop('qpsmtpd', 'DNSBL', "$dnsbl"); + + my $rhsbl = $c->param('Rhsbl'); + $db->set_prop('qpsmtpd', 'RHSBL', "$rhsbl"); + + + my $sbllistcgi = $c->param('Sbllist'); + my @sbllistcgi = split /\s{2,}/, $sbllistcgi; + my $sbllistdb = ''; + foreach (@sbllistcgi) { $sbllistdb = $sbllistdb . ',' . $_; } + $sbllistdb =~ s/^,//; + + $db->set_prop('qpsmtpd', 'SBLList', "$sbllistdb"); + + my $rbllistcgi = $c->param('Rbllist'); + my @rbllistcgi = split /\s{2,}/, $rbllistcgi; + my $rbllistdb = ''; + foreach (@rbllistcgi) { $rbllistdb = $rbllistdb . ',' . $_; } + $rbllistdb =~ s/^,//; + + $db->set_prop('qpsmtpd', 'RBLList', "$rbllistdb"); + + #Update email settings + unless ( system ("/sbin/e-smith/signal-event", "wbl-update") == 0 ){ + return 'RBL : ' . $c->l('wbl_ERROR_UPDATING'); + } + + return 'OK'; +} + + +sub create_modify_black { + + my $c = shift; + + #------------------------------- + # qmail badhelo + #------------------------------- + my %list = $wdb->get('badhelo')->props; + my ($parameter, $value) = ''; + + while (($parameter,$value) = each(%list)) { + next if ($parameter eq "type"); + if ($value eq "Black") { + $wdb->get_prop_and_delete('badhelo', "$parameter"); + } + } + + my $BadHelo = $c->param("Badhelo"); + $BadHelo =~ s/\r\n/,/g; + my @BadHelo = sort(split /,/, $BadHelo); + foreach $BadHelo (@BadHelo) { + $wdb->set_prop('badhelo', "$BadHelo", 'Black'); + } + + #------------------------------- + # qmail badmailfrom + #------------------------------- + my %list_badmailfrom = $wdb->get('badmailfrom')->props; + my ($parameter_badmailfrom, $value_badmailfrom) = ""; + + while (($parameter_badmailfrom,$value_badmailfrom) = each(%list_badmailfrom)) { + next if ($parameter_badmailfrom eq "type"); + if ($value_badmailfrom eq "Black") { + $wdb->get_prop_and_delete('badmailfrom', "$parameter_badmailfrom"); + } + } + + my $BadMailFrom = $c->param("Badmailfrom"); + $BadMailFrom =~ s/\r\n/,/g; + my @BadMailFrom = sort(split /,/, $BadMailFrom); + foreach $BadMailFrom (@BadMailFrom){ + $wdb->set_prop('badmailfrom', "$BadMailFrom", 'Black'); + } + #------------------------------- + # spamassassin blacklist_from + #------------------------------- + my %list_wblglobal = $sdb->get('wbl.global')->props; + my ($parameter_wblglobal, $value_wblglobal) = ""; + + while (($parameter_wblglobal,$value_wblglobal) = each(%list_wblglobal)) { + next if ($parameter_wblglobal eq "type"); + if ($value_wblglobal eq "Black") { + $sdb->get_prop_and_delete('wbl.global', "$parameter_wblglobal"); + } + } + + my $BlacklistFrom = $c->param("Blacklistfrom"); + $BlacklistFrom =~ s/\r\n/,/g; + my @BlacklistFrom = sort(split /,/, $BlacklistFrom); + foreach $BlacklistFrom (@BlacklistFrom){ + $sdb->set_prop('wbl.global', "$BlacklistFrom", 'Black'); + } + + #Update email settings + unless ( system ("/sbin/e-smith/signal-event", "wbl-update") == 0 ) { + return 'BLACK: '. $c->l('wbl_ERROR_UPDATING'); + } + + return 'OK'; +} + + +sub create_modify_white { + + my $c = shift; + + #------------------------------- + # qpsmtpd whitelisthosts + #------------------------------- + my %list = $wdb->get('whitelisthosts')->props; + my $parameter = ""; + my $value = ""; + while (($parameter,$value) = each(%list)) { + if ($parameter eq "type") {next;} + + if ($value eq "White") { + $wdb->get_prop_and_delete('whitelisthosts', "$parameter"); + } + } + + my $WhitelistHosts = $c->param("Whitelisthosts"); + $WhitelistHosts =~ s/\r\n/,/g; + my @WhitelistHosts = sort(split /,/, $WhitelistHosts); + foreach $WhitelistHosts (@WhitelistHosts) + { + $wdb->set_prop('whitelisthosts', "$WhitelistHosts", 'White'); + } + + #------------------------------- + # qpsmtpd whitelisthelo + #------------------------------- + my %list_whitelisthelo = $wdb->get('whitelisthelo')->props; + my $parameter_whitelisthelo = ""; + my $value_whitelisthelo = ""; + while (($parameter_whitelisthelo,$value_whitelisthelo) = each(%list_whitelisthelo)) { + if ($parameter_whitelisthelo eq "type") {next;} + + if ($value_whitelisthelo eq "White") { + $wdb->get_prop_and_delete('whitelisthelo', "$parameter_whitelisthelo"); + } + } + + my $WhitelistHelo = $c->param("Whitelisthelo"); + $WhitelistHelo =~ s/\r\n/,/g; + my @WhitelistHelo = sort(split /,/, $WhitelistHelo); + foreach $WhitelistHelo (@WhitelistHelo) + { + $wdb->set_prop('whitelisthelo', "$WhitelistHelo", 'White'); + } + + #------------------------------- + # qpsmtpd whitelistsenders + #------------------------------- + my %list_whitelistsenders = $wdb->get('whitelistsenders')->props; + my $parameter_whitelistsenders = ""; + my $value_whitelistsenders = ""; + while (($parameter_whitelistsenders,$value_whitelistsenders) = each(%list_whitelistsenders)) { + if ($parameter_whitelistsenders eq "type") {next;} + + if ($value_whitelistsenders eq "White") { + $wdb->get_prop_and_delete('whitelistsenders', "$parameter_whitelistsenders"); + } + } + + my $WhitelistSenders = $c->param("Whitelistsenders"); + $WhitelistSenders =~ s/\r\n/,/g; + my @WhitelistSenders = sort(split /,/, $WhitelistSenders); + foreach $WhitelistSenders (@WhitelistSenders) + { + $wdb->set_prop('whitelistsenders', "$WhitelistSenders", 'White'); + } + + #------------------------------- + # spamassassin whitelist_from + #------------------------------- + my %list_wblglobal = $sdb->get('wbl.global')->props; + my $parameter_wblglobal = ""; + my $value_wblglobal = ""; + while (($parameter_wblglobal,$value_wblglobal) = each(%list_wblglobal)) { + if ($parameter_wblglobal eq "type") {next;} + + if ($value_wblglobal eq "White") { + $sdb->get_prop_and_delete('wbl.global', "$parameter_wblglobal"); + } + } + + my $WhitelistFrom = $c->param("Whitelistfrom"); + $WhitelistFrom =~ s/\r\n/,/g; + my @WhitelistFrom = sort(split /,/, $WhitelistFrom); + foreach $WhitelistFrom (@WhitelistFrom){ + $sdb->set_prop('wbl.global', "$WhitelistFrom", 'White'); + } + + #Update email settings + unless ( system ("/sbin/e-smith/signal-event", "wbl-update") == 0 ) { + return 'WHITE: '. $c->l('wbl_ERROR_UPDATING'); + } + + return 'OK'; +} + + +1; + diff --git a/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Wbl/wbl_en.lex b/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Wbl/wbl_en.lex new file mode 100644 index 0000000..cf85d58 --- /dev/null +++ b/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Wbl/wbl_en.lex @@ -0,0 +1,42 @@ +'wbl_SAVE' => 'Save', +'wbl_PERFORM' => 'Perform', +'wbl_FORM_TITLE' => 'E-mail WBL', +'wbl_OPERATION_STATUS_REPORT' => 'Operation status report', +'wbl_WBL_DESCRIPTION' => 'E-mail traffic is scanned and may be blocked due to the various screening methods enabled. +You may use this panel to define e-mail white/black lists.', +'wbl_RBL_LIST_DESCRIPTION' => 'RBL\'s List is used to adjust DNSBL and RHSBL.', +'wbl_RBL_LIST' => 'RBL\'s List', +'wbl_BLACK_LIST_DESCRIPTION' => 'Black lists are used for rejecting e-mail traffic.', +'wbl_BLACK_LIST' => 'Black List', +'wbl_WHITE_LIST_DESCRIPTION' => 'White lists are used for accepting e-mail traffic.', +'wbl_WHITE_LIST' => 'White List', +'wbl_BLACK_TITLE' => 'This server includes built-in support for using the admin defined black lists, badhelo and + badmailfrom.', +'wbl_DNSBL_DESCRIPTION' => 'DNSBL is an abbreviation for "DNS blacklist".', +'wbl_DNSBL_LABEL' => 'DNSBL status', +'wbl_RHSBL_DESCRIPTION' => 'RHSBL is an abbreviation for "Right Hand Side Blacklist". ', +'wbl_RHSBL_LABEL' => 'RHSBL status', +'wbl_BADHELO_DESCRIPTION' => 'Check a HELO message delivered from a connecting host.Reject any +that appear in badhelo during the \'helo\' stage.', +'wbl_BADHELO_LABEL' => 'qpsmtpd badhelo', +'wbl_BADMAILFROM_DESCRIPTION' => 'Check envelope sender addresses. Reject any +that appear (@host or user@host) in badmailfrom during the \'mail\' stage.', +'wbl_BADMAILFROM_LABEL' => 'qmail badmailfrom', +'wbl_WHITE_TITLE' => 'Use this panel to modify your servers White List settings. All entries will be enabled by default', +'wbl_RRFH_LABEL' => 'Whitelists status', +'wbl_WHITELISTHOSTS_DESCRIPTION' => 'Any IP address listed in whitelisthosts will be exempted +from any further validation during the \'connect\' stage.', +'wbl_WHITELISTHOSTS_LABEL' => 'qpsmtpd whitelisthosts', +'wbl_WHITELISTHELO_DESCRIPTION' => 'be exempted from further validation during the \'helo\' stage.', +'wbl_WHITELISTHELO_LABEL' => 'qpsmtpd whitelisthelo', +'wbl_WHITELISTSENDERS_DESCRIPTION' => 'will be exempted from further validation during the \'mail\' stage.', +'wbl_WHITELISTSENDERS_LABEL' => 'qpsmtpd whitelistsenders', +'wbl_WHITELISTFROM_DESCRIPTION' => 'will be exempted from spamassassin rejection.', +'wbl_WHITELISTFROM_LABEL' => 'spamassassin whitelist_from', +'wbl_BLACKLISTFROM_LABEL' => 'spamassassin blacklist_from', +'wbl_BLACKLISTFROM_DESCRIPTION' => 'will be rejected by spamassassin.', +'wbl_SBLLIST_LABEL' => 'RHSBL (qpsmtpd SBLList)', +'wbl_SBLLIST_DESCRIPTION' => 'RHS block list - \'right hand side\' of senders host/domain will be checked against the following servers', +'wbl_RBLLIST_LABEL' => 'DNSBL Zones (qpsmtpd RBLList)', +'wbl_RBLLIST_DESCRIPTION' => 'DNS Block List - senders IP address will be checked against the following servers', +'wbl_RBL_TITLE' => 'Real-time Blackhole Lists are disabled by default. To help reduce spam you can enable RBLs here.', diff --git a/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Wbl/wbl_fr.lex b/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Wbl/wbl_fr.lex new file mode 100644 index 0000000..9d62716 --- /dev/null +++ b/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Wbl/wbl_fr.lex @@ -0,0 +1,37 @@ +'wbl_SAVE' => 'Sauvegarder', +'wbl_PERFORM' => 'Exécuter', +'wbl_FORM_TITLE' => 'WBL courriel', +'wbl_OPERATION_STATUS_REPORT' => 'Rapport d\'état de l\'opération', +'wbl_WBL_DESCRIPTION' => 'Le trafic courriel est scanné et peut être bloqué en raison des différentes méthodes de dépistage activées. Vous pouvez utiliser ce panneau pour définir les listes blanches / noires de courriels.', +'wbl_RBL_LIST_DESCRIPTION' => 'La liste RBL est utilisée pour ajuster DNSBL et RHSBL.', +'wbl_RBL_LIST' => 'Liste RBL', +'wbl_BLACK_LIST_DESCRIPTION' => 'Les listes noires sont utilisées pour refuser le trafic de courriels.', +'wbl_BLACK_LIST' => 'Liste noire', +'wbl_WHITE_LIST_DESCRIPTION' => 'Les listes blanches sont utilisées pour accepter le trafic de courriels.', +'wbl_WHITE_LIST' => 'Liste blanche', +'wbl_BLACK_TITLE' => 'Ce serveur inclus un support intégré permettant à l\'administrateur de définir des listes noires, badhelo et badmailfrom.', +'wbl_DNSBL_DESCRIPTION' => 'DNSBL est une abréviation Anglaise pour "Liste noire DNS".', +'wbl_DNSBL_LABEL' => 'Statut DNSBL', +'wbl_RHSBL_DESCRIPTION' => 'RHSBL est une abréviation pour "Right Hand Side Blacklist".', +'wbl_RHSBL_LABEL' => 'Rapport d\'état de RHSBL', +'wbl_BADHELO_DESCRIPTION' => 'Vérifie un message HELO livré par un hôte se connectant. Ceci refuse tout ceux qui apparaissent dans badhelo au moment de la phase \'helo\'.', +'wbl_BADHELO_LABEL' => 'qpsmtpd badhelo', +'wbl_BADMAILFROM_DESCRIPTION' => 'Vérifie l\'adresse de l\'expéditeur. Refuse tout ce qui apparaît (@hôte ou utilisateur@hôte) dans\'badmailfrom\' pendant la phase \'mail\'', +'wbl_BADMAILFROM_LABEL' => 'qmail \'badmailfrom\'', +'wbl_WHITE_TITLE' => 'Utilisez cette page pour modifier les paramètres de liste blanche de de votre serveur. Toutes les entrées seront activées par default', +'wbl_RRFH_LABEL' => 'État des listes blanches', +'wbl_WHITELISTHOSTS_DESCRIPTION' => 'Toute IP présente dans whitelisthosts sera exemptée de toutes validations supplémentaires pendant la phase \'connexion\'', +'wbl_WHITELISTHOSTS_LABEL' => 'Qpsmtpd whitelisthosts', +'wbl_WHITELISTHELO_DESCRIPTION' => 'Tout hôte qui émet un HELO correspondant à une entrée dans whitelisthelo sera exempté de toute autre validation pendant la phase \'helo\'', +'wbl_WHITELISTHELO_LABEL' => 'qpsmtpd whitelisthelo', +'wbl_WHITELISTSENDERS_DESCRIPTION' => 'Tout expéditeur d\'un courriel (hôte.domaine ou utilisateur@hôte.domaine) correspondant à une entrée dans la liste blanche des expéditeurs (whitelistsenders) sera exempté de toutes validations supplémentaires durant la phase \'mail\'.', +'wbl_WHITELISTSENDERS_LABEL' => 'qpsmtpd whitelistsenders', +'wbl_WHITELISTFROM_DESCRIPTION' => 'Tout expéditeur d\'un courriel (*@hôte ou utilisateur@hôte) correspondant à une entrée dans whitelist_from sera exempté d\'un rejet par spamassassin.', +'wbl_WHITELISTFROM_LABEL' => 'spamassassin whitelist_from', +'wbl_BLACKLISTFROM_LABEL' => 'spamassassin blacklist_from', +'wbl_BLACKLISTFROM_DESCRIPTION' => 'Tout expéditeur d\'un courriel (*@hôte ou utilisateur@hôte) correspondant à une entrée dans blacklist_from sera rejeté par spamassassin.', +'wbl_SBLLIST_LABEL' => 'RHSBL (qpsmtpd SBLList)', +'wbl_SBLLIST_DESCRIPTION' => 'Liste de blocage RHS - (Right Hand Side) des expéditeurs hôte / domaine sera vérifié contre les serveurs suivants', +'wbl_RBLLIST_LABEL' => 'DNSBL Zones (qpsmtpd RBLList)', +'wbl_RBLLIST_DESCRIPTION' => 'Liste de bloquage DNS -L\'adresse IP des expéditeurs sera vérifiée à partir des serveurs suivants.', +'wbl_RBL_TITLE' => 'Les listes noires en temps réel sont désactivés par défaut. Pour aider à réduire le spam vous pouvez activer les RBLs ici.', diff --git a/root/usr/share/smanager/themes/default/templates/partials/_wbl_black.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_wbl_black.html.ep new file mode 100644 index 0000000..2c4610e --- /dev/null +++ b/root/usr/share/smanager/themes/default/templates/partials/_wbl_black.html.ep @@ -0,0 +1,50 @@ +
+ % my $btn = l 'SAVE'; + %= form_for '/wbl2' => (method => 'POST') => begin + + %= hidden_field 'trt' => $wbl_datas->{trt} + +

+ %=l 'wbl_BLACK_LIST_DESCRIPTION' +

+ %=l 'wbl_BLACK_TITLE' + +

+ %=l 'wbl_BADHELO_DESCRIPTION' +

+ %=l 'wbl_BADHELO_LABEL' + + %= text_area 'Badhelo' => (cols => 40) => begin + % for (@{ $c->get_badhelo() }) { +%= $_ + %} + %end +


+ +

+ %=l 'wbl_BADMAILFROM_DESCRIPTION' +

+ %=l 'wbl_BADMAILFROM_LABEL' + + %= text_area 'Badmailfrom' => (cols => 40) => begin + % for (@{ $c->get_badmailfrom() }) { +%= $_ + % } + %end +


+ +

+ %=l 'wbl_BLACKLISTFROM_DESCRIPTION' +

+ %=l 'wbl_BLACKLISTFROM_LABEL' + + %= text_area 'Blacklistfrom' => (cols => 40) => begin + % for (@{ $c->get_blacklistfrom() }) { +%= $_ + % } + %end +


+ + %= submit_button "$btn", class => 'action' + %end +
diff --git a/root/usr/share/smanager/themes/default/templates/partials/_wbl_choice.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_wbl_choice.html.ep new file mode 100644 index 0000000..6f16c82 --- /dev/null +++ b/root/usr/share/smanager/themes/default/templates/partials/_wbl_choice.html.ep @@ -0,0 +1,24 @@ +
+ + % my $btn = l 'NEXT'; + %= form_for '/wbl' => (method => 'POST') => begin +

+ %=l 'wbl_RBL_LIST_DESCRIPTION' +
+ + + %=l 'wbl_BLACK_LIST_DESCRIPTION' + + % param 'list' => $wbl_datas->{list} unless param 'list'; + %= select_field 'list' => $c->get_wbllist(), class => 'input' +
+ + + %=l 'wbl_WHITE_LIST_DESCRIPTION' +

+ +


+ %= submit_button "$btn", class => 'action' +

+ %end +
diff --git a/root/usr/share/smanager/themes/default/templates/partials/_wbl_rbl.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_wbl_rbl.html.ep new file mode 100644 index 0000000..04c96b3 --- /dev/null +++ b/root/usr/share/smanager/themes/default/templates/partials/_wbl_rbl.html.ep @@ -0,0 +1,62 @@ +
+ + % my $btn = l 'SAVE'; + %= form_for '/wbl2' => (method => 'POST') => begin + + %= hidden_field 'trt' => $wbl_datas->{trt} + + + +

+ %=l 'wbl_RBL_LIST_DESCRIPTION' +


+ %=l 'wbl_RBL_TITLE' + +

+ %=l 'wbl_DNSBL_DESCRIPTION' +
+ %=l 'wbl_DNSBL_LABEL' + + % param 'Dnsbl' => $wbl_datas->{dnsbl} unless param 'Dnsbl'; + %= select_field 'Dnsbl' => [[(l 'ENABLED') => 'enabled'], [(l 'DISABLED') => 'disabled']], class => 'input' +

+ +

+ %=l 'wbl_RBLLIST_DESCRIPTION' +

+ %=l 'wbl_RBLLIST_LABEL' + + %= text_area 'Rbllist' => (cols => 40) => begin + % for ( @{$c->get_rbllist()} ) { +%= $_ + %} + %end +


+ +

+ %=l 'wbl_RHSBL_DESCRIPTION' +
+ %=l 'wbl_RHSBL_LABEL' + + % param 'Rhsbl' => $wbl_datas->{rhsbl} unless param 'Rhsbl'; + %= select_field 'Rhsbl' => [[(l 'ENABLED') => 'enabled'], [(l 'DISABLED') => 'disabled']], class => 'input' +

+ +

+ %=l 'wbl_SBLLIST_DESCRIPTION' +

+ %=l 'wbl_SBLLIST_LABEL' + + %= text_area 'Sbllist' => (cols => 40) => begin + % for ( @{$c->get_sbllist()} ) { +%= $_ + % } + %end +


+ + %= submit_button "$btn", class => 'action' + %end + +
diff --git a/root/usr/share/smanager/themes/default/templates/partials/_wbl_white.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_wbl_white.html.ep new file mode 100644 index 0000000..b449490 --- /dev/null +++ b/root/usr/share/smanager/themes/default/templates/partials/_wbl_white.html.ep @@ -0,0 +1,65 @@ +
+ % my $btn = l 'SAVE'; + %= form_for '/wbl2' => (method => 'POST') => begin + + %= hidden_field 'trt' => $wbl_datas->{trt} + +

+ %=l 'wbl_WHITE_LIST_DESCRIPTION' +

+ %=l 'wbl_WHITE_TITLE' + +

+ %=l 'wbl_WHITELISTHOSTS_DESCRIPTION' +

+ %=l 'wbl_WHITELISTHOSTS_LABEL' + + %= text_area 'Whitelisthosts' => (cols => 40) => begin + % for (@{ $c->get_whitelisthosts() }) { +%= $_ + %} + %end +


+ +

+ %=l 'wbl_WHITELISTHELO_DESCRIPTION' +

+ %=l 'wbl_WHITELISTHELO_LABEL' + + %= text_area 'Whitelisthelo' => (cols => 40) => begin + % for (@{ $c->get_whitelisthelo() }) { +%= $_ + % } + %end +


+ +

+ %=l 'wbl_WHITELISTSENDERS_DESCRIPTION' +

+ %=l 'wbl_WHITELISTSENDERS_LABEL' + + %= text_area 'Whitelistsenders' => (cols => 40) => begin + % for (@{ $c->get_whitelistsenders() }) { +%= $_ + % } + %end + +

+
+

+ %=l 'wbl_WHITELISTFROM_DESCRIPTION' +

+ + %=l 'wbl_WHITELISTFROM_LABEL' + + %= text_area 'Whitelistfrom' => (cols => 40) => begin + % for (@{ $c->get_whitelistfrom() }) { +%= $_ + % } + %end + +

+
+ %= submit_button "$btn", class => 'action' + %end +
diff --git a/root/usr/share/smanager/themes/default/templates/wbl.html.ep b/root/usr/share/smanager/themes/default/templates/wbl.html.ep new file mode 100644 index 0000000..9063c53 --- /dev/null +++ b/root/usr/share/smanager/themes/default/templates/wbl.html.ep @@ -0,0 +1,33 @@ +% layout 'default', title => "Sme server 2 - wbl", share_dir => ''; + +% content_for 'module' => begin + + +
+ + %if ($config->{debug} == 1) { +

+ %= dumper $c->current_route + %= dumper $wbl_datas +

+ %} + +

<%= $title %>

+ +
+ %= l('wbl_WBL_DESCRIPTION') +
+ + % if ($wbl_datas->{trt} eq 'RBL') { + %= include 'partials/_wbl_rbl' + %} elsif ($wbl_datas->{trt} eq 'BLACK') { + %= include 'partials/_wbl_black' + %} elsif ($wbl_datas->{trt} eq 'WHITE') { + %= include 'partials/_wbl_white' + %} else { + %= include 'partials/_wbl_choice' + %} + +
+%end + diff --git a/smeserver-wbl.spec b/smeserver-wbl.spec new file mode 100644 index 0000000..a0a3c00 --- /dev/null +++ b/smeserver-wbl.spec @@ -0,0 +1,89 @@ +Summary: E-mail white/black lists for SME Server +%define name smeserver-wbl +Name: %{name} +%define version 0.5.0 +%define release 10 +Version: %{version} +Release: %{release}%{?dist} +License: GPL +Group: SME Server/addon +Source: %{name}-%{version}.tar.xz + +BuildRoot: /var/tmp/%{name}-%{version} +BuildArchitectures: noarch +BuildRequires: e-smith-devtools +#Requires: smeserver-manager => 0.1.0-23 +Requires: smeserver-release => 10.0 +Requires: qpsmtpd >= 0.96-19 +AutoReqProv: no +#Patch0: smeserver-wbl-0.5.0-init.patch + +%description +%name is an addon for SME Server that provides the following WBLs: +qpsmtpd check_badmailfrom /var/qmail/control/badmailfrom +qpsmtpd check_spamhelo /var/service/qpsmtpd/config/badhelo +qpsmtpd whitelist_soft /var/service/qpsmtpd/config/whitelisthosts whitelisthelo whitelistsenders +spamassassin /etc/mail/spammassassin/local.cf whitelist_from + +%changelog +* Sat Sep 07 2024 cvs2git.sh aka Brian Read 0.5.0-10.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. + +* Fri Mar 01 2024 Brian Read 0.5.0-9.sme +- Edit Menu entry to conform to new arrangements [SME: 12493] + +* Sun Feb 25 2024 Jean-Philippe Pialasse 0.5.0-8.sme +- reload qpsmtpd config on panel update [SME: 12490] +- apply smeserver-wbl-0.5.0-locale-2024-02-25 + +* Sun Apr 17 2022 Jean-Philippe Pialasse 0.5.0-7.sme +- fix multiple rpm owned files [SME: 11678] +- fix long update time [SME: 11955] + +* Wed Jan 05 2022 Brian Read 0.5.0-6.sme +- Add in class def in overall div in ep file [SME: 11828] + +* Wed Sep 08 2021 Terry Fage 0.5.0-5.sme +- fix reference update in server manager [SME: 11687] + +* Wed Aug 25 2021 Terry Fage 0.5.0-4.sme +- apply locale 2021-08-25 patch + +* Mon Mar 15 2021 Jean-Philippe Pialasse 0.5.0-3.sme +- fix reference to spamd and panel link [SME: 10948] + +* Sat Nov 28 2020 Michel Begue 0.5.0-02.sme +- Back to compatibility with e-smith-manager [SME: 10948] + +* Mon Jun 08 2020 Michel Begue 0.5.0-01.sme +- initial release for smeserver-manager (sme10) +- [0.3.0-19.sme9] + +%prep +%setup + +%build +perl createlinks + +%install +rm -rf $RPM_BUILD_ROOT +(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist +echo "%doc " >> %{name}-%{version}-filelist + +%post +if (systemctl list-unit-files |grep smanager) then + echo "Smanager restart in spec file" + /sbin/e-smith/signal-event smanager-refresh; +fi + +%clean +cd .. +rm -rf %{name}-%{version} + +%files -f %{name}-%{version}-filelist +%defattr(-,root,root)