UPGRADE
author Pascal Volk <neverseen@users.sourceforge.net>
Mon, 14 Apr 2008 02:21:46 +0000
changeset 16 3388b96fd3ed
parent 15 1607f7b2dba9
child 20 55146c78b3fb
permissions -rw-r--r--
* 'VirtualMailManager/VirtualMailManager.py' - implemented: * VirtualMailManager.__getSalt() * VirtualMailManager.__pwCrypt() * VirtualMailManager.__pwSHA1() * VirtualMailManager.__pwMD5() * VirtualMailManager.__pwMD4() - updated VirtualMailManager.__pwhash() * 'VirtualMailManager/constants/VERSION.py' - set version to 0.4-dev * 'INSTALL' - added hint for python-crypto - updated user_query

If you have installed vmm 0.3.x you have to proceed this steps:

    * stop Postfix and Dovecot
    * backup/dump your database.
    * backup/dump your database!
    * execute upgrade.sh
    * set permissions for replaced views:
        GRANT SELECT ON dovecot_user TO your_dovecot_dbuser;
        GRANT SELECT ON postfix_transport TO your_postfix_dbuser;
    * update user_query in /etc/dovecot/dovecot-sql.conf:
        user_query = \
            SELECT home, uid, gid, mail FROM dovecot_user WHERE userid='%u'
    * edit the pgsql parameters hosts, user, password and dbname in:
        $(postconf -h config_directory)/pgsql-smtpd_sender_login_maps.cf
        $(postconf -h config_directory)/pgsql-transport.cf
        $(postconf -h config_directory)/pgsql-virtual_mailbox_domains.cf
    * check the value of option transport in section misc in
      /usr/local/etc/vmm.cfg
    * start Dovecot and Postfix

else:

    * read INSTALL