On 15 Apr 2016, at 17:42, Kenneth Ulrich <ulrichkenneth at gmail.com>
wrote:>
> Hello All,
>
> I was wondering if it s possible to remove emails between a time range.
>
> For example, End Users have emails dating back to Aug 2000. He would like
> all emails deleted between the time stamp of 07/2014 to 07/2015 yet keep
> any emails outside of this area.
>
> I've ran into some similar examples, but nothing definite.
I think something like:
doveadm expunge -u user at domain since 2014-07-01 before 2015-07-01
Check first that this looks right:
doveadm fetch -u user at domain date.sent since 2014-07-01 before 2015-07-01