notmuch-lore icon indicating copy to clipboard operation
notmuch-lore copied to clipboard

message delivery doesn't follow maildir rules

Open jnikula opened this issue 10 months ago • 1 comments

One of the main points of maildir is to avoid locking. New messages should be written to tmp (where they are ignored by MUAs) and then moved to new.

The script has https://github.com/wkz/notmuch-lore/blob/master/pre-new#L41

$git show $sha:m >$db/$1/new/$sha

Instead, it should write to tmp and mv to new.

jnikula avatar Jan 14 '25 16:01 jnikula

TIL! Thanks 👍

If you want this fixed ASAP, I would happily accept a PR for it.

wkz avatar Jan 20 '25 12:01 wkz