Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
a126d73f
Commit
a126d73f
authored
Feb 08, 2013
by
mcramer
Browse files
- Added: path to sendmail in server config (prepared for mailsafe module)
parent
d097c76b
Changes
5
Hide whitespace changes
Inline
Side-by-side
install/tpl/server.ini.master
View file @
a126d73f
...
...
@@ -34,6 +34,7 @@ mailbox_size_limit=0
message_size_limit=0
mailbox_quota_stats=y
realtime_blackhole_list=
sendmail_path=/usr/sbin/sendmail
[getmail]
getmail_config_dir=/etc/getmail
...
...
interface/web/admin/form/server_config.tform.php
View file @
a126d73f
...
...
@@ -321,6 +321,17 @@ $form["tabs"]['mail'] = array(
'width'
=>
'40'
,
'maxlength'
=>
'255'
),
'sendmail_path'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'default'
=>
'/usr/sbin/sendmail'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'NOTEMPTY'
,
'errmsg'
=>
'sendmail_path_error_empty'
),
),
'value'
=>
''
,
'width'
=>
'40'
,
'maxlength'
=>
'255'
),
##################################
# ENDE Datatable fields
##################################
...
...
interface/web/admin/lib/lang/de_server_config.lng
View file @
a126d73f
...
...
@@ -176,4 +176,6 @@ $wb['v6_prefix_wrong'] = 'Falsches IPv6 Netzmasken Format.';
$wb
[
'php_ini_check_minutes_txt'
]
=
'Prüfe System php.ini Dateien auf Änderungen alle'
;
$wb
[
'php_ini_check_minutes_info_txt'
]
=
'Minute(n) (0 deaktiviert diese Funktion)'
;
$wb
[
'php_ini_check_minutes_error_empty'
]
=
'Der Wert für die Einstellung der php.ini Prüfung ist ungültig.'
;
$wb
[
"sendmail_path_txt"
]
=
'Pfad zu Sendmail'
;
$wb
[
"sendmail_path_error_empty"
]
=
'Sendmail Pfad ist leer.'
;
?>
interface/web/admin/lib/lang/en_server_config.lng
View file @
a126d73f
...
...
@@ -176,4 +176,6 @@ $wb["v6_prefix_wrong"] = 'Invalid v6 Netmask format.';
$wb
[
"php_ini_check_minutes_txt"
]
=
'Check system php.ini files for changes each'
;
$wb
[
"php_ini_check_minutes_info_txt"
]
=
'minutes (0 disables checking)'
;
$wb
[
'php_ini_check_minutes_error_empty'
]
=
'Invalid value for php.ini checking.'
;
$wb
[
"sendmail_path_txt"
]
=
'Sendmail Path'
;
$wb
[
"sendmail_path_error_empty"
]
=
'Sendmail Path is empty.'
;
?>
interface/web/admin/templates/server_config_mail_edit.htm
View file @
a126d73f
...
...
@@ -81,6 +81,10 @@
<label
for=
"realtime_blackhole_list"
>
{tmpl_var name='realtime_blackhole_list_txt'}
</label>
<input
name=
"realtime_blackhole_list"
id=
"realtime_blackhole_list"
value=
"{tmpl_var name='realtime_blackhole_list'}"
size=
"40"
maxlength=
"255"
type=
"text"
class=
"textInput"
/>
{tmpl_var name='realtime_blackhole_list_note_txt'}
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"sendmail_path"
>
{tmpl_var name='sendmail_path_txt'}
</label>
<input
name=
"sendmail_path"
id=
"sendmail_path"
value=
"{tmpl_var name='sendmail_path'}"
size=
"40"
maxlength=
"255"
type=
"text"
class=
"textInput"
/>
</div>
</fieldset>
<input
type=
"hidden"
name=
"id"
value=
"{tmpl_var name='id'}"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment