Commit a126d73f authored by mcramer's avatar mcramer

- Added: path to sendmail in server config (prepared for mailsafe module)

parent d097c76b
......@@ -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
......
......@@ -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
##################################
......
......@@ -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.';
?>
......@@ -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.';
?>
......@@ -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" />&nbsp;{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'}">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment