mail/postfix: change model field type for relay_host (#655)

This commit is contained in:
Michael
2018-04-18 11:36:36 +02:00
committed by Franco Fichtner
parent 4de794f09a
commit 66ab992079
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
PLUGIN_NAME= postfix
PLUGIN_VERSION= 1.1
PLUGIN_VERSION= 1.2
PLUGIN_COMMENT= SMTP mail relay
PLUGIN_DEPENDS= postfix-sasl
PLUGIN_MAINTAINER= m.muenz@gmail.com
@@ -1,7 +1,7 @@
<model>
<mount>//OPNsense/postfix/general</mount>
<description>Postfix configuration</description>
<version>1.1.0</version>
<version>1.2.0</version>
<items>
<enabled type="BooleanField">
<default>0</default>
@@ -60,8 +60,10 @@
<encrypt>encrypt</encrypt>
</OptionValues>
</smtpclient_security>
<relayhost type="HostnameField">
<relayhost type="TextField">
<Required>N</Required>
<mask>/^([0-9a-zA-Z.:\-\[\]]){1,64}$/u</mask>
<ValidationMessage>Only 64 of the following characters are allowed: 0-9a-zA-Z.:-[]</ValidationMessage>
</relayhost>
<smtpauth_enabled type="BooleanField">
<default>0</default>