Feature #54

Added by cwarden-xerus-org - 584 days ago. Updated 176 days ago.

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.

History

03/03/2008 11:23 AM - John Goerzen

  • Status changed from New to Assigned

Also available in: Atom PDF