Lars Ingebrigtsen writes: > Philip Kaludercic writes: > >>From time to time I get error messages like >> >> nnmaildir--article-set-flags: Couldn’t find article file >> /home/philip/Mail/Pers/Sent/cur/1631002186.M670797P704685Q0.icterid:2,S >> >> when trying to send a message. > > I don't use nnmaildir myself (and I'm not familiar with how maildir > works, really). Can you propose a patch to fix this yourself? :-) I found out that the issue is not the UID, but the flags. Specifically, when I open a message via Gnus, leave it open for a while, perhaps check the message on my phone or some other device, and then return to Gnus, it might have happened that the flags (included in the file-name) were updated by mbsync. This patch attempts to find a similar file, and renames that file instead of the one Gnus remembered. It seems to be working for now, but I'd wait a bit until I had more time to test it before applying it: