1#!/bin/sh
2. "${0%/*}/common.sh"
3
4add_mail current/cur/1:2, archive/cur/1:2, expected/cur/1:2, <<-EOF
5 From: Some One <example@example.com>
6 Subject: Unmodified Message v1
7 Date: Mon, 23 Dez 2313 12:23:42 +0200
8 Message-Id: <RADNE23UOY.2KBVMHSBFATNY@example.org>
9
10 This message is already in the archive.
11EOF
12
13add_mail current/cur/2:2, archive/cur/2:2, expected/cur/2:2, <<-EOF
14 From: Some One <example@example.com>
15 Subject: Unmodified Message v2
16 Date: Mon, 23 Dez 2314 12:23:42 +0200
17 Message-Id: <RADNE23UOY.2KBV29410ATNY@example.org>
18
19 This message is already in the archive.
20EOF
21
22run_test