mirror of
https://github.com/mjl-/mox.git
synced 2024-12-25 16:03:48 +03:00
5336032088
so users can easily take their email out of somewhere else, and import it into mox. this goes a little way to give feedback as the import progresses: upload progress is shown (surprisingly, browsers aren't doing this...), imported mailboxes/messages are counted (batched) and import issues/warnings are displayed, all sent over an SSE connection. an import token is stored in sessionstorage. if you reload the page (e.g. after a connection error), the browser will reconnect to the running import and show its progress again. and you can just abort the import before it is finished and committed, and nothing will have changed. this also imports flags/keywords from mbox files.
62 lines
2.2 KiB
Text
62 lines
2.2 KiB
Text
From mox Sun Jan 23 20:41:55 2022
|
|
Return-Path: <>
|
|
From: mjl@mox.test
|
|
To: mjl@mox.test
|
|
Subject: hi
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 7bit
|
|
Date: Wed, 10 Nov 2021 23:47:13 +0100
|
|
Message-ID: <12312312-f95c-09ec-97c6-94d124f0932d@mox.test>
|
|
MIME-Version: 1.0
|
|
Status: RO
|
|
X-Status: AFTD
|
|
X-Keywords: $NotJunk,$Forwarded
|
|
Content-Length: 15
|
|
Lines: 3
|
|
|
|
>From testing
|
|
test2
|
|
end
|
|
|
|
From mox Sun Jan 23 21:02:16 2022
|
|
Return-Path: <mjl+thunderbird@c.mox>
|
|
Received: from x1.mox.example ([10.1.1.1]) by x1.a.mox ([10.1.1.1])
|
|
with ESMTP for mjl@a.mox; 23 Jan 2022 21:02 +0100
|
|
Authentication-Results: x1.a.mox; iprev=fail policy.iprev=10.1.1.1;
|
|
dkim=pass header.d=c.mox header.s=2021 header.a=rsa-sha256
|
|
header.i=mjl+thunderbird@c.mox; spf=none smtp.mailfrom=c.mox; dmarc=pass
|
|
header.from=c.mox
|
|
Received-SPF: none client-ip=10.1.1.1;
|
|
envelope-from="mjl+thunderbird@c.mox"; helo=x1.mox.example;
|
|
problem="no\ spf\ txt\ record:\ no\ txt\ record"; received=x1.a.mox;
|
|
identity=mailfrom
|
|
Received: from x1.mox.example by x1.mox.example ([10.1.1.1]) with
|
|
ESMTP for mjl@a.mox; 23 Jan 2022 20:39 +0100
|
|
Authentication-Results: x1.mox.example; auth=pass
|
|
smtp.mailfrom=mjl+thunderbird@c.mox
|
|
DKIM-Signature: v=1; a=rsa-sha256; d=c.mox; s=2021; i=mjl+thunderbird@c.mox;
|
|
t=1642966793; h=From:To:Cc:Bcc:Reply-To:References:In-Reply-To:Subject:Date:
|
|
Message-ID:Content-Type:From:To:Subject:Date:Message-ID:Content-Type;
|
|
bh=jhmPv2Vh8l0Ezw0V1P64SjmGjgfM2tek6qiEL0zehQc=; b=h4NspINb2TA+VkSr+Try4Rz24W
|
|
hor/vjkfX4EyDg6nb0mB4RUlgQiwPrqnjJLLkp9DnUhSuJEwGjMUdRG5160K04c4/KDkzCctj6Bot
|
|
IrOCOJ3yyC4z5wUAdivn4OOZmjq9d5eBEBvbiXFGVesZODzAGLZGAiGuSey+8ap18i1FaiRZeMB7e
|
|
X5tjAMMlxIGU/1eN6xAchpi8/Pww7VBU13rhq3ge4cFo1rhftF8wHBNSehlBqvA6/WYEAMD/4DD7S
|
|
owenI72sQapxo3Yc2EdZ2f/ZYJgKgR5i6WmE6E/sTVZzDJ2eOYIUHwF1bYBeLNM7ITfAAoPotn0KB
|
|
hZpchIQw==
|
|
Message-ID: <405af0b6-71ce-a2bd-ec57-7e320bd0e6e0@c.mox>
|
|
Date: Sun, 23 Jan 2022 20:39:53 +0100
|
|
MIME-Version: 1.0
|
|
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
|
|
Thunderbird/91.4.0
|
|
Content-Language: nl
|
|
To: mjl@a.mox
|
|
From: thunderbird c <mjl+thunderbird@c.mox>
|
|
Subject: test van c
|
|
Content-Type: text/plain; charset=UTF-8; format=flowed
|
|
Content-Transfer-Encoding: 7bit
|
|
Status: RO
|
|
Content-Length: 11
|
|
Lines: 1
|
|
|
|
test van c
|
|
|