- Added email settings' option to specify Maildir directory (depending
on postfix version this is ./Maildir/, .maildir/ or, optionally, one
can choose to leave Maildir file structure directly on user's
directory.
- Fixed database 'insert' command to describe the new structure using
specified Maildir directory into new accounts.
- Fixed maildirExists function to the new file structure
- Fixed older bug that email exclusions that were scheduled (task 7)
were not being displayed on overview.
- Added entries on 'english' language file for the new entries on panel
- Changed task id 6 (delete customer) behavior on scrips/jobs/cron_tasks.php
to assure email account is owned to mail uid/gid and the target is an
actual directory before zapping it.
- Fixed task id 7 (delete customer mail data) behavior on script above
to correctly fill and find Maildir and also do additional paranoid
checks before zapping the mail account directory. Notice this is not
the same from above directory-wise: here we erase a single account's
data, while in task id a entire customer set of accounts and domains
are eliminated.
Gentoo 'mail' user/group has uid/gid 8/12 respectively. This makes
postfix' 'virtual' complain about 'bad uid'. Then the default is set
back to 'vmail' user/group. You can force using the 'mail' user (which
is responsible for the local mail delivery files) by adding to
/etc/postfix/main.cf the following lines:
virtual_minimum_uid = 8
virtual_minimum_gid = 12
But this is not encouraged, so the default is to create a really
unprivileged 'vmail' user with a high uid/gid (above 1000).
Due to this, the test for already existent uid/gid is added here (if
you have set uid/gid on froxlor but they don't actually exist, lines to
add the user/group will be added to the config file as it does with the
other distro's files.
Changes here include:
- shorten some repetitive commands (gentoo.inc.php)
- maps uid/gid from database instead of statically on main.cf
- maps 'homedir' from database instead of statically in
vmail_mailbox_base (concatenates 'homedir' and 'maildir' columns from
mail_users table)
- update mysql query files to use strictly postfix 2.2+ new format
(in accordance to http://www.postfix.org/mysql_table.5.html)
Pointed SSL keys to default (system-installed) keys that would work
out-of-the-box.
Changed max size of emails from 50MB to 512MB to avoid problems on
default installations (some customers like sending big emails
sometimes).
Some additional cosmetic changes.
Adds a message on Admin's Overview page if a task is of an unknown type.
Removes task '9' adding on function.inserttask and ignores task id 9 on
CronJobFunctions.
Fixes the following error:
Fatal error: Cannot access private property db::$password in
/var/www/froxlor/lib/functions/database/function.correctMysqlUsers.php
on line 27
But ID on Redmine: #1097 2012-05-30