archive-mail

Maintains maildir archives synced with current maildirs

git clone https://git.8pit.net/archive-mail.git

 1#!/bin/sh
 2. "${0%/*}/common.sh"
 3
 4add_mail current/new/1:2, archive/cur/1:2, expected/new/1:2, <<-EOF
 5	From: Hans Acker <hans@example.com>
 6	Subject: Moved from cur/ to new/
 7	Date: Thu, 23 Mar 2023 15:42:23 +0200
 8	Message-Id: <EOH1F3NUOY.2KBVMHSBFATNY@example.org>
 9
10	This message has been moved from cur/ to new/.
11EOF
12
13run_test