UPGRADE
author Pascal Volk <neverseen@users.sourceforge.net>
Wed, 13 Jan 2010 00:08:44 +0000
branchv0.6.x
changeset 166 b152ad5c7071
parent 135 32ad0c79a6ef
child 271 e915d4725706
permissions -rw-r--r--
vmm.cfg: dealt with the most overdue section/option renaming. Added new options. Details: old new ------------------------------------------------------------ domdir.mode -> domain.directory_mode domdir.delete -> domain.delete_directory domdir.base -> misc.base_dir domdir -> _section domdir deleted_ maildir.mode -> account.directory_mode maildir.diskusage -> account.disk_usage maildir.delete -> account.delete_directory misc.forcedel -> domain.force_del misc.passwdscheme -> misc.password_scheme misc.dovecotvers -> misc.dovecot_vers services.smtp -> account.smtp services.pop3 -> account.pop3 services.imap -> account.imap services.sieve -> account.sieve services -> _section services deleted_ _NEW_.random_password -> account.random_password _NEW_.password_len -> account.password_len _NEW_.auto_postmaster -> domain.auto_postmaster

If you still have installed vmm 0.3.x you have to proceed this step first:

    * upgrade your vmm installation to version 0.4-r41


If you have installed vmm 0.4/0.4-r41 you have to proceed this steps:

    * stop Postfix and Dovecot
    * backup/dump your database.
    * backup/dump your database!

    * start psql and connect to the appropriate database
      (ex. psql mailsys mailsys vmm -W -h localhost)
    * update the database: \i update_tables_0.4.x-0.5.pgsql
    * GRANT SELECT ON postfix_alias TO postfix;
                                       ^^^^^^^^ <- your Postfix db user


  Dovecot v1.2.x
    -> Are you already using Dovecot v1.2.x?
       * update the database for Dovecot v1.2.x:
         \i update_tables_0.5.x_for_dovecot-1.2.x.pgsql
       * GRANT SELECT ON dovecot_password TO dovecot;
                                             ^^^^^^^^ <- your Dovecot db user

       * When you are using the SQL function »dovecotpassword()« in your
         dovecot-sql.conf, update it also:
         \i update_types_and_functions_0.5.x_for_dovecot-1.2.x.pgsql

       * You have also to adjust the permissions of the set-uid deliver copy:
         on BSD:
           chgrp nobody /usr/local/lib/dovecot/deliver
         on Linux:
           chgrp nogroup /usr/local/lib/dovecot/deliver
         chmod u+s,o-rwx /usr/local/lib/dovecot/deliver

       * Check the master.cf from Postfix.
         In prior setups the service dovecot was configured slightly different.
         If you have set the command attribute 'user' to 'nobody:mail', so
         either remove the group mail or replace it with the group nobody
         or nogroup.

         e.g.: flags=DRhu user=nobody argv=/usr/local/lib/dovecot/deliver 

    * execute upgrade.sh

    * start Dovecot and Postfix



If you have installed vmm 0.5.x:

    * execute upgrade.sh

    -> Are you already using Dovecot v1.2.x?
       See a few lines above.


else
     * read INSTALL