Handle hostnames with upper-case letters
[webmin.git] / postfix / flushq.cgi
1 #!/usr/local/bin/perl
2 # flushq.cgi
3 # Run postqueue -f and display the output
4
5 require './postfix-lib.pl';
6 &ui_print_unbuffered_header(undef, $text{'flushq_title'}, "");
7
8 $cmd = "$config{'postfix_queue_command'} -c $config_dir -f";
9 print &text('flushq_desc', "<tt>$cmd</tt>"),"<br>\n";
10 print "<pre>";
11 &foreign_require("proc", "proc-lib.pl");
12 &foreign_call("proc", "safe_process_exec_logged", $cmd, 0, 0, STDOUT, undef, 1);
13 print "</pre>\n";
14 &webmin_log("flushq");
15
16 &ui_print_footer("mailq.cgi", $text{'mailq_return'});
17