mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
mail/postfix: change model field type for relay_host (#655)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user