{% extends "layout.html" %} {% from "macros/msg_handlers.html" import domain_ownership_msg_handler with context %} {% block title %}{{ _('Domain ownership verification') }}{% endblock %} {% block navlinks_system %}class="active"{% endblock %} {% block main %} {# Show system message #} {{ domain_ownership_msg_handler(msg) }}

{{ _('Domain ownership verification') }}

{{ _('Please verify mail domains listed below, to ensure that it is an valid domain and you have the required privileges in the domain to manage the email services. Mail services are disabled for pending domains, and will be enabled automatically after verified.') }}

{{ _('To verify domain ownership, please choose one of methods listed below:') }}

  • {{ _('Create a text file under top directory of your web site, both file name and file content must be same as verify code') }}
  • {{ _('Create a TXT type DNS record of the domain name, use the verify code as its value') }}
{% if session.get('is_global_admin') %} {% endif %} {% if ownership_verify_codes %} {% for r in ownership_verify_codes %} {% if r.alias_domain %} {% set verify_domain = r.alias_domain |e |lower %} {% else %} {% set verify_domain = r.domain |e |lower %} {% endif %} {% set verify_code = r.verify_code |e %} {% set tip_http = 'http://' + verify_domain + '/' + verify_code %} {% set tip_https = 'https://' + verify_domain + '/' + verify_code %} {% set tip_dns = 'nslookup -type=txt ' + verify_domain %} {% set tooltip = "
    " + "
  • " + _('Visit URLs below with a web browser should display verify code as page content:') + ' ' + '
    ' + tip_http + '
    ' + '
    ' + '
    ' + tip_https + '
    ' + '
  • ' + "
  • " + _('DNS query result should contain the verify code:') + '
    ' + tip_dns + '
  • ' + "
" %} {% if session.get('is_global_admin') %} {% endif %} {% endfor %} {% else %} {% endif %}
{{ _('Domain') }} {{ _('Verify code') }}{{ _('Admin') }}{{ _('Last verify status') }} {{ _('Last verify time') }}
{{ verify_domain }} {{ verify_code |e }}{% if r.admin %}{{ r.admin |e }}{% endif %}{% if r.message %}{{ r.message |e }}{% endif %} {% if r.last_verify %}{{ r.last_verify |set_datetime_format | utc_to_timezone(timezone=session['timezone']) }}{% endif %}
{{ _('No pending mail domain ownership verification.') }}
{% if ownership_verify_codes %} {% endif %}
{% endblock main %}