[Postfixadmin-devel] Changing some defaults in trunk/3.0?
Brought to you by:
christian_boltz,
gingerdog
|
From: Christian B. <pos...@cb...> - 2012-04-13 00:04:51
|
Hello,
3.0 will be a major release, which means I won't be too strict about
keeping the default config 100% backwards compatible (= unchanged).
We probably have some config options with defaults that are there for
historic reasons, but are not the best idea nowadays.
Are you aware of any setting in config.inc.php that is
- outdated (as in "everybody has to change this nowadays") or
- "not a good idea"[tm] or
- could have better default values
?
If yes, please speak up now and tell me
- which $CONF option?
- why would you change its default value?
- and to which value? (you can obviously ignore this part for YES/NO
options ;-)
Let me start with some things I noticed while scrolling over
config.inc.php:
$CONF['database_type'] = 'mysqli'; # current value: "mysql"
should be changed to "mysqli". The reason is simple - I don't expect we
have too many users using MySQL < 4.1 nowadays ;-) so using the (newer)
mysqli interface by default would make sense.
$CONF['dovecotpw'] = "/usr/sbin/doveadm pw";
# current value: "/usr/sbin/dovecotpw";
reason: dovecot 2.x comes with doveadm instead of dovecotpw
$CONF['domain_path'] = 'YES'; # was NO
$CONF['domain_in_mailbox'] = 'NO'; # was YES
in other words: domain/username/ instead of username@domain/
reason: maybe personal taste ;-)
$CONF['quota'] = 'YES'; # was NO
reason: I'm using quota everywhere - even if I make the mailbox *very*
big, just to avoid that a forgotten mailbox can fill up the harddisk.
$CONF['vacation'] = 'YES'; # was NO
why should we hide this feature? ;-)
$CONF['alias_control'] = 'YES'; # was NO
$CONF['alias_control_admin'] = 'YES'; # was NO
I stopped counting how often users asked to implement this feature ;-)
so we should enable it by default
$CONF['backup'] = 'NO'; # was YES
The backup module is basically unmaintained...
$CONF['show_status']='YES'; # was NO
Why should we hide such a nice feature?
Note that some of the related options would also need better defaults,
but let's first discuss if enabling show_status by default makes sense.
$CONF['new_quota_table'] = 'YES'; # was NO
new quota table format in dovecot 2.x
Needless to say that this *must* be documented in a very visible way to
avoid "surprising" users on upgrades ;-)
Regards,
Christian Boltz
--
>> Does this suggest to remove this feature completely?
> If you want a browser that doesn't malfunction and crash, yes.
Better: the whole networking code should be removed, so we wont get
any cookies over the network [>> Markus Fischer, > Boris Zbarsky
and Zs. G. in https://bugzilla.mozilla.org/show_bug.cgi?id=430006]
|