mail/postfix: change FieldType of destination (#480)

This commit is contained in:
Michael
2018-01-11 11:43:03 +01:00
committed by Franco Fichtner
parent 825eafb9e8
commit 32f7f48f9c
2 changed files with 4 additions and 2 deletions
@@ -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>