On 13-04-14 17:48, KT Walrus wrote:
Thanks.  What should my ACL row look like (what flags should be
set)?

I would have to re-read the RFC I mentioned. I'm guessing you can do
that yourself.

I want the public mailbox to be read-only.  Right now, the only ACL
flags I have set are lookup_flag and read_flag.

looking at:

https://tools.ietf.org/html/rfc4314#page-13

that would sound about right.

If the per message flags are not per user, then I think I would like
all messages in the public mailbox to have the seen_flag set.  How
can I make sure the seen_flag is set?

I’m delivering public messages using this command:

/usr/sbin/dbmail-deliver -u __public__ -M “test_shared" <test.mail

Should I be using IMAP to store and set the seen_flag instead of
dbmail-deliver?  Or, use IMAP to only set the seen_flag?

You can grant a special user the 's' and 'w' rights, and schedule that user to connect and update the flags by issuing:

nc host imap
x login setflagsuser setflagsuserpassword
x select #Public/mailbox
x store 1:* +flags.silent \seen
x store 1:* -flags.silent \recent
x logout

Or, should I just have a job run after delivery to set the seen_flag
in the db for all public mailboxes and public messages?
>
Also, should I have the recent_flag cleared too?

That is probably much faster. You might even use a trigger to do that.


--
________________________________________________________________
Paul J Stevens       pjstevns @ gmail, twitter, github, linkedin
           www.nfg.nl/[email protected]/+31.85.877.99.97
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to