X7ROOT File Manager
Current Path:
/usr/libexec/webmin/spam
usr
/
libexec
/
webmin
/
spam
/
📁
..
📄
CHANGELOG
(2.12 KB)
📄
acl_security.pl
(1.69 KB)
📄
apply.cgi
(229 B)
📄
backup_config.pl
(890 B)
📄
cgi_args.pl
(189 B)
📄
config
(236 B)
📄
config-AlmaLinux-7.0-ALL
(287 B)
📄
config-CentOS-Stream-Linux-8.0-ALL
(287 B)
📄
config-Oracle-Linux-8.0-ALL
(287 B)
📄
config-Rocky-Linux-7.0-ALL
(287 B)
📄
config-debian-linux
(246 B)
📄
config-debian-linux-10.0-ALL
(294 B)
📄
config-freebsd
(288 B)
📄
config-pardus-linux
(224 B)
📄
config-redhat-linux-24.0-ALL
(287 B)
📄
config-syno-linux
(277 B)
📄
config.info
(1.43 KB)
📄
config.info.ca
(1.66 KB)
📄
config.info.cs
(1.41 KB)
📄
config.info.de
(1.67 KB)
📄
config.info.el
(967 B)
📄
config.info.es
(450 B)
📄
config.info.fr
(482 B)
📄
config.info.hu
(0 B)
📄
config.info.nl
(1.45 KB)
📄
config.info.no
(1.41 KB)
📄
defaultacl
(71 B)
📄
delete_awl.cgi
(1.17 KB)
📄
deleteall_awl.cgi
(806 B)
📄
deleteone_awl.cgi
(560 B)
📄
edit_amavisd.cgi
(4.85 KB)
📄
edit_awl.cgi
(3.54 KB)
📄
edit_db.cgi
(3.17 KB)
📄
edit_header.cgi
(4.21 KB)
📄
edit_manual.cgi
(1.06 KB)
📄
edit_priv.cgi
(1.2 KB)
📄
edit_procmail.cgi
(1.87 KB)
📄
edit_report.cgi
(4.3 KB)
📄
edit_score.cgi
(3.18 KB)
📄
edit_setup.cgi
(1.57 KB)
📄
edit_simple.cgi
(1.5 KB)
📄
edit_user.cgi
(2.76 KB)
📄
edit_white.cgi
(4.38 KB)
📁
images
📄
index.cgi
(5.18 KB)
📄
install_check.pl
(423 B)
📁
lang
📄
langs
(718 B)
📄
locales
(69 B)
📄
log_parser.pl
(329 B)
📄
module.info
(197 B)
📄
module.info.af
(0 B)
📄
module.info.af.auto
(151 B)
📄
module.info.ar
(0 B)
📄
module.info.ar.auto
(219 B)
📄
module.info.be
(0 B)
📄
module.info.be.auto
(231 B)
📄
module.info.bg
(0 B)
📄
module.info.bg.auto
(226 B)
📄
module.info.ca
(114 B)
📄
module.info.ca.auto
(21 B)
📄
module.info.cs
(36 B)
📄
module.info.cs.auto
(128 B)
📄
module.info.da
(0 B)
📄
module.info.da.auto
(154 B)
📄
module.info.de
(141 B)
📄
module.info.de.auto
(21 B)
📄
module.info.el
(0 B)
📄
module.info.el.auto
(266 B)
📄
module.info.es
(40 B)
📄
module.info.es.auto
(129 B)
📄
module.info.eu
(0 B)
📄
module.info.eu.auto
(164 B)
📄
module.info.fa
(0 B)
📄
module.info.fa.auto
(216 B)
📄
module.info.fi
(0 B)
📄
module.info.fi.auto
(156 B)
📄
module.info.fr
(40 B)
📄
module.info.fr.auto
(122 B)
📄
module.info.he
(0 B)
📄
module.info.he.auto
(191 B)
📄
module.info.hr
(0 B)
📄
module.info.hr.auto
(163 B)
📄
module.info.hu
(41 B)
📄
module.info.hu.auto
(129 B)
📄
module.info.it
(0 B)
📄
module.info.it.auto
(149 B)
📄
module.info.ja
(0 B)
📄
module.info.ja.auto
(220 B)
📄
module.info.ko
(0 B)
📄
module.info.ko.auto
(185 B)
📄
module.info.lt
(0 B)
📄
module.info.lt.auto
(190 B)
📄
module.info.lv
(0 B)
📄
module.info.lv.auto
(162 B)
📄
module.info.ms
(138 B)
📄
module.info.ms.auto
(21 B)
📄
module.info.mt
(0 B)
📄
module.info.mt.auto
(154 B)
📄
module.info.nl
(34 B)
📄
module.info.nl.auto
(121 B)
📄
module.info.no
(35 B)
📄
module.info.no.auto
(120 B)
📄
module.info.pl
(0 B)
📄
module.info.pl.auto
(172 B)
📄
module.info.pt
(0 B)
📄
module.info.pt.auto
(158 B)
📄
module.info.pt_BR
(0 B)
📄
module.info.pt_BR.auto
(167 B)
📄
module.info.ro
(0 B)
📄
module.info.ro.auto
(162 B)
📄
module.info.ru
(0 B)
📄
module.info.ru.auto
(235 B)
📄
module.info.sk
(0 B)
📄
module.info.sk.auto
(170 B)
📄
module.info.sl
(0 B)
📄
module.info.sl.auto
(161 B)
📄
module.info.sv
(0 B)
📄
module.info.sv.auto
(170 B)
📄
module.info.th
(0 B)
📄
module.info.th.auto
(271 B)
📄
module.info.tr
(0 B)
📄
module.info.tr.auto
(177 B)
📄
module.info.uk
(0 B)
📄
module.info.uk.auto
(253 B)
📄
module.info.ur
(0 B)
📄
module.info.ur.auto
(244 B)
📄
module.info.vi
(0 B)
📄
module.info.vi.auto
(185 B)
📄
module.info.zh
(0 B)
📄
module.info.zh.auto
(142 B)
📄
module.info.zh_TW
(0 B)
📄
module.info.zh_TW.auto
(151 B)
📄
save_amavisd.cgi
(2.54 KB)
📄
save_db.cgi
(1.87 KB)
📄
save_header.cgi
(2.99 KB)
📄
save_manual.cgi
(727 B)
📄
save_priv.cgi
(879 B)
📄
save_procmail.cgi
(1.75 KB)
📄
save_report.cgi
(2.14 KB)
📄
save_score.cgi
(2.05 KB)
📄
save_simple.cgi
(2.75 KB)
📄
save_user.cgi
(1.64 KB)
📄
save_white.cgi
(2.1 KB)
📄
setup.cgi
(2.71 KB)
📄
spam-amavis-lib.pl
(2.72 KB)
📄
spam-lib.pl
(27.95 KB)
Editing: edit_report.cgi
#!/usr/bin/perl # edit_report.cgi # Display a form for editing the spam report text require './spam-lib.pl'; &ReadParse(); &set_config_file_in(\%in); &can_use_check("report"); &ui_print_header($header_subtext, $text{'report_title'}, ""); $conf = &get_config(); print "$text{'report_desc'}<p>\n"; print &ui_alert_box($text{'amavis_warn'}, 'info') if ($warn_procmail != 1); &start_form("save_report.cgi", $text{'report_header'}); if (&version_atleast(3.0)) { # New version can replace subject, from and to headers @rheader = &find("rewrite_header", $conf); foreach $h ("subject", "from", "to") { ($hn) = grep { lc($_->{'words'}->[0]) eq $h } @rheader; print &ui_table_row($text{'report_r'.$h}, &opt_field("rewrite_header_${h}", $hn ? join(" ", @{$hn->{'words'}}[1..@{$hn->{'words'}}-1]) : undef, 15)); } } else { # Older versions can only replace subject header $rewrite = &find("rewrite_subject", $conf); print &ui_table_row($text{'report_rewrite'}, &yes_no_field("rewrite_subject", $rewrite, 1)); $subject = &find("subject_tag", $conf); print &ui_table_row($text{'report_subject'}, &opt_field("subject_tag", $subject, 15, "*****SPAM*****")); $header = &find("report_header", $conf); # Include report in headers #print &ui_table_row($text{'report_rheader'}, # &yes_no_field("report_header", $header, 0)); # Terse report mode $terse = &find("use_terse_report", $conf); print &ui_table_row($text{'report_useterse'}, &yes_no_field("use_terse_report", $terse, 0)); } # Split status header? $fold = &find("fold_headers", $conf); print &ui_table_row($text{'report_fold'}, &yes_no_field("fold_headers", $fold, 1)); if (!&version_atleast(2.6)) { # Include details of spam phrases $detail = &find("detailed_phrase_score", $conf); print &ui_table_row($text{'report_detail'}, &yes_no_field("detailed_phrase_score", $detail, 0)); } if (!&version_atleast(2.6)) { # Include stars header $stars = &find("spam_level_stars", $conf); print &ui_table_row($text{'report_stars'}, &yes_no_field("spam_level_stars", $stars, 1)); } # Character for stars # note: has to be replaced in save.cgi with add_header all Level _STARS(.)_ as of 2.6 $char = &find("spam_level_char", $conf); print &ui_table_row($text{'report_char'}, &opt_field("spam_level_char", $char, 2, "*")); if (!&version_atleast(2.6)) { # Remove MIME blocks $defang = &find("defang_mime", $conf); print &ui_table_row($text{'report_defang'}, &yes_no_field("defang_mime", $defang, 1)); } if (&version_atleast(2.6)) { $safe = &find("report_safe", $conf); print &ui_table_row($text{'report_safe'}, &option_field("report_safe", $safe, 1, [ [ 0, $text{'no'} ], [ 1, $text{'yes'} ], [ 2, $text{'report_safe2'} ] ])); } print &ui_table_hr(); # Extra report to attach to spam messages @report = &find_value("report", $conf); $clear = &find("clear_report_template", $conf); print &ui_table_row($text{'report_report'}, &ui_radio("clear_report", $clear ? 1 : 0, [ [ 0, $text{'report_noclear'} ], [ 1, $text{'report_clear'} ] ])."<br>\n". &ui_textarea("report", join("\n", @report), 5, 80)); # Extra report to attach to spam messages, for terse mode # note terse report is deprecated in 2.6 and does nothing, will be removed in future if (!&version_atleast(2.6)) { @report = &find_value("terse_report", $conf); $clear = &find("clear_terse_report_template", $conf); print &ui_table_row($text{'report_terse'}, &ui_radio("clear_terse", $clear ? 1 : 0, [ [ 0, $text{'report_noclear'} ], [ 1, $text{'report_clear'} ] ])."<br>\n". &ui_textarea("terse", join("\n", @report), 5, 80)); } # Additional headers to add if (&version_atleast(2.6)) { print &ui_table_hr(); $table = &ui_columns_start([ $text{'report_addfor'}, $text{'report_addheader'}, $text{'report_addtext'} ]); $i = 0; foreach $a (&find_value("add_header", $conf), undef) { local ($for, $header, $text) = split(/\s+/, $a, 3); $table .= &ui_columns_row([ &ui_select("addfor_$i", $for, [ [ "", " " ], map { [ $_, $text{'report_add'.$_} ] } ( "spam", "ham", "all" ) ]), &ui_textbox("addheader_$i", $header, 30), &ui_textbox("addtext_$i", $text, 30) ]); $i++; } $table .= &ui_columns_end(); print &ui_table_row($text{'report_adds'}, $table); } &end_form(undef, $text{'save'}); &ui_print_footer($redirect_url, $text{'index_return'});
Upload File
Create Folder