diff options
Diffstat (limited to 'mda/tests/mda.sh')
-rw-r--r-- | mda/tests/mda.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mda/tests/mda.sh b/mda/tests/mda.sh index 347c3bf5c..332fc1b46 100644 --- a/mda/tests/mda.sh +++ b/mda/tests/mda.sh @@ -1,5 +1,5 @@ # This file is part of GNU Mailutils. -# Copyright (C) 2007-2019 Free Software Foundation, Inc. +# Copyright (C) 2007-2024 Free Software Foundation, Inc. # # GNU Mailutils is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as @@ -18,10 +18,14 @@ INPUT_MSG=$abs_top_srcdir/mda/tests/input.msg dumpmail() { case $MU_DEFAULT_SCHEME in mbox) - sed -e '/^From /d' -e '$d' $1 + sed -e '/^From /d'\ + -e /^X-IMAPbase:/d\ + -e /^X-UID:/d $1 ;; dotmail) - sed -e '/^\.$/d' $1 + sed -e '/^\.$/d'\ + -e /^X-IMAPbase:/d\ + -e /^X-UID:/d $1 ;; mh) sed -e /^X-IMAPbase:/d\ |