cyrusimap / cyrus-imapd

Cyrus IMAP is an email, contacts and calendar server
http://cyrusimap.org
Other
524 stars 145 forks source link

Support floating point values and suffixes for "expire-days" #1293

Closed brong closed 13 years ago

brong commented 13 years ago

From: Øyvind Kolbu Bugzilla-Id: 3430 Version: 2.5.x (next) Owner: Bron Gondwana

brong commented 13 years ago

From: Øyvind Kolbu

cyr_expire should support higher granularity than just N days, and this patch adds support for specifying floating point values instead of entire days. The patch also allows specifying suffixes for days (d), hours (h), minutes (m) and seconds(s).

At the University of Oslo we use this to redeliver mails from our shadow copy of all incoming mails, in case users have written bad sieve filters or accidentally deleted mails. Before the redelivery, cyr_expire is run to clear the duplicate database for entires older than the newest mail to be redelivered.

brong commented 13 years ago

Attachment-Id: 1368 From: Øyvind Kolbu Type: text/plain File: 0002-Support-floating-point-values-and-suffixes-for-expir.patch

Patch against master

brong commented 13 years ago

Attachment-Id: 1369 From: Øyvind Kolbu Type: text/plain File: 0003-Remove-unused-file-imap-delivered_prune.c.patch

Remove unused file

brong commented 13 years ago

From: Bron Gondwana

Seriously - have you considered running up a git repository somewhere and just pointing us at your commits? You're doing some great stuff!

brong commented 13 years ago

From: Jeroen van Meeuwen (Kolab Systems)

cyrusimap.org could offer user-specific git repositories FYI.

brong commented 13 years ago

From: Bron Gondwana

In 2.4.9beta2