]> git.proxmox.com Git - pmg-api.git/commit
allow for optional 'ipv6:' prefix in transports
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 18 Mar 2020 10:23:43 +0000 (11:23 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 24 Mar 2020 12:30:52 +0000 (13:30 +0100)
commit8e3b0ef15c4dbaf3009932a9f9bb3189bcb7c1a9
tree6f96e7505cdf43b220807c9ce35097fcad1da968
parent256ff1ba5ba2bb3dc8066f43710dd8f7dd674f3c
allow for optional 'ipv6:' prefix in transports

according to the smtp(8) and transport(5) manuals literal ipv6 addresses must
be written as '[ipv6:2001:db8::ff]', in accordance with rfc2821 [0].

Postfix does work irrespective of this prefix (as it has been working until
now), but we should allow for administrators to enter the addresses with the
prefix present.

[0] http://www.postfix.org/IPV6_README.html

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Reviewed-By: Dominik Csapak <d.csapak@proxmox.com>
src/PMG/API2/Transport.pm
src/PMG/Config.pm