From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id ED2F01FF16B for ; Thu, 14 Nov 2024 11:10:46 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id CE29E2E02B; Thu, 14 Nov 2024 11:10:48 +0100 (CET) From: Maximiliano Sandoval To: pmg-devel@lists.proxmox.com Date: Thu, 14 Nov 2024 11:10:15 +0100 Message-Id: <20241114101015.107245-1-m.sandoval@proxmox.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.096 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [pmgreport.pm, ldapuser.pm, statistics.pm, config.pm] Subject: [pmg-devel] [PATCH pmg-api] fix some typos in user-visible strings X-BeenThere: pmg-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Mail Gateway development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pmg-devel-bounces@lists.proxmox.com Sender: "pmg-devel" Found with the `typos` CLI tool. Signed-off-by: Maximiliano Sandoval --- src/PMG/API2/Statistics.pm | 8 ++++---- src/PMG/CLI/pmgreport.pm | 2 +- src/PMG/Config.pm | 2 +- src/PMG/RuleDB/LDAPUser.pm | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/PMG/API2/Statistics.pm b/src/PMG/API2/Statistics.pm index 38c8d0c1..02faa046 100644 --- a/src/PMG/API2/Statistics.pm +++ b/src/PMG/API2/Statistics.pm @@ -622,7 +622,7 @@ __PACKAGE__->register_method ({ type => 'integer', }, pregreet_rejects => { - description => "PREGREET recject count.", + description => "PREGREET reject count.", type => 'integer', }, junk_in => { @@ -922,7 +922,7 @@ __PACKAGE__->register_method ({ type => 'integer', }, pregreet_rejects => { - description => "PREGREET recject count.", + description => "PREGREET reject count.", type => 'integer', }, bounces_in => { @@ -1188,11 +1188,11 @@ __PACKAGE__->register_method ({ type => 'integer', }, rbl_rejects => { - description => "RBL recject count.", + description => "RBL reject count.", type => 'integer', }, pregreet_rejects => { - description => "PREGREET recject count.", + description => "PREGREET reject count.", type => 'integer', }, }, diff --git a/src/PMG/CLI/pmgreport.pm b/src/PMG/CLI/pmgreport.pm index 3403e445..959ea8ec 100644 --- a/src/PMG/CLI/pmgreport.pm +++ b/src/PMG/CLI/pmgreport.pm @@ -273,7 +273,7 @@ __PACKAGE__->register_method ({ default => 0, }, receiver => { - description => "Send report to this email address. Default is the administratior email address.", + description => "Send report to this email address. Default is the administrator email address.", type => 'string', format => 'email', optional => 1, }, diff --git a/src/PMG/Config.pm b/src/PMG/Config.pm index cbb127f0..3170241f 100644 --- a/src/PMG/Config.pm +++ b/src/PMG/Config.pm @@ -545,7 +545,7 @@ sub properties { default => 0, }, smarthost => { - description => "When set, all outgoing mails are deliverd to the specified smarthost." + description => "When set, all outgoing mails are delivered to the specified smarthost." ." (postfix option `default_transport`)", type => 'string', format => 'address', }, diff --git a/src/PMG/RuleDB/LDAPUser.pm b/src/PMG/RuleDB/LDAPUser.pm index 345decb4..6da0421f 100644 --- a/src/PMG/RuleDB/LDAPUser.pm +++ b/src/PMG/RuleDB/LDAPUser.pm @@ -177,7 +177,7 @@ sub update { my $ldapcache = PMG::LDAPCache->new( id => $profile, syncmode => 1, %$config); - die "LDAP acoount '$account' does not exist\n" + die "LDAP account '$account' does not exist\n" if !$ldapcache->account_exists($account); $self->{ldapuser} = $account; -- 2.39.5 _______________________________________________ pmg-devel mailing list pmg-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel