From d74fecf56b12867fc6b3e13f2d733b31d7a6e8da Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sun, 26 Mar 2023 17:10:32 +0200 Subject: [PATCH] config schema: add missing whitespace and fix concat style Signed-off-by: Thomas Lamprecht --- src/PMG/Config.pm | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/PMG/Config.pm b/src/PMG/Config.pm index ca9b5dd..d49e768 100755 --- a/src/PMG/Config.pm +++ b/src/PMG/Config.pm @@ -526,13 +526,12 @@ sub properties { default => 0, }, smarthost => { - description => "When set, all outgoing mails are deliverd to the specified smarthost.". - "(postfix option `default_transport`)", + 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.". - "(postfix option `default_transport`)", + description => "SMTP port number for smarthost. (postfix option `default_transport`)", type => 'integer', minimum => 1, maximum => 65535, @@ -667,21 +666,20 @@ sub properties { default => 0, }, verifyreceivers => { - 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`)", + 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 (postfix option ". - "`postscreen_dnsbl_sites`).", + 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 (postfix option `postscreen_dnsbl_threshold`).", + 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.39.5