HEX
Server: Apache
System: Linux srv1.prosuiteplus.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: prosuiteplus (1001)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: //usr/share/webmin/virtual-server/disable_postgrey.cgi
#!/usr/bin/perl
# Disable postgrey

require './virtual-server-lib.pl';
&can_edit_templates() || &error($text{'postgrey_ecannot'});
$err = &check_postgrey();
&error($err) if ($err);
&ui_print_header(undef, $text{'postgrey_title3'}, "");

&obtain_lock_postgrey();
&disable_postgrey();
&release_lock_postgrey();
&run_post_actions();
&webmin_log("disable", "postgrey");

&ui_print_footer("postgrey.cgi", $text{'postgrey_return'});