mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
mail/postfix: change FieldType of destination (#480)
This commit is contained in:
+1
-1
@@ -15,6 +15,6 @@
|
||||
<id>domain.destination</id>
|
||||
<label>Destination</label>
|
||||
<type>text</type>
|
||||
<help>Set the IP or FQDN to where to send the mails to. Empty means MX will be used.</help>
|
||||
<help>Set the IP or FQDN to where to send the mails to. Empty means MX will be used. You can also add custom ports via :225 or disable MX lookup via squared brackets.</help>
|
||||
</field>
|
||||
</form>
|
||||
|
||||
@@ -13,9 +13,11 @@
|
||||
<default></default>
|
||||
<Required>Y</Required>
|
||||
</domainname>
|
||||
<destination type="NetworkField">
|
||||
<destination type="TextField">
|
||||
<default></default>
|
||||
<Required>Y</Required>
|
||||
<mask>/^([0-9a-zA-Z.:\-\[\]]){1,64}$/u</mask>
|
||||
<ValidationMessage>Only 64 of the following characters are allowed: 0-9a-zA-Z.:-[]</ValidationMessage>
|
||||
</destination>
|
||||
</domain>
|
||||
</domains>
|
||||
|
||||
Reference in New Issue
Block a user