printf ".TH PMGTO8 1\n.SH NAME\npmg7to8 \- Proxmox Mail Gateway upgrade checker script for 7.3+ to current 8.x\n" > $@.tmp
printf ".SH DESCRIPTION\nThis tool will help you to detect common pitfalls and misconfguration\
before, and during the upgrade of a Proxmox Mail Gateway system\n" >> $@.tmp
- printf "Any failure must be addressed before the upgrade, and any waring must be addressed, \
+ printf "Any failure must be addressed before the upgrade, and any warning must be addressed, \
or at least carefully evaluated, if a false-positive is suspected\n" >> $@.tmp
printf ".SH SYNOPSIS\npmg7to8\n" >> $@.tmp
mv $@.tmp $@
path => 'ticket',
method => 'GET',
permissions => { user => 'world' },
- description => "Dummy. Useful for formaters which want to priovde a login page.",
+ description => "Dummy. Useful for formatters which want to priovde a login page.",
parameters => {
additionalProperties => 0,
},
type => 'string',
},
priority => {
- description => "Rule priotity.",
+ description => "Rule priority.",
type => 'integer',
minimum => 0,
maximum => 100,
optional => 1,
},
priority => {
- description => "Rule priotity.",
+ description => "Rule priority.",
type => 'integer',
minimum => 0,
maximum => 100,
}
} elsif ($get_pkg->($kinstalled)) {
# with 6.2 kernel being available in both we might want to fine-tune the check?
- log_warn("a suitable kernel ($kinstalled) is intalled, but an unsuitable ($kernel_ver) is booted, missing reboot?!");
+ log_warn("a suitable kernel ($kinstalled) is installed, but an unsuitable ($kernel_ver) is booted, missing reboot?!");
} else {
log_warn("unexpected running and installed kernel '$kernel_ver'.");
}
default => 0,
},
verifyreceivers => {
- description => "Enable receiver verification. The value spefifies the numerical reply"
+ description => "Enable receiver verification. The value specifies the numerical reply"
." code when the Postfix SMTP server rejects a recipient address."
." (postfix options `reject_unknown_recipient_domain`, `reject_unverified_recipient`,"
." and `unverified_recipient_reject_code`)",
my $get_token_argument = sub {
my ($token, $string) = $get_next_token->();
- die "line $linenr: missing token arguemnt\n" if !$token;
+ die "line $linenr: missing token argument\n" if !$token;
return $string // $token;
};
my $ea = $self->{ea};
my $res;
- # TODO: implment it more direclty with less overhead!
+ # TODO: implement it more directly with less overhead!
for my $target ($targets->@*) {
$self->subgroups([$target]);
}
That way we seamlessly hide the fact that mails are delivered to more
than one recipient, without the requirement to make a copy for each
recipient (which would lead to many unnecessays notification
-mail). Insead we only make a minimum number of copies for specific
+mail). Instead we only make a minimum number of copies for specific
target groups.
use strict;
use warnings;
use utf8;
-# compat for older perl code which allows arbitray binary data (including invalid UTF-8)
+# compat for older perl code which allows arbitrary binary data (including invalid UTF-8)
# TODO: can we remove this (as our perl source texts should be all UTF-8 compatible)?
no utf8;
"RRA:AVERAGE:0.5:30:70", # 30 min avg - one day
"RRA:AVERAGE:0.5:180:70", # 3 hour avg - one week
"RRA:AVERAGE:0.5:720:70", # 12 hour avg - one month
- "RRA:AVERAGE:0.5:10080:70", # 7 day avg - ony year
+ "RRA:AVERAGE:0.5:10080:70", # 7 day avg - one year
"RRA:MAX:0.5:1:70", # 1 min max - one hour
"RRA:MAX:0.5:30:70", # 30 min max - one day
"RRA:MAX:0.5:180:70", # 3 hour max - one week
"RRA:MAX:0.5:720:70", # 12 hour max - one month
- "RRA:MAX:0.5:10080:70", # 7 day max - ony year
+ "RRA:MAX:0.5:10080:70", # 7 day max - one year
];
sub cond_create_rrd_file {
exit(-1);
}
-# only set up once actually required allows calling verifyapi in restriced clean sbuild env
+# only set up once actually required allows calling verifyapi in restricted clean sbuild env
PMG::RESTEnvironment->setup_default_cli_env();
initlog($ENV{PVE_LOG_ID} || 'pmgsh');
my ($text, $line, $start) = @_;
my $prefix = substr($line, 0, $start);
- if ($prefix =~ /^\s*$/) { # first word (command completeion)
+ if ($prefix =~ /^\s*$/) { # first word (command completion)
$attribs->{completion_word} = [qw(help ls cd get set create delete quit)];
return $term->completion_matches($text, $attribs->{list_completion_function});
}
recipient=testspf\@maurer-it.com
_EOD
-# we currently hav no backup mx, so we can't test this
+# we currently have no backup mx, so we can't test this
#gltest ($data_ok, $testtime, 'dunno'); # mail from backup mx
$testdomain = "openspf.org"; # rejects everything