[Dovecot] set \Seen flag on mail
Tom Hendrikx
tom at whyscream.net
Wed Mar 4 13:31:13 EET 2009
J.P. Trosclair schreef:
> I'm looking for a way to set the \Seen flag on certain mail no matter
> what. Currently I'm using a global sieve script to do this. From what
> I've read, there is no way to enforce the global script if the user
> creates their own sieve script.
>
> More details:
>
> I have a postfix transport that along with sender_bcc_maps and
> recipient_bcc_maps uses deliver to create a read only archive of user's
> mail. The mail intended to be archived is stored in a per user imap
> folder called "Archives" that uses the ACL plugin to make the messages
> there read only. In addition to that, I want the mail marked as \Seen
> upon delivery so that user's who subscribe to the Arhives folder don't
> see new mail indications and what not when mail is delivered there.
>
> Is there a better way to set the \Seen flag other than the global sieve
> script since it can be overridden by the user?
>
Since you can separate delivery at the MTA level with *_bcc_maps, you
could also make sure that the archive copy of e-mails doesn't touch
delivery settings of your regular user, but uses a separate archive user.
--
Regards,
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20090304/3874194f/attachment.bin
More information about the dovecot
mailing list