On 8 Aug 2019, at 13:03, Amir Caspi <cepheid at 3phase.com> wrote:> IMHO the setting should apply regardless of protocol, but is that actually the case in practice?It seems to be broken. I have namespace inbox { inbox = yes location mailbox Drafts { special_use = \Drafts } mailbox Junk { autoexpunge = 14 days auto = subscribe special_use = \Junk } ? } and I have messages in my Junk Mail from 16 July 2019 -- I AM ZOMBOR! (kelly) ZOMBOR!
> On 10 Aug 2019, at 3.15, @lbutlr via dovecot <dovecot at dovecot.org> wrote: > > On 8 Aug 2019, at 13:03, Amir Caspi <cepheid at 3phase.com> wrote: >> IMHO the setting should apply regardless of protocol, but is that actually the case in practice? > > It seems to be broken. > > I have > > namespace inbox { > inbox = yes > location > mailbox Drafts { > special_use = \Drafts > } > mailbox Junk { > autoexpunge = 14 days > auto = subscribe > special_use = \Junk > } > ? > } > > and I have messages in my Junk Mail from 16 July 2019Quoting questions from Timo: "1. What's the first mail's saved-timestamp? doveadm fetch -u user date.saved mailbox Junk 1 2. That timestamp should also be the same in dovecot.list.index: doveadm mailbox status -u user firstsaved Junk" can you check that information? Sami
On 12 Aug 2019, at 00:18, Sami Ketola <Sami.Ketola at Open-Xchange.com> wrote:> "1. What's the first mail's saved-timestamp? > doveadm fetch -u user date.saved mailbox Junk 1 > > 2. That timestamp should also be the same in dovecot.list.index: > doveadm mailbox status -u user firstsaved Junk" > > can you check that information?Not for awhile since I manually cleaned out my junk a few days ago. However, messages are moved to Junk almost entirely automatically. One or two outliers, sure, but a bunch of messages over 2 weeks old that have been in junk less than two weeks seems? unlikely.
On Aug 12, 2019, at 12:18 AM, Sami Ketola via dovecot <dovecot at dovecot.org> wrote:> > "1. What's the first mail's saved-timestamp? > doveadm fetch -u user date.saved mailbox Junk 1Well... this is giving me strange results. For myself, when I run this command, I get: [~]# doveadm fetch -u cepheid date.saved mailbox Junk 1 date.saved: 2019-07-15 01:42:56 However, my actual Junk folder shows email from as far back as May 15. I checked this with webmail to ensure it wasn't some problem on my local MUA... this is definitely on the server. And yes, I checked the Received headers to make sure the dates were correctly represented (I didn't trust the Date header alone). HOWEVER... it looks like something is either corrupted or otherwise messed up, because messages #2 and 299 have identical timestamps: [~]# doveadm fetch -u cepheid date.saved mailbox Junk 2 date.saved: 2019-07-25 03:54:14 [~]# doveadm fetch -u cepheid date.saved mailbox Junk 299 date.saved: 2019-07-25 03:54:14 In fact, MANY messages have this same timestamp. I can't find the "true" first message timestamp, but the first one not in July is 107: [~]# doveadm fetch -u cepheid date.saved mailbox Junk 107 date.saved: 2019-05-29 05:57:55 This seems... not right. The results are similarly strange for my other users.> 2. That timestamp should also be the same in dovecot.list.index: > doveadm mailbox status -u user firstsaved Junk"For this I get: [~]# doveadm mailbox status -u cepheid firstsaved Junk Junk firstsaved=1563154976 I can't tell how that timestamp corresponds to a human-readable date, however. Cheers and thanks. --- Amir -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190812/5e50a933/attachment.html>