Feature #54
max number of syncs
| Status : | Assigned | Start : | ||
| Priority : | Normal | Due date : | ||
| Assigned to : | John Goerzen | % Done : | 0% |
|
| Category : | Sync | |||
| Target version : | - | |||
| Resolution : |
Description
It would be nice to configure a maximum number of syncs greater than one (-o). Alternatively, if autorefresh could be applied to a list of folders, it would solve the same problem.
I'm running my MUA against Maildir folders synchronized to an IMAP server using OfflineIMAP. I want to sync the INBOX frequently, and the rest of the folders periodically. Right now I'm using a little shell script.
i=1
while [ 1 ]; do
date
if [ $(($i % 100)) -eq 0 ]; then
offlineimap -o -u Noninteractive.Basic
else
offlineimap -o -c ~/.offlineimaprc-inbox -u Noninteractive.Basic
fi
sleep 60
let i=i+1
done
It would be preferable if this functionality were within OfflineIMAP so holdconnectionopen could be used.