| Server IP : 104.21.25.180 / Your IP : 104.23.197.123 Web Server : Apache/2.4.37 System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64 User : ricodeal ( 1046) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/libexec/webmin/qmailadmin/ |
Upload File : |
#!/usr/bin/perl
# list_bads.cgi
# Display domains and addresses which are rejected
require './qmail-lib.pl';
&ui_print_header(undef, $text{'bads_title'}, "");
$bads = &list_control_file("badmailfrom");
print "<form method=post action=save_bads.cgi enctype=multipart/form-data>\n";
print "<table cellpadding=5 width=100%><tr><td valign=top nowrap>\n";
print "<b>$text{'bads_addresses'}</b><br>\n";
print "<textarea name=bads rows=15 cols=65>",
&html_escape(join("\n", @$bads)),"</textarea><br>\n";
print "<input type=submit value=\"$text{'save'}\">\n";
print "</td><td valign=top>\n";
print $text{'bads_desc'},"\n";
print "</td></tr></table>\n";
print "</form>\n";
&ui_print_footer("", $text{'index_return'});