| Server IP : 37.9.174.138 / Your IP : 216.73.216.117 Web Server : Apache System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64 User : ftpuser ( 1001) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/postfix/ |
Upload File : |
#!/usr/bin/perl
#
# postfix-module by Guillaume Cottenceau <gc@mandrakesoft.com>,
# for webmin by Jamie Cameron
#
# Save Postfix options
require './postfix-lib.pl'; ## no critic
use strict;
use warnings;
our ($err, %access, %in, %text);
&ReadParse();
$access{'general'} || &error($text{'opts_ecannot'});
&error_setup($text{'opts_err'});
if (defined($in{"debug_peer_level_def"})) {
$in{"debug_peer_level_def"} =~ /^[1-9]\d*$/ ||
&error($text{'opts_edebug'});
}
if (defined($in{"inet_protocols"})) {
&set_current_value("inet_protocols", $in{"inet_protocols"} || "__DEFAULT_VALUE_IE_NOT_IN_CONFIG_FILE__", 1);
}
&lock_postfix_files();
&save_options(\%in);
&unlock_postfix_files();
$err = &reload_postfix();
&error($err) if ($err);
&webmin_log($in{'_log_form'} || "opts");
&redirect("");