diff --git a/imageroot/actions/configure-module/validate-input.json b/imageroot/actions/configure-module/validate-input.json index ac5a988b..b9601a06 100644 --- a/imageroot/actions/configure-module/validate-input.json +++ b/imageroot/actions/configure-module/validate-input.json @@ -27,7 +27,7 @@ "title": "Initial mail domain", "description": "Create the first mail domain with default values. Ignored if the module was already configured.", "minLength": 1, - "format": "idn-hostname", + "format": "hostname", "pattern": "\\." }, "hostname": { @@ -35,7 +35,8 @@ "title": "Mail host name", "description": "Host name used as SMTP/HELO and for the TLS certificate", "minLength": 1, - "format": "idn-hostname" + "format": "hostname", + "pattern": "\\." } } } diff --git a/imageroot/validator-definitions.json b/imageroot/validator-definitions.json index 316e49d4..ce4926cb 100644 --- a/imageroot/validator-definitions.json +++ b/imageroot/validator-definitions.json @@ -124,7 +124,7 @@ "domain": { "title": "Mail domain", "description": "The standard-compliant domain name", - "format": "idn-hostname", + "format": "hostname", "pattern": "\\." }, "addusers": { @@ -303,7 +303,7 @@ "domain": { "type": "string", "title": "Address domain part", - "format": "idn-hostname", + "format": "hostname", "pattern": "\\." }, "local": { diff --git a/ui/public/i18n/en/translation.json b/ui/public/i18n/en/translation.json index 92cb322f..fe40a0f1 100644 --- a/ui/public/i18n/en/translation.json +++ b/ui/public/i18n/en/translation.json @@ -118,7 +118,10 @@ "no_domain_configured": "No user domain configured", "no_domain_configured_description": "Please configure a user domain first", "go_to_domains_and_users": "Go to Domains and users", - "mail_domain_pattern": "Invalid domain" + "hostname_pattern": "Must be a valid fully qualified domain name", + "hostname_format": "Must be a valid fully qualified domain name", + "mail_domain_pattern": "Must be a valid fully qualified domain name", + "mail_domain_format": "Must be a valid fully qualified domain name" }, "domains": { "title": "Domains", @@ -138,7 +141,6 @@ "delete_domain": "Delete domain", "delete_domain_confirm": "Delete domain {name}?", "delete_domain_explanation": "All associated email addresses will be deleted as well. However, all email messages received and sent by this domain will be preserved.", - "domain_pattern": "Invalid domain", "required_if_accept_unknown_recipients": "Required if \"Accept unknown recipients\" is enabled", "required_if_copy_inbound_messages": "Required if \"Copy inbound messages\" is enabled", "bccaddr_format": "Invalid email format", @@ -152,7 +154,12 @@ "configure_dkim_for_domain": "Configure DKIM for {domain}", "dkim_txt_record_description": "Create the TXT record required by DKIM at your {domain} DNS service provider by choosing one of the following procedures", "dkim_txt_record_key_procedure": "Set default._domainkey as record key and paste the record data", - "dkim_txt_record_raw_procedure": "Paste the full TXT record in raw form" + "dkim_txt_record_raw_procedure": "Paste the full TXT record in raw form", + "domain_pattern": "Must be a valid fully qualified domain name", + "domain_format": "Must be a valid fully qualified domain name", + "mail_domain_already_exists": "Domain already exists", + "catchall_mailbox_not_found": "Catchall mailbox not found", + "domain_not_found": "Domain not found" }, "addresses": { "title": "Addresses",