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/new-name:2, archive/cur/old-name:2, expected/cur/new-name:2, <<-EOF
 5	From: Hans Acker <hans@example.com>
 6	Subject: Different file name
 7	Date: Thu, 23 Mar 2023 15:42:23 +0200
 8	Message-Id: <EOH1F3NUOY.2KBVMHSBFATNY@example.org>
 9
10	This message has a new file name.
11EOF
12
13run_test