I'm running my own mail server. When I had my Android mail client to keep an active connection I had quite high battery usage. So I set to check for new mails at an hourly interval.

Now I discovered the setting "imap_idle_notify_interval" and that its default value is 2 minutes 🧐

I set this now to 60mins (Internet says the RFC defines the max at 29mins🤔🤷) and it seems to be fine now on my Android client.

#Dovecot #mailserver #IMAP #IMAPIdle #Android #BatteryUsage

📬 Bao hóa email tự chủ - Cách giải quyết vấn đề bHuman-readable timestamp với fetchmail và Dovecot? Người viết tìm MDAs có hook post-delivery để điều chỉnh thời gian email mới. Dinguém dùng imapsync để tránh việc đồng tự định kỳ, mong dùng IMAP Idle để nhận email thuopposed. Tách tags: #selfhosted #email #fetchmail #dovecot #post-delivery #timestamp #IMAPIdle

https://www.reddit.com/r/selfhosted/comments/1o5t2y2/selfhosted_mail_storage_2/

A few months ago, I wrote an article about how to use a Dovecot plugin to give yourself push email on iOS devices: https://colincogle.name/blog/dovecot-with-apple-push/

Well, thanks to @[email protected] and countless GitHub users — i.e., https://github.com/freswa/dovecot-xaps-daemon/issues/43 — I regret to inform you all that the XAPPLEPUSHSERVICE concept might be dead.

This project relied on using macOS Server’s API’s to request a certificate for the Apple Push Notification Service, so that one could send yourself notifications. Well, macOS Server died a long time ago, configurations evolved into MDM profiles (which, honestly, are easier), and the certificate API was deprecated and then disabled last autumn to little fanfare.

Is there any hope for push IMAP on iOS in the future? Only time will tell. If you have a valid certificate, XAPSd will keep working until it expires, but after that, who knows? I might have to go back to fetching my email!

(Oh, and if it works for you, don’t upgrade to Dovecot 2.4. I wasted an evening migrating and unmigrating my config files.)

If anyone knows anyone at Apple, please let me know how to complain to something that’s not a feedback form.

#SelfHosted #Dovecot #PushEmail #Apple #iOS #iPadOS #macOS #macOSServer #IMAP #IMAPIdle #sysadmin #email #Apple #APNS #ApplePushNotificationService

Push Comes to Dove’

By adding a few things to your Dovecot IMAP server, you can have instant new mail notifications on your Apple devices.

Colin Cogle