Hello, I don't now wheather this is IMAP or actually dovecot-specific, but I hope you people here knows about this at least: Where are flags like seen/unseen or e.g. message-priority stored? My goal is to mark spam or other filtered by procmail as "seen", so that dovecot doesn't notify MUAs about new mail in IDLE mode. Are there any mail-headers, so I can set these with procmail to accomplish that? Thanks for help, A
On Tue, 2005-01-04 at 21:06 +0100, Adam Pordzik wrote:> I don't now wheather this is IMAP or actually dovecot-specific, but I > hope you people here knows about this at least: Where are flags like > seen/unseen or e.g. message-priority stored?This is mail store specific. With maildir the seen flag is stored in maildir file name (http://cr.yp.to/proto/maildir.html), with mbox it's stored in R flag in Status-header. I don't know what you mean by message priority. That's most likely a client-specific variable which is never even sent to IMAP server.> My goal is to mark spam or other filtered by procmail as "seen", so that > dovecot doesn't notify MUAs about new mail in IDLE mode.It doesn't matter if message is seen or not, Dovecot still notifies client. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050106/ef7bb88b/attachment-0001.bin>
Hello Timo,> This is mail store specific. With maildir the seen flag is stored in > maildir file name (http://cr.yp.to/proto/maildir.html), with mbox it's > stored in R flag in Status-header.Like "Status: RO" in Header? Hmm. I tried setting all Messages in my INBOX as read, but grepping for this "grep '^Status:' /vat/mail/adam" only returned "Status: RO".> I don't know what you mean by message priority. That's most likely a > client-specific variable which is never even sent to IMAP server.Of course it it, also on wire: I meant the "SPAM-Priority-Flags" ;-). Formerly, at least, I often could identify Spam just by checking for this flags, beeing either "high", or "low" for spam but never used for normal mail. :-) How this flags are called "officially"?>> My goal is to mark spam or other filtered by procmail as "seen", so that >> dovecot doesn't notify MUAs about new mail in IDLE mode. > > It doesn't matter if message is seen or not, Dovecot still notifies > client.And (how) can I prevent dovecot from doing so? A --