Commit 9b0ee8d9 authored by Marius Cramer's avatar Marius Cramer

Merge branch 'master' of git.ispconfig.org:ispconfig/ispconfig3

Conflicts:
	install/sql/incremental/upd_dev_collection.sql
parents 60f2b476 3dc62994
...@@ -152,6 +152,9 @@ class installer_dist extends installer_base { ...@@ -152,6 +152,9 @@ class installer_dist extends installer_base {
//* mysql-virtual_relayrecipientmaps.cf //* mysql-virtual_relayrecipientmaps.cf
$this->process_postfix_config('mysql-virtual_relayrecipientmaps.cf'); $this->process_postfix_config('mysql-virtual_relayrecipientmaps.cf');
//* mysql-virtual_policy_greylist.cf
$this->process_postfix_config('mysql-virtual_policy_greylist.cf');
//* postfix-dkim //* postfix-dkim
$full_file_name=$config_dir.'/tag_as_originating.re'; $full_file_name=$config_dir.'/tag_as_originating.re';
if(is_file($full_file_name)) { if(is_file($full_file_name)) {
...@@ -193,13 +196,21 @@ class installer_dist extends installer_base { ...@@ -193,13 +196,21 @@ class installer_dist extends installer_base {
} }
unset($rbl_hosts); unset($rbl_hosts);
unset($server_ini_array); unset($server_ini_array);
//* If Postgrey is installed, configure it
$greylisting = '';
if($conf['postgrey']['installed'] == true) {
$greylisting = 'check_recipient_access mysql:/etc/postfix/mysql-virtual_policy_greylist.cf';
}
//* These postconf commands will be executed on installation and update //* These postconf commands will be executed on installation and update
$postconf_placeholders = array('{config_dir}' => $config_dir, $postconf_placeholders = array('{config_dir}' => $config_dir,
'{vmail_mailbox_base}' => $cf['vmail_mailbox_base'], '{vmail_mailbox_base}' => $cf['vmail_mailbox_base'],
'{vmail_userid}' => $cf['vmail_userid'], '{vmail_userid}' => $cf['vmail_userid'],
'{vmail_groupid}' => $cf['vmail_groupid'], '{vmail_groupid}' => $cf['vmail_groupid'],
'{rbl_list}' => $rbl_list); '{rbl_list}' => $rbl_list,
'{greylisting}' => $greylisting,
);
$postconf_tpl = rfsel($conf['ispconfig_install_dir'].'/server/conf-custom/install/fedora_postfix.conf.master', 'tpl/fedora_postfix.conf.master'); $postconf_tpl = rfsel($conf['ispconfig_install_dir'].'/server/conf-custom/install/fedora_postfix.conf.master', 'tpl/fedora_postfix.conf.master');
$postconf_tpl = strtr($postconf_tpl, $postconf_placeholders); $postconf_tpl = strtr($postconf_tpl, $postconf_placeholders);
......
...@@ -168,6 +168,9 @@ class installer_dist extends installer_base { ...@@ -168,6 +168,9 @@ class installer_dist extends installer_base {
//* mysql-virtual_relayrecipientmaps.cf //* mysql-virtual_relayrecipientmaps.cf
$this->process_postfix_config('mysql-virtual_relayrecipientmaps.cf'); $this->process_postfix_config('mysql-virtual_relayrecipientmaps.cf');
//* mysql-virtual_policy_greylist.cf
$this->process_postfix_config('mysql-virtual_policy_greylist.cf');
//* postfix-dkim //* postfix-dkim
$full_file_name=$config_dir.'/tag_as_originating.re'; $full_file_name=$config_dir.'/tag_as_originating.re';
if(is_file($full_file_name)) { if(is_file($full_file_name)) {
...@@ -224,12 +227,20 @@ class installer_dist extends installer_base { ...@@ -224,12 +227,20 @@ class installer_dist extends installer_base {
unset($rbl_hosts); unset($rbl_hosts);
unset($server_ini_array); unset($server_ini_array);
//* If Postgrey is installed, configure it
$greylisting = '';
if($conf['postgrey']['installed'] == true) {
$greylisting = 'check_recipient_access mysql:/etc/postfix/mysql-virtual_policy_greylist.cf';
}
//* These postconf commands will be executed on installation and update //* These postconf commands will be executed on installation and update
$postconf_placeholders = array('{config_dir}' => $config_dir, $postconf_placeholders = array('{config_dir}' => $config_dir,
'{vmail_mailbox_base}' => $cf['vmail_mailbox_base'], '{vmail_mailbox_base}' => $cf['vmail_mailbox_base'],
'{vmail_userid}' => $cf['vmail_userid'], '{vmail_userid}' => $cf['vmail_userid'],
'{vmail_groupid}' => $cf['vmail_groupid'], '{vmail_groupid}' => $cf['vmail_groupid'],
'{rbl_list}' => $rbl_list); '{rbl_list}' => $rbl_list,
'{greylisting}' => $greylisting,
);
$postconf_tpl = rfsel($conf['ispconfig_install_dir'].'/server/conf-custom/install/opensuse_postfix.conf.master', 'tpl/opensuse_postfix.conf.master'); $postconf_tpl = rfsel($conf['ispconfig_install_dir'].'/server/conf-custom/install/opensuse_postfix.conf.master', 'tpl/opensuse_postfix.conf.master');
$postconf_tpl = strtr($postconf_tpl, $postconf_placeholders); $postconf_tpl = strtr($postconf_tpl, $postconf_placeholders);
......
...@@ -135,6 +135,7 @@ class installer_base { ...@@ -135,6 +135,7 @@ class installer_base {
if(is_installed('mysql') || is_installed('mysqld')) $conf['mysql']['installed'] = true; if(is_installed('mysql') || is_installed('mysqld')) $conf['mysql']['installed'] = true;
if(is_installed('postfix')) $conf['postfix']['installed'] = true; if(is_installed('postfix')) $conf['postfix']['installed'] = true;
if(is_installed('postgrey')) $conf['postgrey']['installed'] = true;
if(is_installed('mailman')) $conf['mailman']['installed'] = true; if(is_installed('mailman')) $conf['mailman']['installed'] = true;
if(is_installed('apache') || is_installed('apache2') || is_installed('httpd') || is_installed('httpd2')) $conf['apache']['installed'] = true; if(is_installed('apache') || is_installed('apache2') || is_installed('httpd') || is_installed('httpd2')) $conf['apache']['installed'] = true;
if(is_installed('getmail')) $conf['getmail']['installed'] = true; if(is_installed('getmail')) $conf['getmail']['installed'] = true;
...@@ -704,6 +705,9 @@ class installer_base { ...@@ -704,6 +705,9 @@ class installer_base {
//* mysql-virtual_outgoing_bcc.cf //* mysql-virtual_outgoing_bcc.cf
$this->process_postfix_config('mysql-virtual_outgoing_bcc.cf'); $this->process_postfix_config('mysql-virtual_outgoing_bcc.cf');
//* mysql-virtual_policy_greylist.cf
$this->process_postfix_config('mysql-virtual_policy_greylist.cf');
//* postfix-dkim //* postfix-dkim
$full_file_name=$config_dir.'/tag_as_originating.re'; $full_file_name=$config_dir.'/tag_as_originating.re';
if(is_file($full_file_name)) copy($full_file_name, $full_file_name.'~'); if(is_file($full_file_name)) copy($full_file_name, $full_file_name.'~');
...@@ -742,11 +746,19 @@ class installer_base { ...@@ -742,11 +746,19 @@ class installer_base {
unset($rbl_hosts); unset($rbl_hosts);
unset($server_ini_array); unset($server_ini_array);
//* If Postgrey is installed, configure it
$greylisting = '';
if($conf['postgrey']['installed'] == true) {
$greylisting = 'check_recipient_access mysql:/etc/postfix/mysql-virtual_policy_greylist.cf';
}
$postconf_placeholders = array('{config_dir}' => $config_dir, $postconf_placeholders = array('{config_dir}' => $config_dir,
'{vmail_mailbox_base}' => $cf['vmail_mailbox_base'], '{vmail_mailbox_base}' => $cf['vmail_mailbox_base'],
'{vmail_userid}' => $cf['vmail_userid'], '{vmail_userid}' => $cf['vmail_userid'],
'{vmail_groupid}' => $cf['vmail_groupid'], '{vmail_groupid}' => $cf['vmail_groupid'],
'{rbl_list}' => $rbl_list); '{rbl_list}' => $rbl_list,
'{greylisting}' => $greylisting,
);
$postconf_tpl = rfsel($conf['ispconfig_install_dir'].'/server/conf-custom/install/debian_postfix.conf.master', 'tpl/debian_postfix.conf.master'); $postconf_tpl = rfsel($conf['ispconfig_install_dir'].'/server/conf-custom/install/debian_postfix.conf.master', 'tpl/debian_postfix.conf.master');
$postconf_tpl = strtr($postconf_tpl, $postconf_placeholders); $postconf_tpl = strtr($postconf_tpl, $postconf_placeholders);
...@@ -841,7 +853,7 @@ class installer_base { ...@@ -841,7 +853,7 @@ class installer_base {
caselog($command." &> /dev/null", __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command"); caselog($command." &> /dev/null", __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
} }
public function configure_saslauthd() { public function configure_saslauthd() {
global $conf; global $conf;
......
...@@ -36,3 +36,5 @@ ALTER TABLE `mail_backup` CHANGE `filesize` `filesize` VARCHAR(20) NOT NULL DEFA ...@@ -36,3 +36,5 @@ ALTER TABLE `mail_backup` CHANGE `filesize` `filesize` VARCHAR(20) NOT NULL DEFA
ALTER TABLE `web_backup` CHANGE `filesize` `filesize` VARCHAR(20) NOT NULL DEFAULT ''; ALTER TABLE `web_backup` CHANGE `filesize` `filesize` VARCHAR(20) NOT NULL DEFAULT '';
ALTER TABLE `sys_datalog` ADD INDEX `dbtable` (`dbtable` (25), `dbidx` (25)), ADD INDEX (`action`); ALTER TABLE `sys_datalog` ADD INDEX `dbtable` (`dbtable` (25), `dbidx` (25)), ADD INDEX (`action`);
ALTER TABLE `mail_user` ADD `greylisting` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'n' AFTER `postfix`;
ALTER TABLE `mail_forwarding` ADD `greylisting` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'n' AFTER `active`;
...@@ -12,7 +12,9 @@ inet_protocols=all ...@@ -12,7 +12,9 @@ inet_protocols=all
smtpd_sasl_auth_enable = yes smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:{config_dir}/mysql-virtual_recipient.cf{rbl_list} smtpd_restriction_classes = greylisting
greylisting = check_policy_service inet:127.0.0.1:10023
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:{config_dir}/mysql-virtual_recipient.cf{rbl_list}{greylisting}
smtpd_use_tls = yes smtpd_use_tls = yes
smtpd_tls_security_level = may smtpd_tls_security_level = may
smtpd_tls_cert_file = {config_dir}/smtpd.cert smtpd_tls_cert_file = {config_dir}/smtpd.cert
......
...@@ -9,7 +9,9 @@ sender_bcc_maps = proxy:mysql:{config_dir}/mysql-virtual_outgoing_bcc.cf ...@@ -9,7 +9,9 @@ sender_bcc_maps = proxy:mysql:{config_dir}/mysql-virtual_outgoing_bcc.cf
smtpd_sasl_auth_enable = yes smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:{config_dir}/mysql-virtual_recipient.cf{rbl_list} smtpd_restriction_classes = greylisting
greylisting = check_policy_service inet:127.0.0.1:10023
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:{config_dir}/mysql-virtual_recipient.cf{rbl_list}{greylisting}
smtpd_use_tls = yes smtpd_use_tls = yes
smtpd_tls_security_level = may smtpd_tls_security_level = may
smtpd_tls_cert_file = {config_dir}/smtpd.cert smtpd_tls_cert_file = {config_dir}/smtpd.cert
......
...@@ -8,7 +8,9 @@ virtual_gid_maps = mysql:/etc/postfix/mysql-virtual_gids.cf ...@@ -8,7 +8,9 @@ virtual_gid_maps = mysql:/etc/postfix/mysql-virtual_gids.cf
smtpd_sasl_auth_enable = yes smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:{config_dir}/mysql-virtual_recipient.cf{rbl_list} smtpd_restriction_classes = greylisting
greylisting = check_policy_service inet:127.0.0.1:10023
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:{config_dir}/mysql-virtual_recipient.cf{rbl_list}{greylisting}
smtpd_use_tls = yes smtpd_use_tls = yes
smtpd_tls_security_level = may smtpd_tls_security_level = may
smtpd_tls_cert_file = {config_dir}/smtpd.cert smtpd_tls_cert_file = {config_dir}/smtpd.cert
......
user = {mysql_server_ispconfig_user}
password = {mysql_server_ispconfig_password}
dbname = {mysql_server_database}
query = SELECT 'greylisting' FROM (SELECT greylisting, source AS email FROM mail_forwarding WHERE server_id = {server_id} UNION SELECT greylisting, email FROM mail_user WHERE server_id = {server_id}) addresses WHERE addresses.email='%s' AND addresses.greylisting='y'
hosts = {mysql_server_ip}
\ No newline at end of file
...@@ -11,7 +11,9 @@ sender_bcc_maps = proxy:mysql:{config_dir}/mysql-virtual_outgoing_bcc.cf ...@@ -11,7 +11,9 @@ sender_bcc_maps = proxy:mysql:{config_dir}/mysql-virtual_outgoing_bcc.cf
smtpd_sasl_auth_enable = yes smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:{config_dir}/mysql-virtual_recipient.cf{rbl_list} smtpd_restriction_classes = greylisting
greylisting = check_policy_service inet:127.0.0.1:10023
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:{config_dir}/mysql-virtual_recipient.cf{rbl_list}{greylisting}
smtpd_use_tls = yes smtpd_use_tls = yes
smtpd_tls_security_level = may smtpd_tls_security_level = may
smtpd_tls_cert_file = {config_dir}/smtpd.cert smtpd_tls_cert_file = {config_dir}/smtpd.cert
......
...@@ -95,7 +95,68 @@ class quota_lib { ...@@ -95,7 +95,68 @@ class quota_lib {
return $sites; return $sites;
} }
public function get_trafficquota_data($clientid = null, $lastdays = 0) {
global $app;
$traffic_data = array();
// select vhosts (belonging to client)
if($clientid != null){
$sql_where = " AND sys_groupid = (SELECT default_group FROM sys_user WHERE client_id=".$clientid.")";
}
$sites = $app->db->queryAllRecords("SELECT * FROM web_domain WHERE active = 'y' AND (type = 'vhost' OR type = 'vhostsubdomain' OR type = 'vhostalias')".$sql_where);
$hostnames = array();
$traffic_data = array();
foreach ($sites as $site) {
$hostnames[] = $site['domain'];
$traffic_data[$site['domain']]['domain_id'] = $site['domain_id'];
}
// fetch all traffic-data of selected vhosts
if (!empty($hostnames)) {
$tmp_year = date('Y');
$tmp_month = date('m');
// This Month
$tmp_recs = $app->db->queryAllRecords("SELECT hostname, SUM(traffic_bytes) as t FROM web_traffic WHERE YEAR(traffic_date) = ? AND MONTH(traffic_date) = ? AND hostname IN ('".join("','",$hostnames)."') GROUP BY hostname", $tmp_year, $tmp_month);
foreach ($tmp_recs as $tmp_rec) {
$traffic_data[$tmp_rec['hostname']]['this_month'] = $tmp_rec['t'];
}
// This Year
$tmp_recs = $app->db->queryAllRecords("SELECT hostname, SUM(traffic_bytes) as t FROM web_traffic WHERE YEAR(traffic_date) = ? AND hostname IN ('".join("','",$hostnames)."') GROUP BY hostname", $tmp_year);
foreach ($tmp_recs as $tmp_rec) {
$traffic_data[$tmp_rec['hostname']]['this_year'] = $tmp_rec['t'];
}
$tmp_year = date('Y', mktime(0, 0, 0, date("m")-1, date("d"), date("Y")));
$tmp_month = date('m', mktime(0, 0, 0, date("m")-1, date("d"), date("Y")));
// Last Month
$tmp_recs = $app->db->queryAllRecords("SELECT hostname, SUM(traffic_bytes) as t FROM web_traffic WHERE YEAR(traffic_date) = ? AND MONTH(traffic_date) = ? AND hostname IN ('".join("','",$hostnames)."') GROUP BY hostname", $tmp_year, $tmp_month);
foreach ($tmp_recs as $tmp_rec) {
$traffic_data[$tmp_rec['hostname']]['last_month'] = $tmp_rec['t'];
}
$tmp_year = date('Y', mktime(0, 0, 0, date("m"), date("d"), date("Y")-1));
// Last Year
$tmp_recs = $app->db->queryAllRecords("SELECT hostname, SUM(traffic_bytes) as t FROM web_traffic WHERE YEAR(traffic_date) = ? AND hostname IN ('".join("','",$hostnames)."') GROUP BY hostname", $tmp_year);
foreach ($tmp_recs as $tmp_rec) {
$traffic_data[$tmp_rec['hostname']]['last_year'] = $tmp_rec['t'];
}
if (is_int($lastdays) && ($lastdays > 0)) {
// Last xx Days
$tmp_recs = $app->db->queryAllRecords("SELECT hostname, SUM(traffic_bytes) as t FROM web_traffic WHERE (traffic_date >= DATE_SUB(NOW(), INTERVAL ".$app->db->quote($lastdays)." DAY)) AND hostname IN ('".join("','",$hostnames)."') GROUP BY hostname");
foreach ($tmp_recs as $tmp_rec) {
$traffic_data[$tmp_rec['hostname']]['lastdays'] = $tmp_rec['t'];
}
}
}
return $traffic_data;
}
public function get_mailquota_data($clientid = null, $readable = true) { public function get_mailquota_data($clientid = null, $readable = true) {
global $app; global $app;
......
...@@ -966,6 +966,21 @@ class remoting_sites extends remoting { ...@@ -966,6 +966,21 @@ class remoting_sites extends remoting {
return $app->quota_lib->get_quota_data($client_id, false); return $app->quota_lib->get_quota_data($client_id, false);
} }
public function trafficquota_get_by_user($session_id, $client_id, $lastdays = 0)
{
global $app;
$app->uses('quota_lib');
if(!$this->checkPerm($session_id, 'trafficquota_get_by_user')) {
$this->server->fault('permission_denied', 'You do not have the permissions to access this function.');
return false;
}
if ($client_id != null)
$client_id = $app->functions->intval($client_id);
return $app->quota_lib->get_trafficquota_data($client_id, $lastdays);
}
public function databasequota_get_by_user($session_id, $client_id) public function databasequota_get_by_user($session_id, $client_id)
{ {
global $app; global $app;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
$function_list['client_get_all,client_get,client_add,client_update,client_delete,client_get_sites_by_user,client_get_by_username,client_change_password,client_get_id,client_delete_everything,client_get_emailcontact'] = 'Client functions'; $function_list['client_get_all,client_get,client_add,client_update,client_delete,client_get_sites_by_user,client_get_by_username,client_change_password,client_get_id,client_delete_everything,client_get_emailcontact'] = 'Client functions';
$function_list['domains_domain_get,domains_domain_add,domains_domain_delete,domains_get_all_by_user'] = 'Domaintool functions'; $function_list['domains_domain_get,domains_domain_add,domains_domain_delete,domains_get_all_by_user'] = 'Domaintool functions';
$function_list['quota_get_by_user,mailquota_get_by_user,databasequota_get_by_user'] = 'Quota functions'; $function_list['quota_get_by_user,trafficquota_get_by_user,mailquota_get_by_user,databasequota_get_by_user'] = 'Quota functions';
?> ?>
...@@ -124,6 +124,12 @@ $form["tabs"]['alias'] = array ( ...@@ -124,6 +124,12 @@ $form["tabs"]['alias'] = array (
'default' => 'y', 'default' => 'y',
'value' => array(0 => 'n', 1 => 'y') 'value' => array(0 => 'n', 1 => 'y')
), ),
'greylisting' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'n',
'value' => array(1 => 'y', 0 => 'n')
),
//################################# //#################################
// ENDE Datatable fields // ENDE Datatable fields
//################################# //#################################
......
...@@ -118,6 +118,12 @@ $form["tabs"]['forward'] = array ( ...@@ -118,6 +118,12 @@ $form["tabs"]['forward'] = array (
'default' => 'y', 'default' => 'y',
'value' => array(0 => 'n', 1 => 'y') 'value' => array(0 => 'n', 1 => 'y')
), ),
'greylisting' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'n',
'value' => array(1 => 'y', 0 => 'n')
),
//################################# //#################################
// ENDE Datatable fields // ENDE Datatable fields
//################################# //#################################
......
...@@ -233,6 +233,12 @@ $form["tabs"]['mailuser'] = array( ...@@ -233,6 +233,12 @@ $form["tabs"]['mailuser'] = array(
'default' => 'y', 'default' => 'y',
'value' => array(1 => 'y', 0 => 'n') 'value' => array(1 => 'y', 0 => 'n')
), ),
'greylisting' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'n',
'value' => array(1 => 'y', 0 => 'n')
),
/* /*
'access' => array ( 'access' => array (
'datatype' => 'VARCHAR', 'datatype' => 'VARCHAR',
......
...@@ -11,4 +11,5 @@ $wb['duplicate_mailbox_txt'] = 'There is already a mailbox with this email addre ...@@ -11,4 +11,5 @@ $wb['duplicate_mailbox_txt'] = 'There is already a mailbox with this email addre
$wb['domain_txt'] = 'Domain'; $wb['domain_txt'] = 'Domain';
$wb['duplicate_email_alias_txt'] = 'This email alias does already exist.'; $wb['duplicate_email_alias_txt'] = 'This email alias does already exist.';
$wb['source_txt'] = 'Alias'; $wb['source_txt'] = 'Alias';
$wb['greylisting_txt'] = 'Enable greylisting';
?> ?>
...@@ -6,4 +6,5 @@ $wb['limit_mailforward_txt'] = 'The max. number of email forwarders for your acc ...@@ -6,4 +6,5 @@ $wb['limit_mailforward_txt'] = 'The max. number of email forwarders for your acc
$wb['duplicate_mailbox_txt'] = 'There is already a mailbox with this email address'; $wb['duplicate_mailbox_txt'] = 'There is already a mailbox with this email address';
$wb['domain_txt'] = 'Domain'; $wb['domain_txt'] = 'Domain';
$wb['source_txt'] = 'Source Email'; $wb['source_txt'] = 'Source Email';
$wb['greylisting_txt'] = 'Enable greylisting';
?> ?>
...@@ -20,6 +20,7 @@ $wb['server_id_txt'] = 'Aerver_id'; ...@@ -20,6 +20,7 @@ $wb['server_id_txt'] = 'Aerver_id';
$wb['password_txt'] = 'Password'; $wb['password_txt'] = 'Password';
$wb['maildir_txt'] = 'Maildir'; $wb['maildir_txt'] = 'Maildir';
$wb['postfix_txt'] = 'Enable Receiving'; $wb['postfix_txt'] = 'Enable Receiving';
$wb['greylisting_txt'] = 'Enable greylisting';
$wb['access_txt'] = 'Enable Access'; $wb['access_txt'] = 'Enable Access';
$wb['policy_txt'] = 'Spamfilter'; $wb['policy_txt'] = 'Spamfilter';
$wb['no_policy'] = '- not enabled -'; $wb['no_policy'] = '- not enabled -';
......
...@@ -11,4 +11,5 @@ $wb['duplicate_mailbox_txt'] = 'There is already a mailbox with this email addre ...@@ -11,4 +11,5 @@ $wb['duplicate_mailbox_txt'] = 'There is already a mailbox with this email addre
$wb['domain_txt'] = 'Domain'; $wb['domain_txt'] = 'Domain';
$wb['duplicate_email_alias_txt'] = 'This email alias does already exist.'; $wb['duplicate_email_alias_txt'] = 'This email alias does already exist.';
$wb['source_txt'] = 'Alias'; $wb['source_txt'] = 'Alias';
$wb['greylisting_txt'] = 'Enable greylisting';
?> ?>
...@@ -6,4 +6,5 @@ $wb['limit_mailforward_txt'] = 'Максималният брой за имей ...@@ -6,4 +6,5 @@ $wb['limit_mailforward_txt'] = 'Максималният брой за имей
$wb['duplicate_mailbox_txt'] = 'Вече съществува пощенска кутия с такъв адрес.'; $wb['duplicate_mailbox_txt'] = 'Вече съществува пощенска кутия с такъв адрес.';
$wb['domain_txt'] = 'Домейн'; $wb['domain_txt'] = 'Домейн';
$wb['source_txt'] = 'Source Email'; $wb['source_txt'] = 'Source Email';
$wb['greylisting_txt'] = 'Enable greylisting';
?> ?>
...@@ -16,6 +16,7 @@ $wb['server_id_txt'] = 'server_id'; ...@@ -16,6 +16,7 @@ $wb['server_id_txt'] = 'server_id';
$wb['password_txt'] = 'парола'; $wb['password_txt'] = 'парола';
$wb['maildir_txt'] = 'maildir'; $wb['maildir_txt'] = 'maildir';
$wb['postfix_txt'] = 'Разреши получаване'; $wb['postfix_txt'] = 'Разреши получаване';
$wb['greylisting_txt'] = 'Enable greylisting';
$wb['access_txt'] = 'Разреши достъп'; $wb['access_txt'] = 'Разреши достъп';
$wb['policy_txt'] = 'Спам филтър'; $wb['policy_txt'] = 'Спам филтър';
$wb['no_policy'] = '- забранен -'; $wb['no_policy'] = '- забранен -';
......
...@@ -11,4 +11,5 @@ $wb['duplicate_mailbox_txt'] = 'Já existe uma caixa de correio com este endere ...@@ -11,4 +11,5 @@ $wb['duplicate_mailbox_txt'] = 'Já existe uma caixa de correio com este endere
$wb['domain_txt'] = 'Domínio'; $wb['domain_txt'] = 'Domínio';
$wb['duplicate_email_alias_txt'] = 'This email alias does already exist.'; $wb['duplicate_email_alias_txt'] = 'This email alias does already exist.';
$wb['source_txt'] = 'Alias'; $wb['source_txt'] = 'Alias';
$wb['greylisting_txt'] = 'Enable greylisting';
?> ?>
...@@ -6,4 +6,5 @@ $wb['limit_mailforward_txt'] = 'O número máximo de encaminhamentos para sua co ...@@ -6,4 +6,5 @@ $wb['limit_mailforward_txt'] = 'O número máximo de encaminhamentos para sua co
$wb['duplicate_mailbox_txt'] = 'Já existe uma caixa de correio com este endereço.'; $wb['duplicate_mailbox_txt'] = 'Já existe uma caixa de correio com este endereço.';
$wb['domain_txt'] = 'Domínio'; $wb['domain_txt'] = 'Domínio';
$wb['source_txt'] = 'Source Email'; $wb['source_txt'] = 'Source Email';
$wb['greylisting_txt'] = 'Enable greylisting';
?> ?>
...@@ -16,6 +16,7 @@ $wb['server_id_txt'] = 'Server_id'; ...@@ -16,6 +16,7 @@ $wb['server_id_txt'] = 'Server_id';
$wb['password_txt'] = 'Senha'; $wb['password_txt'] = 'Senha';
$wb['maildir_txt'] = 'Maildir'; $wb['maildir_txt'] = 'Maildir';
$wb['postfix_txt'] = 'Habilitar Recebimento'; $wb['postfix_txt'] = 'Habilitar Recebimento';
$wb['greylisting_txt'] = 'Enable greylisting';
$wb['access_txt'] = 'Habilitar Acesso'; $wb['access_txt'] = 'Habilitar Acesso';
$wb['policy_txt'] = 'Spamfilter'; $wb['policy_txt'] = 'Spamfilter';
$wb['no_policy'] = '- desativado -'; $wb['no_policy'] = '- desativado -';
......
...@@ -11,5 +11,6 @@ $wb['duplicate_mailbox_txt'] = 'Mailbox s touto adresou již existuje'; ...@@ -11,5 +11,6 @@ $wb['duplicate_mailbox_txt'] = 'Mailbox s touto adresou již existuje';
$wb['domain_txt'] = 'Doména'; $wb['domain_txt'] = 'Doména';
$wb['duplicate_email_alias_txt'] = 'Tento e-mail alias již existuje.'; $wb['duplicate_email_alias_txt'] = 'Tento e-mail alias již existuje.';
$wb['source_txt'] = 'Alias'; $wb['source_txt'] = 'Alias';
$wb['greylisting_txt'] = 'Enable greylisting';
?> ?>
...@@ -6,5 +6,6 @@ $wb['limit_mailforward_txt'] = 'Dosažen maximální počet email předávání ...@@ -6,5 +6,6 @@ $wb['limit_mailforward_txt'] = 'Dosažen maximální počet email předávání
$wb['duplicate_mailbox_txt'] = 'Mailbox s touto adresou již existuje'; $wb['duplicate_mailbox_txt'] = 'Mailbox s touto adresou již existuje';
$wb['domain_txt'] = 'Doména'; $wb['domain_txt'] = 'Doména';
$wb['source_txt'] = 'Zdrojový e-mail'; $wb['source_txt'] = 'Zdrojový e-mail';
$wb['greylisting_txt'] = 'Enable greylisting';
?> ?>
...@@ -20,6 +20,7 @@ $wb['server_id_txt'] = 'Server_id'; ...@@ -20,6 +20,7 @@ $wb['server_id_txt'] = 'Server_id';
$wb['password_txt'] = 'Heslo'; $wb['password_txt'] = 'Heslo';
$wb['maildir_txt'] = 'E-mailový adresář'; $wb['maildir_txt'] = 'E-mailový adresář';
$wb['postfix_txt'] = 'Povolit příjem'; $wb['postfix_txt'] = 'Povolit příjem';
$wb['greylisting_txt'] = 'Enable greylisting';
$wb['access_txt'] = 'Povolit přístup'; $wb['access_txt'] = 'Povolit přístup';
$wb['policy_txt'] = 'Spamový filtr'; $wb['policy_txt'] = 'Spamový filtr';
$wb['no_policy'] = '- nepovoleno -'; $wb['no_policy'] = '- nepovoleno -';
......
...@@ -11,4 +11,5 @@ $wb['duplicate_mailbox_txt'] = 'Es existiert bereits eine E-Mail Konto mit diese ...@@ -11,4 +11,5 @@ $wb['duplicate_mailbox_txt'] = 'Es existiert bereits eine E-Mail Konto mit diese
$wb['domain_txt'] = 'Domain'; $wb['domain_txt'] = 'Domain';
$wb['duplicate_email_alias_txt'] = 'Dieser E-Mail Alias existiert bereits.';