Files
webmin/dovecot/start.cgi
2007-04-12 20:24:50 +00:00

15 lines
323 B
Perl
Executable File

#!/usr/local/bin/perl
# Start the dovecot server
require './dovecot-lib.pl';
&error_setup($text{'start_err'});
$conf = &get_config();
@protos = split(/\s+/, &find_value("protocols", $conf));
@protos || &error($text{'start_eprotos'});
$err = &start_dovecot();
&error($err) if ($err);
&webmin_log("start");
&redirect("");