Line 1,385: |
Line 1,385: |
| contribs | | contribs |
| org | | org |
| + | ===Dovecot Idle_Notify=== |
| + | Poor battery consumption issues has been reported with K9-mail on recent Android systems. It is apparent one way of helping this is to modify the imap_idle_notify setting. The default is in Dovecot, and therefore on SME is 2 minutes. |
| + | |
| + | K9 has an idle refresh of 24 mins but it seems with Dovecot defaults at 2 mins it causes lots of wake ups and battery drain. |
| + | |
| + | This is configurable via a config db property. |
| + | |
| + | Default on install |
| + | # config show dovecot |
| + | dovecot=service |
| + | Quotas=enabled |
| + | status=enabled |
| + | |
| + | Set dovecot Idle_Notify to 20 minutes |
| + | |
| + | # config setprop dovecot Idle_Notify 20 |
| + | # config show dovecot |
| + | dovecot=service |
| + | Idle_Notify=20 |
| + | Quotas=enabled |
| + | status=enabled |
| + | |
| + | Expand template to update *.conf (can also issue a full reconfigure/reboot) |
| + | |
| + | # expand-template /etc/dovecot/dovecot.conf |
| + | # dovecot -a |grep imap_idle_notify_interval |
| + | imap_idle_notify_interval = 20 mins |
| | | |
| ==qpsmtpd== | | ==qpsmtpd== |