]> git.proxmox.com Git - pmg-api.git/commitdiff
followup: indentation and description improvement
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 10 Jan 2020 10:43:14 +0000 (11:43 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 10 Jan 2020 10:44:06 +0000 (11:44 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Originally-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PMG/API2/Transport.pm
src/PMG/Config.pm

index d35ccc3bb030ecbc025bc642a8e7f2158b55c6bf..6a370fe175a357422ba921b32d35aab28f3e0de1 100644 (file)
@@ -77,7 +77,7 @@ __PACKAGE__->register_method ({
            protocol => {
                description => "Transport protocol.",
                type => 'string',
-           enum => [qw(smtp lmtp)],
+               enum => [qw(smtp lmtp)],
                default => 'smtp',
                optional => 1,
            },
index fac87df6e7cf1ef77cda401ba4a714c3e4e60184..0d9c65eb2a87713d6314af0546d92ad37a5e98d6 100755 (executable)
@@ -487,14 +487,14 @@ sub properties {
            default => 'smtp',
        },
        relayport => {
-           description => "Transport port number for relay host.",
+           description => "SMTP/LMTP port number for relay host.",
            type => 'integer',
            minimum => 1,
            maximum => 65535,
            default => 25,
        },
        relaynomx => {
-           description => "Disable MX lookups for default relay (SMTP).",
+           description => "Disable MX lookups for default relay (SMTP only, ignored for LMTP).",
            type => 'boolean',
            default => 0,
        },