mirror of
https://github.com/webmin/webmin.git
synced 2025-08-16 14:51:18 +00:00
add check for single spam_level_char
This commit is contained in:
@ -18,6 +18,7 @@ amavis_ehit=Spam-Wert, ab dem eine Mail als Spam klassifiziert wird ist keine Za
|
||||
amavis_ekill=Spam Wert, ab dem eine Spam-Mail in Quarantäne geschickt wird ist kein gültiger Wert!
|
||||
amavis_elocal=Wert für Internet Dienste zum Klassifizieren der Mail ist kein gültiger Wert!
|
||||
amavis_esize=Wert für Größe ab der eine Mail nicht mehr auf Spam überprüft wd ist kein gültiger Wert!
|
||||
amavis_echar=Es ist nur ein einzelnes Zeichen X-Spam-Level:-Header zulässig
|
||||
amavis_esubject=Wert für Spam Markierung vor dem Betreff:-Headerist kein gültiger Wert!
|
||||
amavis_hits=Spam-Wert, ab dem eine Mail als Spam klassifiziert wird
|
||||
amavis_level_char=Zeichen zum Anzeigen des Spam-Levels im X-Spam-Level:-Header
|
||||
|
@ -298,6 +298,7 @@ amavis_edsn=Hits above which no notification is sent to sender is not a value!
|
||||
amavis_ecut=Hits above which a Spam message is deleted is not a value!
|
||||
amavis_eheader=Value for Modify Subject: header is not a value!
|
||||
amavis_esize=Value for size above witch a message is not checked for Spam is not a value!
|
||||
amavis_echar=A single character must be entered for the X-Spam-Level: header
|
||||
amavis_esubject=Value for Prepend text to Subject: header is not a value!
|
||||
amavis_elocal=Value for disable Internet sources is not a value!
|
||||
amavis_quarantine_level=Hits above which a Spam message is Quarantined.
|
||||
|
@ -50,6 +50,7 @@ $local=0 if ($in{'sa_local_tests_only'}==-1);
|
||||
&error($text{'amavis_esize'});
|
||||
&check_amavis_value($size, 1) ||
|
||||
&error($text{'amavis_elocal'});
|
||||
&error($text{'amavis_echar'}) if (length($char) != 1);
|
||||
|
||||
# Save inputs
|
||||
&save_amavis_directive($conf, 'sa_tag2_level_deflt', $tag2);
|
||||
|
Reference in New Issue
Block a user