Skip to content

Instantly share code, notes, and snippets.

View pavlinux's full-sized avatar
🙈

Pavel Vasilyev pavlinux

🙈
  • Pavlinux Inc.
  • Moscow, Russia
View GitHub Profile
@pavlinux
pavlinux / dbmail_to_dovecot.py
Last active August 29, 2015 14:26 — forked from plq/dbmail_to_dovecot.py
This is a script to migrate a dbmail 2.2.x mail store to a maildir store with dovecot extensions. Preserves imap and pop3 uids.
#!/usr/bin/python -tt
#
# Migration script from dbmail 2.2.x message store to a maildir message store
# with dovecot extensions.
#
# Tested with dbmail-2.2.17 -> dovecot-2.0.13 on postgresql-9.0.4
# and sqlalchemy-0.7.1.
#