Files
webmin/postfix/start.cgi
2026-05-23 17:15:31 -05:00

20 lines
417 B
Perl
Executable File

#!/usr/local/bin/perl
#
# postfix-module by Guillaume Cottenceau <gc@mandrakesoft.com>,
# for webmin by Jamie Cameron
#
# Start postfix
require './postfix-lib.pl'; ## no critic
use strict;
use warnings;
our ($err, %access, %text);
$access{'startstop'} || &error($text{'start_ecannot'});
&error_setup($text{'start_efailed'});
$err = &start_postfix();
&error($err) if ($err);
&webmin_log("start");
&redirect("");