View Single Post
Old 15 May 2019, 10:25 PM   #12
Join Date: May 2006
Location: Sydney, Australia
Posts: 33
Originally Posted by blurk View Post
But it looks like addflag only works on messages filed to INBOX, because I see no evidence of flags being set on the majority of my messages, which are filed to various mailboxes (based on an elaborate subdomain and address naming convention I have going).
Turns out that the problem was due to my elaborate address naming convention, which gets transformed into plus addressing which FastMail autofiles into existing folders with names matching the plus address components. That happens after the Sieve script, and apparently FastMail had a bug where that behaviour interacted (or more to the point, didn't interact) with all the flag setting in my Sieve script, losing the flags. They're rolling out a fix for this, so I must say thanks to their support team for sorting that very edgy of edge cases out.
blurk is offline   Reply With Quote