diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2016-03-09 15:04:20 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2016-03-09 15:04:20 +0100 |
commit | c5468b4a598afa09d8e4c0d8e46ab44cca1e9c60 (patch) | |
tree | 4baa87288fd982e87e82314f997e9c906493a915 | |
parent | 6bf9ee9a1e1c704490489f682dfe106f2c1ee46a (diff) |
pullimap: purge old messages every 12h.
-rwxr-xr-x | pullimap | 2 | ||||
-rw-r--r-- | pullimap.1 | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -236,7 +236,7 @@ sub purge() { unless ($days == 0) { my $now = time; - return if defined $LAST_PURGED and $now - $LAST_PURGED < 6*3600; # purge every 6h + return if defined $LAST_PURGED and $now - $LAST_PURGED < 43200; # purge every 12h $LAST_PURGED = $now; my @now = gmtime($now - $days*86400); @@ -116,7 +116,7 @@ criterion ignoring time and timezone.) If \fIpurge\-after\fR is set to \(lq0\(rq then messages are deleted immediately after delivery. Otherwise \fBPullIMAP\fR issues an IMAP SEARCH command to list old messages; if \fB\-\-idle\fR is set then the -SEARCH command is issued again every 6 hours. +SEARCH command is issued again every 12 hours. .TP .I type |