Discussion:
[Dbmail] changing mailboxes in DB?
Thomas Raschbacher
2018-01-06 10:36:08 UTC
Permalink
hi.

I need to move/ merge a lot of mailboxes and was wondering if i
could/should do it directly in the DB (updating the mailbox_idnr field
is easy, but there's also seq,.. and i assume that should be updated
too?

has anyone done this before?

-- otherwise i guess i'll have to do it through imap which is slower,
but doable since it is only one user and a total of 3721 folders (which
i am trying to get down to a reasonable amount since all webmail clients
go either really slow, or time out)

Regards
Andrea Brancatelli
2018-01-08 09:26:12 UTC
Permalink
seq is just a counter. You just need to increment it every time you
"touch" the mailbox.

You can do whatever you need to do at db level and then just update seq
= seq + 1 on all the target mailboxes.

---

Andrea Brancatelli
Schema31 S.p.a.
Chief Technology Officier

ROMA - FI - PA
ITALY
Tel: +39.06.98.358.472
Cell: +39.331.2488468
Fax: +39.055.71.880.466
Società del Gruppo OVIDIO TECH S.R.L.
hi.
I need to move/ merge a lot of mailboxes and was wondering if i could/should do it directly in the DB (updating the mailbox_idnr field is easy, but there's also seq,.. and i assume that should be updated too?
has anyone done this before?
-- otherwise i guess i'll have to do it through imap which is slower, but doable since it is only one user and a total of 3721 folders (which i am trying to get down to a reasonable amount since all webmail clients go either really slow, or time out)
Regards
_______________________________________________
DBmail mailing list
http://lists.nfg.nl/mailman/listinfo/dbmail
Loading...