mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
17 lines
343 B
Perl
Executable File
17 lines
343 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
#
|
|
# postfix-module by Guillaume Cottenceau <gc@mandrakesoft.com>,
|
|
# for webmin by Jamie Cameron
|
|
#
|
|
# Stop postfix
|
|
|
|
require './postfix-lib.pl';
|
|
|
|
$access{'startstop'} || &error($text{'stop_ecannot'});
|
|
&error_setup($text{'stop_efailed'});
|
|
$err = &stop_postfix();
|
|
&error($err) if ($err);
|
|
&webmin_log("stop");
|
|
&redirect("");
|
|
|