Handle hostnames with upper-case letters
[webmin.git] / sendmail / stop.cgi
1 #!/usr/local/bin/perl
2 # stop.cgi
3 # Stop the running sendmail process
4
5 require './sendmail-lib.pl';
6 &ReadParse();
7 $access{'stop'} || &error($text{'stop_ecannot'});
8 &error_setup($text{'stop_err'});
9 $err = &stop_sendmail();
10 &error($err) if ($err);
11 &webmin_log("stop");
12 &redirect("");
13