diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-03-10 09:58:45 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-03-10 09:58:45 +0200 |
commit | 0ac52e06cb1cb91602ee4dc4de32f66423e96b32 (patch) | |
tree | 9256c081ddffea363fcf2da1cc9ff4a6d4ee8370 /mh/tests | |
parent | ac1262fb8a5d845c9e16a9679239142d0bf00522 (diff) | |
download | mailutils-0ac52e06cb1cb91602ee4dc4de32f66423e96b32.tar.gz mailutils-0ac52e06cb1cb91602ee4dc4de32f66423e96b32.tar.bz2 |
message_stream: deduce default envelope address from the current user email
* libmailutils/stream/message_stream.c: Unless specified otherwise,
set envelope address based on the current user email.
* mh/tests/burst.at: Remove all X-Envelope headers before comparison.
Diffstat (limited to 'mh/tests')
-rw-r--r-- | mh/tests/burst.at | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/mh/tests/burst.at b/mh/tests/burst.at index 6e6a4f961..2e383a20e 100644 --- a/mh/tests/burst.at +++ b/mh/tests/burst.at @@ -40,16 +40,15 @@ Sergey ]) burst +inbox 1 || exit $? -grep -v ^X-Envelope-Date Mail/inbox/2 -grep -v ^X-Envelope-Date Mail/inbox/3 -grep -v ^X-Envelope-Date Mail/inbox/4 +grep -v ^X-Envelope- Mail/inbox/2 +grep -v ^X-Envelope- Mail/inbox/3 +grep -v ^X-Envelope- Mail/inbox/4 ], [0], [X-Burst-Part: 1 1 01 From: Sergey Poznyakoff <gray@example.net> To: root@example.com Subject: digest -X-Envelope-Sender: gray@example.net Initial text. @@ -57,13 +56,11 @@ X-Burst-Part: 1 2 02 From: Puszcza hackers To: Sergey Poznyakoff <gray@gnu.org> Subject: Hello -X-Envelope-Sender: GNU-Mailutils Greetings --------- How are you? X-Burst-Part: 1 3 00 -X-Envelope-Sender: GNU-MH Regards, Sergey @@ -93,16 +90,15 @@ Sergey ]) burst +inbox --length=7 1 || exit $? -grep -v ^X-Envelope-Date Mail/inbox/2 -grep -v ^X-Envelope-Date Mail/inbox/3 -grep -v ^X-Envelope-Date Mail/inbox/4 +grep -v ^X-Envelope- Mail/inbox/2 +grep -v ^X-Envelope- Mail/inbox/3 +grep -v ^X-Envelope- Mail/inbox/4 ], [0], [X-Burst-Part: 1 1 01 From: Sergey Poznyakoff <gray@example.net> To: root@example.com Subject: digest -X-Envelope-Sender: gray@example.net Initial text. @@ -110,13 +106,11 @@ X-Burst-Part: 1 2 02 From: Puszcza hackers To: Sergey Poznyakoff <gray@gnu.org> Subject: Hello -X-Envelope-Sender: GNU-Mailutils Greetings ----- How are you? X-Burst-Part: 1 3 00 -X-Envelope-Sender: GNU-MH Regards, Sergey |