this post was submitted on 08 Jul 2024
163 points (96.6% liked)
Linux
48343 readers
412 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The reason I was asking about the folders is that IMAP IDLE only works for one folder at a time. If you want real-time push for 10 folders (for example), it has to open 10 separate IMAP connections. Because of this, clients usually either only enable push for the inbox, or let you choose which folders to enable it for.
Aah, now I understand.
There is no such setting that I'm immediately aware of - but I am automatically getting messages for my folders. So I'm assuming it's doing something in the background: most likely a periodic sync for the entire account.
Definitely doesn't sound like the behavior you wanted, my bad. But, at least there are notifications on the folders once mail is received. 😅
Edit: In the repo for their sync engine it explains:
So the foreground worker only idles on the primary folder, but it does slowly iterate over all folders in the background.
No settings have been added for this functionality (that I'm aware of).
Edit 2: Went back and read your original comment; hadn't noticed the PR was yours. If that's the case then you're probably aware of how the sync works anyway. My bad if I've posted stuff you're already aware of.