Skip to content

Commit 08791fe

Browse files
author
A. Täffner
committed
Test: Merge branch 'master' into dns-dnssec
Conflicts: install/lib/installer_base.lib.php
2 parents 228e039 + ab3c7df commit 08791fe

File tree

6 files changed

+24
-5
lines changed

6 files changed

+24
-5
lines changed

install/dist/conf/centos70.conf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144

145145
//* Amavisd
146146
$conf['amavis']['installed'] = false; // will be detected automatically during installation
147-
$conf['amavis']['config_dir'] = '/etc';
147+
$conf['amavis']['config_dir'] = '/etc/amavisd';
148148
$conf['amavis']['init_script'] = 'amavisd';
149149

150150
//* ClamAV

install/lib/installer_base.lib.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,12 +1502,12 @@ public function configure_bind() {
15021502

15031503
//* Create the slave subdirectory
15041504
$content .= 'slave';
1505-
if(!@is_dir($content)) mkdir($content, 2770, true);
1505+
if(!@is_dir($content)) mkdir($content, 02770, true);
15061506

15071507
//* Chown the slave subdirectory to $conf['bind']['bind_user']
15081508
chown($content, $conf['bind']['bind_user']);
15091509
chgrp($content, $conf['bind']['bind_group']);
1510-
chmod($content, 2770);
1510+
chmod($content, 02770);
15111511

15121512
//* Install scripts for dnssec implementation
15131513
$this->process_bind_file('named.conf.options', '/etc/bind/', true); //TODO replace hardcoded path
@@ -2845,4 +2845,4 @@ protected function insert_db_credentials($tContents) {
28452845

28462846
}
28472847

2848-
?>
2848+
?>

interface/web/dns/dns_wizard.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@
314314
$tpl_rows = explode("\n", $tpl_content);
315315
$section = '';
316316
$vars = array();
317+
$vars['xfer']='';
317318
$dns_rr = array();
318319
foreach($tpl_rows as $row) {
319320
$row = trim($row);

interface/web/dns/form/dns_cname.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
116116
'errmsg'=> 'data_error_empty'),
117117
1 => array ( 'type' => 'REGEX',
118-
'regex' => '/^[a-zA-Z0-9\.\-]{1,255}$/',
118+
'regex' => '/^[a-zA-Z0-9\.\-\_]{1,255}$/',
119119
'errmsg'=> 'data_error_regex'),
120120
),
121121
'default' => '',

interface/web/mail/lib/lang/el_mail_domain.lng

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,13 @@ $wb['client_txt'] = 'Πελάτης';
1010
$wb['limit_maildomain_txt'] = 'Έχετε φτάσει το μέγιστο πλήθος των email domains για τον λογαριασμό σας.';
1111
$wb['policy_txt'] = 'Spamfilter';
1212
$wb['no_policy'] = '- ανενεργό -';
13+
$wb["dkim_txt"] = 'enable DKIM';
14+
$wb["dkim_private_txt"] = 'DKIM Private-key';
15+
$wb["dkim_public_txt"] = 'DKIM Public-key\nfor information only';
16+
$wb["dkim_generate_txt"] = 'Generate DKIM Private-key';
17+
$wb["dkim_dns_txt"] = 'DNS-Record';
18+
$wb["dkim_private_key_error"] = 'Invalid DKIM-Private key';
19+
$wb["dkim_settings_txt"] = 'DomainKeys Identified Mail (DKIM)';
20+
$wb['dkim_selector_txt'] = 'DKIM-Selector';
21+
$wb['dkim_selector_error'] = 'Invalid DKIM-Selector. Use only lower-case alphanumeric characters (a-z or 0-9) up to 63 chars';
1322
?>

interface/web/mail/lib/lang/ru_mail_domain.lng

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,13 @@ $wb['client_txt'] = 'Клиент';
1010
$wb['limit_maildomain_txt'] = 'Максимальное число почтовых доменов, достигнуто.';
1111
$wb['policy_txt'] = 'Спам-фильтр';
1212
$wb['no_policy'] = '- не включено -';
13+
$wb["dkim_txt"] = 'enable DKIM';
14+
$wb["dkim_private_txt"] = 'DKIM Private-key';
15+
$wb["dkim_public_txt"] = 'DKIM Public-key\nfor information only';
16+
$wb["dkim_generate_txt"] = 'Generate DKIM Private-key';
17+
$wb["dkim_dns_txt"] = 'DNS-Record';
18+
$wb["dkim_private_key_error"] = 'Invalid DKIM-Private key';
19+
$wb["dkim_settings_txt"] = 'DomainKeys Identified Mail (DKIM)';
20+
$wb['dkim_selector_txt'] = 'DKIM-Selector';
21+
$wb['dkim_selector_error'] = 'Invalid DKIM-Selector. Use only lower-case alphanumeric characters (a-z or 0-9) up to 63 chars';
1322
?>

0 commit comments

Comments
 (0)