Package: offlineimap
Version: 6.0.3
Severity: wishlist

It'd be great if I could flag certain folders such that offlineimap
only synchronises them e.g. once a day, once a week, or every Nth
run. It should not matter whether offlineimap -o is invoked by cron,
or whether the same process sleeps between runs.

I tried to implement this with state files and python magic in the
helper file, but it got very very messy and fragile. Since
offlineimap keeps metadata about each folder anyway, it'll probably
be fairly easy to implement this, once we've agreed on a config
representation.

Maybe a dictionary would be best, mapping folder name to
a frequency representation, e.g.:

  *5                            -> every fifth run
  daily,hourly,weekly,monthly   -> ibid.
  sundays,wednesdays,...        -> ibid.
  1st,3rd,16th,...              -> day of each month

Cheers,

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages offlineimap depends on:
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-support                0.8.7      automated rebuilding support for P

offlineimap recommends no packages.

Versions of packages offlineimap suggests:
pn  python-kerberos               <none>     (no description available)

-- no debconf information


-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to