{% extends 'default.html' %} {% set active_page = "directory" %} {% block title %} Directory {% endblock %} {% block default_content %}

Directories

{% if not current_user.is_premium() %} {% endif %}
{% for dir in dirs %}
{{ dir.name }}
{% if dir.disabled %}
⚠️ On-the-fly alias creation is disabled, you can't create new aliases with this directory.
{% endif %} Created {{ dir.created_at | dt }}
{{ dir.nb_alias() }} aliases.

Mailboxes:
{% set dir_mailboxes=dir.mailboxes %}
{% endfor %}
{{ new_dir_form.csrf_token }}

New Directory

You can create up to {{ current_user.directory_quota }} directories.
{{ new_dir_form.name(class="form-control", placeholder="my-directory", pattern="[0-9a-z-_]{3,}", title="Only letter, number, dash (-), underscore (_) can be used. Directory name must be at least 3 characters.") }} {{ render_field_errors(new_dir_form.name) }}
Directory name must be at least 3 characters. Only lowercase letters, numbers, dashes (-) and underscores (_) are currently supported.
By default, aliases created with directory are "owned" by your default mailbox {{ current_user.default_mailbox.email }}.
You can however choose the mailbox(es) that new alias automatically belongs to by setting this below option.
{% endblock %} {% block script %} {% endblock %}