Larry Rosenman
2016-Nov-05 17:03 UTC
How does one mark all messages as read (imap4flag "seen") with sieve?
could your script be modified to use LMTP? On Sat, Nov 5, 2016 at 12:01 PM, Ben Johnson <ben at indietorrent.org> wrote:> On 11/3/2016 10:07 PM, Ben Johnson wrote: > > Hello! > > > > I had hoped that marking all messages that arrive to a specific mailbox > > as read/seen would be as simple as applying the following sieve script > > to all incoming mail for that mailbox user: > > > > ######################## > > require ["imap4flags"]; > > addflag "\\Seen"; > > ######################## > > > > With this script in-place, mail does not appear to be marked as > > read/seen. It arrives as it normally would, and my email client sees it > > as new mail. > > > > Is something more required? Or is it a bug/limitation in my email client? > > > > I've found many examples of "addflag "\\Seen";" on the web, but all of > > them are wrapped in conditional logic of some variety. This is a > > spam-training mailbox and I simply want everything marked as seen/read > > upon arrival so I'm not bothered/notified every time. > > > > Thanks for any pointers here! > > > > -Ben > > > > I had the afterthought that perhaps the problem is that my Antispam > plugin pipe-script simply writes the original message to the filesystem. > It doesn't use dovecot-lda, so the Sieve filters are not being applied. > > I would use dovecot-lda if it didn't sefault with my pipe script. :( > > Will just have to live with making messages read manually, I suppose! > > -Ben >-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: larryrtx at gmail.com US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
Ben Johnson
2016-Nov-05 17:06 UTC
How does one mark all messages as read (imap4flag "seen") with sieve?
On 11/5/2016 1:03 PM, Larry Rosenman wrote:> could your script be modified to use LMTP?That's a very interesting suggestion. Thanks, Larry! My gut feeling is that it will crash (segfault and core-dump) in the same way that dovecot-lda does, but it's worth a shot! (I've posted about my woes with the dovecot-lda crashing issue many times here... nobody seems to have any other ideas. Wish there was an official bug-tracker.) I'll give it a shot and report back! -Ben
Larry Rosenman
2016-Nov-05 17:22 UTC
How does one mark all messages as read (imap4flag "seen") with sieve?
What OS/MTA are you using? Can you give me (privately if you want) a re-hash of the LDA issues? I'm using FreeBSD 10.3 / Exim for my set up and LMTP for ALL deliveries, and it works great. On Sat, Nov 5, 2016 at 12:06 PM, Ben Johnson <ben at indietorrent.org> wrote:> On 11/5/2016 1:03 PM, Larry Rosenman wrote: > > could your script be modified to use LMTP? > > That's a very interesting suggestion. Thanks, Larry! > > My gut feeling is that it will crash (segfault and core-dump) in the > same way that dovecot-lda does, but it's worth a shot! > > (I've posted about my woes with the dovecot-lda crashing issue many > times here... nobody seems to have any other ideas. Wish there was an > official bug-tracker.) > > I'll give it a shot and report back! > > -Ben >-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: larryrtx at gmail.com US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
Reasonably Related Threads
- How does one mark all messages as read (imap4flag "seen") with sieve?
- How does one mark all messages as read (imap4flag "seen") with sieve?
- How does one mark all messages as read (imap4flag "seen") with sieve?
- How does one mark all messages as read (imap4flag "seen") with sieve?
- How does one mark all messages as read (imap4flag "seen") with sieve?