Merge branch 'darkalex/ispconfig3-mailsec-sendas' into stable-3.1
| | |
| | | ALTER TABLE `openvz_template` CHANGE `vmguarpages` `vmguarpages` varchar(255) DEFAULT '65536:unlimited'; |
| | | ALTER TABLE `openvz_template` CHANGE `privvmpages` `privvmpages` varchar(255) DEFAULT '131072:139264'; |
| | | |
| | | |
| | | CREATE TABLE `ftp_traffic` ( |
| | | `hostname` varchar(255) NOT NULL, |
| | | `traffic_date` date NOT NULL, |
| | |
| | | `out_bytes` bigint(32) unsigned NOT NULL, |
| | | PRIMARY KEY (`hostname`,`traffic_date`) |
| | | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
| | | |
| | | ALTER TABLE `mail_forwarding` ADD COLUMN `allow_send_as` ENUM('n','y') NOT NULL DEFAULT 'n' AFTER `active`; |
| | | UPDATE `mail_forwarding` SET `allow_send_as` = 'y' WHERE `type` = 'alias'; |
| | |
| | | `destination` text, |
| | | `type` enum('alias','aliasdomain','forward','catchall') NOT NULL default 'alias', |
| | | `active` enum('n','y') NOT NULL DEFAULT 'n', |
| | | `allow_send_as` ENUM('n','y') NOT NULL DEFAULT 'n', |
| | | `greylisting` enum('n','y' ) NOT NULL DEFAULT 'n', |
| | | PRIMARY KEY (`forwarding_id`), |
| | | KEY `server_id` (`server_id`,`source`), |
| | |
| | | user = {mysql_server_ispconfig_user} |
| | | password = {mysql_server_ispconfig_password} |
| | | dbname = {mysql_server_database} |
| | | query = SELECT destination FROM mail_forwarding WHERE source = '%s' AND active = 'y' AND type = 'alias' AND server_id = {server_id} UNION SELECT email FROM mail_user WHERE email = '%s' AND disablesmtp = 'n' AND server_id = {server_id}; |
| | | query = SELECT destination FROM mail_forwarding WHERE source = '%s' AND active = 'y' AND allow_send_as = 'y' AND server_id = {server_id} UNION SELECT email FROM mail_user WHERE email = '%s' AND disablesmtp = 'n' AND server_id = {server_id}; |
| | | hosts = {mysql_server_ip} |
| | |
| | | 'default' => 'y', |
| | | 'value' => array(0 => 'n', 1 => 'y') |
| | | ), |
| | | 'allow_send_as' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | | 'default' => 'y', |
| | | 'value' => array(1 => 'y', 0 => 'n') |
| | | ), |
| | | 'greylisting' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | |
| | | 'default' => 'y', |
| | | 'value' => array(0 => 'n', 1 => 'y') |
| | | ), |
| | | 'allow_send_as' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | | 'default' => 'n', |
| | | 'value' => array(1 => 'y', 0 => 'n') |
| | | ), |
| | | 'greylisting' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | |
| | | $wb['domain_txt'] = 'Domain'; |
| | | $wb['duplicate_email_alias_txt'] = 'Dieser E-Mail Alias existiert bereits.'; |
| | | $wb['source_txt'] = 'Alias'; |
| | | $wb['send_as_txt'] = 'Senden als'; |
| | | $wb['send_as_exp'] = 'Ziel erlauben, den alias als Absender zu benutzen'; |
| | | $wb['greylisting_txt'] = 'Aktiviere Greylisting'; |
| | | ?> |
| | |
| | | $wb['domain_txt'] = 'Domain'; |
| | | $wb['source_txt'] = 'Quell E-Mail Adresse'; |
| | | $wb['email_error_isemail'] = 'Bitte geben Sie eine gültige E-Mail Adresse an.'; |
| | | $wb['send_as_txt'] = 'Senden als'; |
| | | $wb['send_as_exp'] = 'Ziel erlauben, die Adresse als Absender zu nutzen (Nur, falls das Ziel intern ist)'; |
| | | $wb['greylisting_txt'] = 'Aktiviere greylisting'; |
| | | ?> |
| | |
| | | $wb['domain_txt'] = 'Domain'; |
| | | $wb["duplicate_email_alias_txt"] = 'This email alias does already exist.'; |
| | | $wb["source_txt"] = 'Alias'; |
| | | $wb['send_as_txt'] = 'Send as'; |
| | | $wb['send_as_exp'] = 'Allow target to send mail using this alias as origin'; |
| | | $wb['greylisting_txt'] = 'Enable greylisting'; |
| | | ?> |
| | |
| | | $wb['domain_txt'] = 'Domain'; |
| | | $wb["source_txt"] = 'Source Email'; |
| | | $wb['email_error_isemail'] = 'Please enter a valid email address.'; |
| | | $wb['send_as_txt'] = 'Send as'; |
| | | $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; |
| | | $wb['greylisting_txt'] = 'Enable greylisting'; |
| | | ?> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | <label class="col-sm-3 control-label">{tmpl_var name='send_as_txt'}</label> |
| | | <div class="col-sm-9"> |
| | | {tmpl_var name='allow_send_as'} <small>{tmpl_var name='send_as_exp'}</small> |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | <label class="col-sm-3 control-label">{tmpl_var name='greylisting_txt'}</label> |
| | | <div class="col-sm-9"> |
| | | {tmpl_var name='greylisting'} |
| | |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | <label class="col-sm-3 control-label">{tmpl_var name='send_as_txt'}</label> |
| | | <div class="col-sm-9"> |
| | | {tmpl_var name='allow_send_as'} <small>{tmpl_var name='send_as_exp'}</small> |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | <label class="col-sm-3 control-label">{tmpl_var name='greylisting_txt'}</label> |
| | | <div class="col-sm-9"> |
| | | {tmpl_var name='greylisting'} |