[Dovecot] Using procmail to mark messages as read in dovecot

Robert Schetterer rs at sys4.de
Mon Aug 19 10:45:57 EEST 2013


Am 19.08.2013 01:53, schrieb LuKreme:
> So, I use procmail extensively, and I have for a long time, but marking messages as 'read' in a Maildir has always been a little wonky:
> 
> TRAP='mv "$LASTFOLDER" "${LASTFOLDER}:2,S"'
> 
> Since I've switched to dovecot, is there a way to mark a message on delivery as read or not new or seen? 
> 

perhaps this helps

http://www.gyford.com/phil/writing/2010/07/02/sieve-filters.php

# File messages from a mailing list I never get round to reading,
# and mark them as read so I don't feel guilty.
if header :contains ["From"] "mailinglist at example.com" {
    setflag "\\Seen";
    fileinto "FolderName/MailboxName";
    stop;
}



http://wiki.dovecot.org/LDA/Sieve#Flagging_or_Highlighting_your_mail
http://tools.ietf.org/html/draft-ietf-sieve-imapflags-05

Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein


More information about the dovecot mailing list