{% extends "hosting/workspace_page.html" %} {% block title %}Import mailbox ยท Coulobre Panel{% endblock %} {% block page_header %}

Import mailbox

{{ mailbox }}

Back to email
{% endblock %} {% block page_content %}
{% if job %}

Import progress

{% if job.finished_at %} {% if job.problem %}Resume import{% else %}Copy new mail{% endif %} {% endif %}

{% if job.finished_at %} {% if job.problem %}{{ job.problem }}{% else %}The copy is complete.{% endif %} {% elif job.phase == "copying" %} Copying messages. You can leave this page and return later. {% elif job.phase == "continuing" %} Waiting to continue from the last checkpoint. {% elif job.phase == "retrying" %} The connection stopped. Coulobre will retry from the last checkpoint. {% elif job.started_at %} Checking the source and destination. {% else %} Waiting for the import worker. {% endif %}

Copied this run
{{ report.copied }}
Previously copied
{{ report.previous }}
Recorded data copied across runs
{{ report.copied_bytes|filesizeformat }}
Folders completed
{{ report.complete }}
Folders with errors
{{ report.failed }}
Elapsed (h:mm:ss)
{{ report.elapsed }}
{% if folders %}
{% for name, folder, copied in folders %} {% endfor %}
Source folderCopied this runPreviously copiedRecorded data copiedFlags skippedStatus
{{ name }} {{ copied }} {{ folder.previously_copied }} {{ folder.copied_bytes|filesizeformat }} {{ folder.omitted_flags }} {% if folder.problem %}{{ folder.problem }}{% elif folder.complete %}Complete{% elif job.finished_at %}Incomplete{% else %}In progress{% endif %}
{% endif %}
{% endif %} {% if preview and not job or preview and job.finished_at %}

Import preview

{% if not preview.finished_at %}

Checking the source and destination. Nothing is being copied.

{% elif preview.problem %}

{{ preview.problem }}

{% else %}
Source
{{ preview.source_user }} at {{ preview.source_host }}
Destination
{{ preview.target_user }}

Source snapshot. These counts include previously copied messages. The import skips messages recorded at its checkpoints.

Folders counted
{{ preview.report.readable }} of {{ preview.report.total_folders }}
Messages in counted folders
{{ preview.report.messages }}
{% if preview.report.incremental %}
Messages after previous checkpoints
{{ preview.report.remaining|default_if_none:"Not available" }}
{% endif %}
Source size
{% if preview.report.bytes is not None %}{{ preview.report.bytes|filesizeformat }}{% else %}Not available{% endif %}
{% if not preview.report.complete %}

This preview is partial. Unchecked or unreadable folders are not included in the totals.

{% endif %}
{% if preview.report.incremental %}{% endif %} {% for folder in preview.report.folders %} {% if preview.report.incremental %}{% endif %} {% endfor %}
Source folderMessagesSource sizeAfter checkpoint
{{ folder.name }} {{ folder.count|default_if_none:"Not available" }} {% if folder.bytes is not None %}{{ folder.bytes|filesizeformat }}{% else %}Not available{% endif %}{{ folder.remaining|default_if_none:"Not available" }}
{% csrf_token %}
{% endif %}
{% endif %} {% if not job or job.finished_at %}
{% csrf_token %}

Coulobre reads the source over TLS on port 993. It does not delete mail or change DNS. Use an app password if your provider requires one.

{% if job %}

Enter the source password to resume a stopped import or copy new messages. Previously copied messages are not copied again.

{% endif %} {{ form.as_div }}
{% endif %}
{% endblock %}