Re: sequence numbers mismatch
Sergey Poznyakoff <[email protected]> Wed, 13 Jan 2021 16:27:04 +0200
| Newsgroups | gmane.comp.gnu.mailutils.bugs |
|---|---|
| Organization | GNU.org.ua |
| Message-ID | <[email protected]> |
Jordi Mallach <[email protected]> ha escrit: > I believe this is the same bug report that just got filed in Debian: The two have nothing in common. > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980042 Can't reproduce it. Attached is the minimal script that attempts to reproduce the claimed behavior. It creates a mailbox mbox1 with one message and attempts to move mail from it to mbox2 using movemail. The sizes of each mailbox before and after movemail are printed using wc. Here's what I get running it: sh t980042.sh movemail.mailutils (GNU Mailutils) 3.11.1 Copyright (C) 2007-2021 Free Software Foundation, inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. # Original mailbox: 6 18 124 /tmp/mail1 # Original mailbox after move: 0 0 0 /tmp/mail1 # New mailbox: 9 23 188 /tmp/mail2 Regards, Sergey
t980042.sh
(text/x-shellscript, 418 B)
#!/bin/sh
: ${MOVEMAIL:=/usr/bin/movemail.mailutils}
set -e
$MOVEMAIL --version
cat > /tmp/mail1 <<EOF
From [email protected] Wed Jan 13 14:11:22 2021
From: <[email protected]>
To: <[email protected]>
Subject: bug? 980042?
Is it a bug?
EOF
echo "# Original mailbox:"
wc /tmp/mail1
$MOVEMAIL /tmp/mail1 /tmp/mail2
echo "# Original mailbox after move:"
wc /tmp/mail1
echo "# New mailbox:"
wc /tmp/mail2
rm /tmp/mail[12]