Menu

PostfixAdmin 3.0 released

2016-09-11
2016-09-15
  • Christian Boltz

    Christian Boltz - 2016-09-11

    I just released the long awaited PostfixAdmin 3.0.

    Right. there isn't a beta label anymore :-) It's more than two years since we released the first beta for 3.0 (and even more years of working towards 3.0) so I think we can safely drop the beta label.

    PostfixAdmin 3.0 is now officially the stable version of PostfixAdmin. I'll keep the 2.3 branch maintained for a while if someone finds critical or security bugs, but nevertheless it's probably a good idea to upgrade to 3.0 whenever you have some time.

    Major changes since the 2.3.8 release:

    • new command-line interface "postfixadmin-cli"
    • major rewrite:
      • move lots of code into *Handler classes, which are used by web and command-line interface
      • replace various edit-*.php and create-*.php with a generic editform (edit.php, editform.tpl)
      • this also means it's easy to customize forms, add fields etc.(see $CONF['*_struct_hook'])
      • lots of code cleanup, remove/merge lots of duplicated code and templates
      • use smarty for templates
    • add ability to choose activation date, end date and reply interval for
      vacation message
    • various enhancements everywhere
    • redesign login page, list and edit pages (goodbye, green!) and make them wider
    • several new config options and changed defaults
    • NOTE: changes from the 2.3.x releases also apply to this version

    Major changes since the 2.93 aka 3.0 beta3 release:

    • add sqlite backend option
    • add configurable smtp helo (CONF["smtp_client"])
    • new translation: ro (Romanian)
    • language update: tw, cs, de
    • fix escaping in gen_show_status() (could be used to DOS list-virtual by creating a mail address with special chars)
    • add CSRF protection for POST requests
    • list.tpl: base edit/editactive/delete links in list.tpl on $RAW_item to avoid double escaping, and fix some corner cases
    • editform.tpl: add {if} block for description column for easier customization
    • use smarty html_options instead of select_options()
    • remove advice about using SetEnv for database password
    • include_once(config.local.php) instead of include()ing it to prevent include loops if someone copies config.inc.php to config.local.php
    • vacation.pl: encode wide-chars utf8 in mail body, mime-decode original subject
    • fix db_quota_text() for postgresql (concat() vs. ||)
    • change default date for 'created' and 'updated' columns from 0000-00-00 (which causes problems with MySQL strict mode) to 2000-01-01
    • allow punicode even in TLDs
    • update Smarty to 3.1.29
    • add checks to login.php and cli to ensure database layout is up to date
    • whitelist '-1' as valid value for postfixadmin-cli
    • don't stripslashes() the password in pacrypt
    • various small bugfixes

    See CHANGELOG.TXT for the full changelog. If you upgrade from 2.3.x, please also read the sections about the 2.9x (aka 3.0 beta) releases.

     
  • Sylvain Tissot

    Sylvain Tissot - 2016-09-15

    Thank you very much to all the contributors for this release, good job, just in time for the roll out of our new mail server :)
    Can you tag the release on the Github mirror too?
    https://github.com/postfixadmin/postfixadmin/releases

     

Log in to post a comment.