Re: imapsync permission denied, shared folder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Cyrus allows sharing of folders. A user can allow other users to acces  
its mailbox with acls. Also the Admin can create folders that belong  
to no user but can be accesed by other users.

If you have admin acces you can use cyradm (in most cases "cyradm -u  
cyrus localhost") to view the folder structure

"lm" will list the mailboxes

all folders below "user" belong to an user. user.aaa will be the INBOX  
of user aaa. All other mailboxes not under "user" are Shared Folders.
Depending on you Namespace configuration the user will see mailboxes  
form other user in an folder "Other Users" and shared folders in an  
folder "Shared Folders".

Users don't normaly have the permissions to write to shared folders.
You must exclude "Shared Folders" and "Other users" from imapsync, or
create the Folder "membership" as admin and allow the user to put mails
in the Folder. You should remove the writepermission after migration


Regards

        Michael Menge



Quoting brian <cyruslist@xxxxxxx>:

> I'm moving some accounts to a new server using imapsync and have just
> encountered an error with one account. The script attempted to create a
> sub-folder and failed:
>
> -- snip --
>  From Folder [Shared Folders.membership]
> To   Folder [Shared Folders.membership]
> To   Folder Shared Folders.membership does not exist
> Creating folder [Shared Folders.membership]
> Couldn't create [Shared Folders.membership]580 NO Permission denied
> -- snip --
>
> Now, the thing is, there is no directory with that name in this user's
> spool directory on the source server. Given the name, I'm guessing it
> resides elsewhere. Where/how is imapsync finding this "Shared Folders"
> directory? Can anyone think of a reason i'm seeing this?
>
> Obviously, I'm not a mail professional.
>
> imapsync \
> --buffersize 8192000 --subscribe --syncinternaldates \
> --ssl1 --ssl2 --noauthmd5 \
> --authmech1 PLAIN --authmech2 CRAM-MD5 \
> --host1 mail.SOURCE.org --port1 993 \
> --user1 USER@xxxxxxxxxx --password1 xxxxxx \
> --host2 mail.TARGET.org --port2 993 \
> --user2 USER@xxxxxxxxxx --password2 xxxxxx --delete2
>
> b
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>



--------------------------------------------------------------------------------
M.Menge                                 Tel.: (49) 7071/29-70316
Universitaet Tuebingen                  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung          mail:  
michael.menge@xxxxxxxxxxxxxxxxxxxx
Waechterstrasse 76
72074 Tuebingen

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux