Am 09.11.2012 12:38, schrieb Administrator Beckspaced.com: > hello reindl harald, > > thanks a lot for your reply! > > ok ... dbmail_messageblks is obsolete with the newest 3.0.2 package > > new messages will the be stored in dbmail_mimeparts and dbmail_partlists
correct
> can i then still see / receive the old messages in dbmail_messageblks with
> imap 3.0.2 version?
> or are all the messages lost? i suppose it's backward compatible?
you need to read the update-howto
dbmail-util can manage this but it takes VERY long because
also the header-tables have to be cleared and re-created
> what strategy would you recommend doing the update migration from 1.2 to
> 3.0.2 as i really don't want to loose old
> messages!
i personally would setup dbmail3 with only imap
on another port of the machine, configure it to
a new database and write imapsync-skripts from
localhost to localhost
especially because you migrate from !!!dbmail1!!!
> or would a fresh install make more sense and then import the old messages
> from the old database?
> any thoughts on this would be really helpful!
a start would be:
imapsync --host1 localhost --port1 143 --user1 [user1] --password1 [pwd1]
--authmech1 LOGIN --host2 localhost
--user2 [user2] --password2 [pwd2] --port2 144 --authmech2 LOGIN --skipsize
__________________________________
consider "imapsync --help" for the lot of options
i would let run imapsync many times because the first takes much
longer and after that only new messages are transferred and before
switch to the new instance "--delete2" for any account to get rid
of in the meantime deleted messages for your users
to generate a bash script for all accounts should be simple as
long you have cleartext passwords which is mostly the case if
you need CRAM-MD5 with some php/perl/python script reading the
userdatabase and write a imapsync-command per account
--delete2 : delete messages in host2 that are not in
host1 server. Useful for backup or pre-sync.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
