Tip of the Day: Child-folder-only IMAP folders

Maybe this is actually documented somewhere, but I had trouble finding it even though I have fun reading through RFCs. So maybe this is actually Dovecot-specific, but it wouldn’t shock me if other IMAP servers behaved the same way.

The problem statement: I wanted to have a folder under my inbox, with subfolders under it, but the parent folder not able to accidentally have mail items in it. So, a structure like:

  • INBOX
    • Receipts
      • Archived
      • Still to deal with

Where the “Receipts” folder was only a container of subfolders, but it couldn’t have its own items inside. I could tell that IMAP supported this concept with a \Noselect attribute that folders could have, but it wasn’t clear to me how to just make a folder like that without specific server configuration to try to set up regular folders that way.

But it actually ended up being simple: When creating the folder, just put the path separator (/ in my case) at the end of the name. I was playing around with a raw IMAP connection trying it, but it turns out that I can just do it in, say, Thunderbird directly by just requesting the new folder name to be “Receipts/” instead of “Receipts“.

The only “spec” I could find describing this behavior, in either IMAP 4rev1 or IMAP 4rev2, is the confusing sentence that “If the mailbox name is suffixed with the server’s hierarchy separator character (as returned from the server by a LIST command), this is a declaration that the client intends to create mailbox names under this name in the hierarchy.” That doesn’t seem to make it clear to me that the intent there is for creating mailbox names under that name but not having the mailbox itself have items, but that’s at least how Dovecot 2.3.19.1 seems to handle it so I’m hoping it’s at least somewhat a standard.

Tip of the Day: Dust is bad for computers

When your computer’s fan seems to be louder and come on more often than usual, it probably means it’s a good idea to open it up and blow the dust out.

Our main living room HTPC, an Intel NUC6i7KYK, was seeming really loud, even when not under load. Looking back, it was clearly one of those things where it must have been getting steadily worse over time, but so gradually that I hadn’t actually noticed just how much louder it was and how much more often the fan was at high speeds than when we first got it. Opening it up and blowing the dust out (and it really didn’t seem like that much dust at the time) substantially improved things.

The CPU was running around 70°C even with no load, and pushing 80°C with the fan on full speed when under load. After blowing out the dust, it’s now around 50°C or even less, and even under load I haven’t seen it over 60°C and the fan is still quiet enough to not really be noticeable. It’s just such a small computer that even just a bit of dust can make a big impact. I clearly should have been monitoring it more carefully, I just hadn’t even thought to do so until it had gotten so bad that we noticed a problem and I started taking measurements.

Tip of the day: Adjust your withholding periodically

So, I just sat down with Microsoft Money, and it says that the government is going to give us a really big refund come the end of the year. Apparently, while becoming a homeowner is expensive, the government tries to make things easier for you by not taxing you on money spent on property taxes or mortgage interest. So, I just filled out another W-4 and intend to give it to our Personnel department tomorrow.

So, this is just a reminder to fill out a new withholding worksheet when your life circumstances change. You just may end up with a bigger paycheck.