On Sunday 20 July 2008 20:36:46 Michael Monnerie wrote: > I received this e-mail to my imapsync-howto page, and forward it to the > dbmail mailinglist so all can see the communication. > > ---------- Forwarded message from Stef Bon: ---------- > > Betreff: Question about imapsync. > Datum: Donnerstag, 17. Juli 2008 > Von: Stef Bon <[EMAIL PROTECTED]> > An: [EMAIL PROTECTED] > > Hello, > > I'm using dbmail imapserver, and I have another dbmail server as backup. > > I want to backup serveral emailboxes, but not use the credentials of the > user wich "owns" the box. > > So I create a "backup" user in my dbmail system, and give read access to > all the boxes I want to backup. > > using imapsync: > > imapsync --host1 dbmail1server --user1 sbon --authuser1 > backupuser --password1 xxx \ > --ssl1 --host2 dbmail2server --user2=backupsbon --password2 > xxxx --authmech2 LOGIN --dry >
Ok, forget this message. I've already solved this. My goal was to copy messages from one folder to another folder, without logging in with the original credentials (of the mailowner). I've found a sollition for this, by creating a special "backup" account (admin), which has permissions (acl and subscripton) to read the email. I've done this with the script dbmail_scl.sh. To Paul Stevens: thanks for the sollution. I've already found out myself. finding the exact sollution you propose. Futher I'm working on the dbmail_acl.sh script so that it also support subscription (and setting acls) to other folders than the default INBOX. When ready, I'll upload it to the wiki.. Stef Bon
_______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
