Version 0.08 (2006-08-27)
=========================

- Compatibility with PHP5 (thanks to Luca Saracini and Lou Hevly for
  reporting bugs)
- Should now work with error_reporting(E_ALL), I have fixed all NOTICEs
- There was a bug in the default template where 'main_footer' was not detected.
  The tags was <!-- BEGIN main_footer-->
- ..which made me relax the template engine. Spaces before the word 'BEGIN'
  and before '-->' are not anymore required
- Added finnish translation kindly contributed by Janne Huttunen
  [janne DOT huttunen AT fns DOT fi]
- Added spanish translation kindly contributed by Aldo Quezada
  [huincha AT gmail DOT com]
- Added danish translation kindly contributed by Svend Erik Host
  [sej AT pallas.dk]

Version 0.07 (2004-02-10)
=========================

- Bug: vdeliver does not bounce mail for invalid virtual users
  (reported by Frank Thommen [frank AT drosera DOT ch]).

  VMailMgr has a special user called "+", representing the catchall
  address. When setting the catchall to "None" in vmmi, an empty
  "+" is created (that is, a forward with no recipients). vdeliver
  will now behave as if there would be a catchall address and
  accept mails, rather than failing with an error message.

  This bug affects ./vm/vm.interface.php. Replacing this file with
  the new version will solve the problem.

  Additionally you might want to "fix" all users that have an empty
  "+" address. I used this bash-script to do this - but beware! Only
  use it if you understand it. If you damage your system it's entirely
  your fault. Alternatively you could ask all customers to go vmmi
  and press "set catchall" again.

------------------------------------------------------------------
#!/bin/bash

# compile a list of users
users=`find /home -type d -maxdepth 1 -mindepth 1 | sed -e 's"/home/""' | grep -v "lost+found"`

for i in $users; do
  # select all those users who have an empty catchall
  match=`su -c "listvdomain 2> /dev/null" $i | egrep '\+ -$'`
  # apply fix!
  if [ "$match" = "+ -" ]; then
    echo "Fixing user $i"
    # comment the following line out if you just want to test
    su -c "vdeluser +" $i
  fi
done
------------------------------------------------------------------

- Bug: Mail addresses get deleted even when pressing "Cancel"
  (reported by Sascha Luedi [saschal AT saschal DOT ch]

  Trying to delete a mail address in the main screen and pressing
  "Cancel" will still result in the mail address being deleted.
  This is a problem in the JavaScript in the template. There is
  a missing { bracket after the if-statement. If you are using
  a customized template, just replace the JavaScript in the
  element 'main_header' with this (otherwise replace whole file):

------------------------------------------------------------------
<script language="JavaScript1.2">
<!--
function confirm_delete(name) {
  message = "{confirm_delete}";
  result=confirm(message.replace(/%s/, name));
  if(result==true) {
    name=encodeURI(name);
    name=name.replace(/\+/, "%2B"); // Not encoded by encodeURI(). Why?
    location.href="perform.php?action=remove&username=" + name;
  }
}
//-->
</script>
------------------------------------------------------------------


Version 0.06 (2004-01-15)
=========================

- There is a problem with virtual usernames containing characters like "+".
  Thanks to Frank Thommen [frank AT drosera DOT ch] for pointing this out.
  The changes affect both code and templates, so if you are using a custo-
  mized template, please read on. Otherwise you can safely upgrade - there
  are no known issues with backwards compatibility (but keep a backup
  nevertheless).
  
  Affected files:
  
  ./main.php
    Added new element 'username_urlescaped'. Replace this file with
    new version.
    
  ./inc/util.php
    Added rawurlencode() to function build_query(). Replace this file
    with new version.
    
  ./templates/default/template.html (or your own template file)
    In element 'main_header' the JavaScript code has to escape the URL. I'm not
    a JavaScript-guru, so I wasn't 100% sure how to do it, but it seems to work
    like this:

      <script language="JavaScript1.2">
      <!--
      function confirm_delete(name) {
        message = "{confirm_delete}";
        result=confirm(message.replace(/%s/, name));
        if(result==true)
    +     name=encodeURI(name);
    +     name=name.replace(/\+/, "%2B"); // Not encoded by encodeURI(). Why?
          location.href="perform.php?action=remove&username=" + name;
        }
      //-->
      </script>

    In the elements 'main_table_element' and 'main_table_element_disabled' you
    need to make sure that the URLs now contain the escaped username, so write

      <td valign="top" nowrap class="text" bgcolor="#FAFAFA" colspan="2">
      <a href="edit.php?username={username_urlescaped}">{image_edit}</a>
      <a href="javascript:confirm_delete('{username_urlescaped}');">{image_remove}</a>
      </td>

    There was a missing </a> after the edit-link. If you haven't corrected
    that already, you can do that now ;)

Version 0.05 (2003-02-01)
=========================

- Added <nobr> around Navigation so it won't wrap if a language uses longer
  words (Daniel Lorch)
- Added indonesian translation kindly contributed by Alamsyah Rasyid
  [alam AT alamsyahrasyid DOT com]
- Added italian translation kindly contributed by Valerio Felici
  [valerio AT bgweb DOT it]
- Added portuguese translation kindly contributed by Fernando Teodoro
  [fteodoro AT rantac DOT com DOT br]
- Added serbian translation kindly contributed by Bojan Suzic
  [bojan AT trust-b DOT com]

Version 0.04 (2002-10-08)
=========================

- Added swedish translation kindly contributed by Frederik Steen
  [frederik AT unixguru DOT info] (Daniel Lorch)
- PHP >= 4.1.0 checking added
- Setting error_reporting to E_ALL & ~E_NOTICE to prevent notices printed out
  when php.ini-recommended is used (which shows these notices by default).

Version 0.03 (2002-08-08)
=========================

- Added french translation kindly contributed by David Rivier
  [david AT scarget DOT net] (Daniel Lorch)
- Added showcase modus (Daniel Lorch)
- Fixed a bug in the developer documentation, chapter 2.4: 'mailboxdir'
  instead of 'mailbox' (Daniel Lorch)
- Added a nowrap to the 'personal' column in ./templates/default/template.html,
  section 'main_table_element' and 'main_table_element_disabled' (Daniel Lorch)
- Added index.html's to several subdirectories to prevent directory
  listing (Daniel Lorch)

Version 0.02 (2002-08-06)
=========================

- Initial Release (Daniel Lorch)
