> mhannotate=Resent mhaltmsg=~/Mail/sent/bar mhdist=1 send ~/Mail/drafts/foo
It wouldn't surprise me that the problem is that ~ in mhaltmsg. Is that actually being expanded? If you run send with -debug, do you maybe see a message saying "$mhaltmsg mismatch"? How annotations work is a bit magical. send sees that the 'mhannotate' variable is set, opens a file descriptor and passes that descriptor down to post(8) using the -idanno flag. Post then writes the address information to the anno descriptor (which is a tmp file which has been unlinked) and then send(1) reads that file and uses it to construct the annotation. But there's a check in sendsbr.c:anno() to make sure the stat() information of the filename in mhaltmsg matches what is being passed in as the original filename; that will fail silently without -debug if there is a mismatch. --Ken -- nmh-workers https://lists.nongnu.org/mailman/listinfo/nmh-workers
