From: Dominik Csapak <d.csapak@proxmox.com>
To: pmg-devel@lists.proxmox.com
Subject: [pmg-devel] [PATCH pmg-api 1/1] config: extend documentation for options a bit
Date: Fri, 24 Mar 2023 14:30:11 +0100 [thread overview]
Message-ID: <20230324133013.2862297-2-d.csapak@proxmox.com> (raw)
In-Reply-To: <20230324133013.2862297-1-d.csapak@proxmox.com>
add an explanation what the 'advanced statistic filter' are.
add the reference to the postfix options if we have a direct one
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
src/PMG/Config.pm | 36 +++++++++++++++++++++++++-----------
1 file changed, 25 insertions(+), 11 deletions(-)
diff --git a/src/PMG/Config.pm b/src/PMG/Config.pm
index 386df18..ca9b5dd 100755
--- a/src/PMG/Config.pm
+++ b/src/PMG/Config.pm
@@ -63,7 +63,14 @@ sub type {
sub properties {
return {
advfilter => {
- description => "Use advanced filters for statistic.",
+ description => "Enable advanced filters for statistic.",
+ verbose_description => <<EODESC,
+Enable advanced filters for statistic.
+
+If this is enabled, the receiver statistic are limited to active ones
+(receivers which also sent out mail in the 90 days before), and the contact
+statistic will not contain these active receivers.
+EODESC
type => 'boolean',
default => 1,
},
@@ -519,11 +526,13 @@ sub properties {
default => 0,
},
smarthost => {
- description => "When set, all outgoing mails are deliverd to the specified smarthost.",
+ description => "When set, all outgoing mails are deliverd to the specified smarthost.".
+ "(postfix option `default_transport`)",
type => 'string', format => 'address',
},
smarthostport => {
- description => "SMTP port number for smarthost.",
+ description => "SMTP port number for smarthost.".
+ "(postfix option `default_transport`)",
type => 'integer',
minimum => 1,
maximum => 65535,
@@ -587,13 +596,13 @@ sub properties {
default => 0,
},
maxsize => {
- description => "Maximum email size. Larger mails are rejected.",
+ description => "Maximum email size. Larger mails are rejected. (postfix option `message_size_limit`)",
type => 'integer',
minimum => 1024,
default => 1024*1024*10,
},
dwarning => {
- description => "SMTP delay warning time (in hours).",
+ description => "SMTP delay warning time (in hours). (postfix option `delay_warning_time`)",
type => 'integer',
minimum => 0,
default => 4,
@@ -643,31 +652,36 @@ sub properties {
default => 64,
},
helotests => {
- description => "Use SMTP HELO tests.",
+ description => "Use SMTP HELO tests. (postfix option `smtpd_helo_restrictions)",
type => 'boolean',
default => 0,
},
rejectunknown => {
- description => "Reject unknown clients.",
+ description => "Reject unknown clients. (postfix option `reject_unknown_client_hostname`)",
type => 'boolean',
default => 0,
},
rejectunknownsender => {
- description => "Reject unknown senders.",
+ description => "Reject unknown senders. (postfix option `reject_unknown_sender_domain`)",
type => 'boolean',
default => 0,
},
verifyreceivers => {
- description => "Enable receiver verification. The value spefifies the numerical reply code when the Postfix SMTP server rejects a recipient address.",
+ description => "Enable receiver verification. The value spefifies 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`)",
type => 'string',
enum => ['450', '550'],
},
dnsbl_sites => {
- description => "Optional list of DNS white/blacklist domains (see postscreen_dnsbl_sites parameter).",
+ description => "Optional list of DNS white/blacklist domains (postfix option ".
+ "`postscreen_dnsbl_sites`).",
type => 'string', format => 'dnsbl-entry-list',
},
dnsbl_threshold => {
- description => "The inclusive lower bound for blocking a remote SMTP client, based on its combined DNSBL score (see postscreen_dnsbl_threshold parameter).",
+ description => "The inclusive lower bound for blocking a remote SMTP client, based on".
+ "its combined DNSBL score (postfix option `postscreen_dnsbl_threshold`).",
type => 'integer',
minimum => 0,
default => 1
--
2.30.2
next prev parent reply other threads:[~2023-03-24 13:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-24 13:30 [pmg-devel] [PATCH pmg-api/docs] improve documentation Dominik Csapak
2023-03-24 13:30 ` Dominik Csapak [this message]
2023-03-26 15:12 ` [pmg-devel] applied: [PATCH pmg-api 1/1] config: extend documentation for options a bit Thomas Lamprecht
2023-03-24 13:30 ` [pmg-devel] [PATCH pmg-docs 1/2] config: add reference to postfix postconf Dominik Csapak
2023-03-24 13:30 ` [pmg-devel] [PATCH pmg-docs 2/2] administration: add section for statistics Dominik Csapak
2023-03-27 11:32 ` Stoiko Ivanov
2023-03-27 11:59 ` Dominik Csapak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230324133013.2862297-2-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pmg-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox