Virtual mailbox doesn't refresh without deleting indexes

2018-04-26 Thread Bret Martin
Hello, I have a virtual mailbox with the following dovecot-virtual file: mdbox/* -mdbox/Archive/* -mdbox/Junk -mdbox/Notes all younger 604800 not deleted This works at first, but after messages are older than 7 days, they continue to appear in this mailbox forever. Even if I close all IMAP cl

Re: [Dovecot] Marking messages read / retaining date with Sieve

2013-02-12 Thread Bret Martin
On Jan 30, 2013, at 8:39 PM, Ben Morrow wrote: [...] > Mail::IMAPClient (which I usually prefer) will work with a > preauthenticated socket, but you need to create a socketpair explicitly, > fork and exec dovecot/imap with one end of the pair on STDIN/STDOUT, > then pass the other end to Mail::IMA

Re: [Dovecot] Marking messages read / retaining date with Sieve

2013-01-30 Thread Bret Martin
On Jan 30, 2013, at 6:56 PM, Ben Morrow wrote: > I would do this by scripting IMAP access. Perl's Mail::IMAPClient has > explicit support for running dovecot/imap in preauth mode, so you don't > even have to authenticate. Of course, you need a Dovecot user account > with access to all the relevant

[Dovecot] Marking messages read / retaining date with Sieve

2013-01-30 Thread Bret Martin
I'm trying to mark several hundred thousand messages as read as they are delivered via dovecot-lda(1). (I'm importing some mail from another format for migration purposes.) I've been able to do this with Sieve, but it has the side effect that the messages' received and saved dates are set to th

Re: [Dovecot] Overriding inbox= in userdb extra fields

2012-08-03 Thread Bret Martin
On Aug 3, 2012, at 9:59 AM, Timo Sirainen wrote: [...] > Problem 1: The userdb fields need to be prefixed in passwd-file with > "userdb_" prefix, so "userdb_namespace/inbox/inbox=no". Aha! This is what I was missing. The documentation on userdb extra fields even says this, but I missed it even

[Dovecot] Overriding inbox= in userdb extra fields

2012-08-02 Thread Bret Martin
Hello, I'm trying to set up an alternate user with a different inbox using passwd-file and userdb extra fields and the extra field settings don't seem to be taking effect. I've used auth_debug and mail_debug and I'm unclear how I can further troubleshoot this. Is it possible to have inbox=yes