Adam Kosmin wrote:
> Does anyone have a strategy for migrating shared folders to dbmail? I'm
> comfortable using imapsync to migrate user mailboxes from cyrus to
> dbmail but am not sure how I'd utilize it for the shared stuff.
> 
> 


imap is your friend.

first retrieve your current ACLs

#>nc yourhost imap
* OK
1 login myuser mypass
1 OK LOGIN completed
2 list "" #*
* LIST () "/" "#Public/Spam"
2 OK LIST completed
3 getacl #Public/Spam
* ACL "#Public/Spam" __public__ lrswipcda anyone lrwipc support lrswipc
3 OK GETACL completed

next set the ACL in your new imap server:

#>nc otherhost imap
* OK
1 login __public__ somepass
2 setacl Spam anyone lrwpic
2 OK SETACL completed
3 setacl Spam support lrswipc
3 OK SETACL completed


Of course, setting the acl in dbmail could easily (easier?) be done with direct
db interaction, but the principle remains: GETACL/SETACL provide a comprehensive
 access-layer.


-- 
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to