Re: [Dovecot] how to store flags \Seen into read-only mailbox?
24 Jul
2008
24 Jul
'08
7:27 p.m.
This problem is apparently about changeset http://hg.dovecot.org/dovecot-1.1/rev/eec74a6ad62e. This change makes dovecot behaviour different from what is described in wiki, about sharing and making private /Seen flags, see http://wiki.dovecot.org/SharedMailboxes?highlight=(flags are shared or private) When I've tried to revert it, first time with my client it worked perfectly. But then clients were not able to open any mail folders, and imap processes were dying.
Sergey Ivanov.
----- seriv@parkheights.dyndns.org wrote:
Hi, I'm trying to use dovecot for storing mailing lists and read-only access for users. The OS is Solaris, authentication for all readers of these lists are from Ldap through PAM, and one local user "listuser" will receive all mail and store them into it's folders (Maildirs). These maildirs are readable (read-only) for all others and they are shared by setting
mail_location: maildir:/home/vmail/listuser/Maildir:CONTROL=/home/vmail/%u/Maildir/control:INDEX=/home/vmail/%u/Maildir/index
Mail became readable because in each mail folder to be shared there is dovecot-shared with mode 064, and all users included into his group.
But this is the problem: how to have flag \Seen stored in read-only mailbox? As recorded by rawlog, it is ignored now:
bash-3.00# cat 20080724-103219-10616.in 3 namespace 4 lsub "" "*" 5 list "" "INBOX" 6 list "" "Trash" 7 create "Trash" 8 select "OmniTI.FreeLotto.Ops" 9 UID fetch 1:* (FLAGS) 10 uid store 1:3 +Flags (\Seen) 11 IDLE DONE 12 close 13 logout bash-3.00# cat 20080724-103219-10616.out
- OK [RAWLOG TIMESTAMP] 2008-07-24 10:32:19
- NAMESPACE (("" ".")) NIL NIL 3 OK Namespace completed.
- LSUB () "." "OmniTI.FreeLotto.ODS"
- LSUB () "." "OmniTI.FreeLotto.Ops" 4 OK Lsub completed.
- LIST (\HasNoChildren) "." "INBOX" 5 OK List completed. 6 OK List completed. 7 NO Internal error occurred. Refer to server log for more information. [2008-07-24 10:32:19]
- FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
- OK [PERMANENTFLAGS ()] Read-only mailbox.
- 3 EXISTS
- 0 RECENT
- OK [UNSEEN 1] First unseen.
- OK [UIDVALIDITY 1216906857] UIDs valid
- OK [UIDNEXT 4] Predicted next UID 8 OK [READ-ONLY] Select completed.
- 1 FETCH (UID 1 FLAGS ())
- 2 FETCH (UID 2 FLAGS ())
- 3 FETCH (UID 3 FLAGS ()) 9 OK Fetch completed. 10 OK Store ignored with read-only mailbox.
- idling 11 OK Idle completed. 12 OK Close completed.
- BYE Logging out 13 OK Logout completed.
-- Sergey ivanov.
4 Aug
4 Aug
9:03 p.m.
New subject: [Dovecot] how to store flags \Seen into read-only mailbox?
On Jul 24, 2008, at 1:27 PM, seriv@parkheights.dyndns.org wrote:
This problem is apparently about changeset http://hg.dovecot.org/dovecot-1.1/rev/eec74a6ad62e .
OK, changed, see if this helps: http://hg.dovecot.org/dovecot-1.1/rev/b5388b21c4c2
5953
Age (days ago)
5964
Last active (days ago)
1 comments
2 participants
participants (2)
-
seriv@parkheights.dyndns.org
-
Timo Sirainen