Ticket #134 (closed Bug: fixed)

Opened 2 years ago

Last modified 2 years ago

Not able to copy mails to a folder with add only rights

Reported by: dalini Owned by: Cyrus Daboo
Priority: major Milestone: Next
Component: Application Version: v4.0.6
Severity: Serious Keywords: rights
Cc: Operating System: Windows
OS Version: XP

Description

It is not possible to add mails to a mail-folder which has only add rights. (With thunderbird this works)

So basically mulberry can't check the mailbox-folder since it has only the right to add new mails to this folder but nothing more. Instead the folder is marked as not accessible at all, which as a bit anoying, since this should work.

Background for this kind of setup: Shared Ham (NO-Spam) folder amongst several users. Everybody should be able to add mail to this folder, which isn't spam but classified as such. But nobody should be able to read other peoples mail. This works fine with thunderbird and other clients but suprisingly not with mulberry.

Change History

Changed 2 years ago by Cyrus Daboo

  • milestone changed from unassigned to Next

Actually I think the copy operation is succeeded but a subsequent check operation right after does not:

--> #2.-1610551928 Sat Dec 9 14:24:41 2006 A00040 SETACL INBOX.dropbox cyrus lia A00040 OK Completed

--> #6.-1610551928 Sat Dec 9 14:24:46 2006 A00024 COPY 443 INBOX.dropbox A00024 OK Completed

--> #2.-1610551928 Sat Dec 9 14:24:46 2006 A00041 STATUS INBOX.dropbox (MESSAGES RECENT UNSEEN UIDVALIDITY UIDNEXT) A00041 NO Permission denied

Mulberry is coded to automatically do a STATUS (check mail) on a mailbox after copying to it so it can update the message count display etc to reflect the newly copied in messages. In this case the user does not have read access to the mailbox so the STATUS fails. If you tried to use the Check Mail command directly on the mailbox you would see the same thing.

One could argue that the check after copy ought not to generate an error, or at least ought to indicate that the copy worked, but the mailbox could not be checked. I suspect the former is more appropriate for this case and I will see if I can code it that way.

Changed 2 years ago by Cyrus Daboo

  • status changed from new to assigned

Changed 2 years ago by Cyrus Daboo

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.