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/cur/1:2, expected/cur/1:2, <<-EOF
 5	From: Jürgen Jörgsen <juergen@example.com>
 6	Subject: New Message
 7	Date: Thu, 23 Mar 2023 15:42:23 +0200
 8	Message-Id: <EOH1F3NUOY.2KBVMHSBFATNY@example.org>
 9
10	This message is new, i.e. not in the archive yet.
11EOF
12
13run_test