TLS policy "next hop" not working due to limitation of the input field

Dec 20, 2018
2
0
41
50
Hi,

i have a problem with tls policies. I need to ensure encryption between the pmg and our internal mail system. So i followed the manual and added a transport for my internal mail system:

1763727512040.png

When i try to add a tls-policy, i only can add an IP-address, but can´t add a port number:
1763727958927.png

But postfix expects the next hop in the notation "[149.233.4.26]:2552" in the /etc/pmg/tls_policy, otherwise the policy will not be respected. If i edit the file manually and add a line like "[1.2.3.4]:2552 verify" the policy works as expected.

So i can´t change the tls policies in the gui, because this overwrites my manual entry.

Is there any solution for this behaviour?

Thanks.