Make check of creating e-mail addresses case-insensitive, thanks to d4f, fixes #1021
email address validation: using strtolower() with equal-operator to check if address is not already in use, instead of comparing with LIKE-operator, fixes #1021

Signed-off-by: Arnold Bechtoldt <mail@arnoldbechtoldt.com>
Fix jquery-ui.css inclusion in templates/Froxlor/header.tpl
fix some possible undefined indexes due to the change from yesno-selectbox to a checkbox, refs #645 fixes #1105
check if path could be opened before iterating through it, fixes #1104
correct std-customer index-file so the broder-radius works in all browser supporting it
Improve user/group name handling on configuration script generation.
Minor changes to gentoo-specific default confs for SMTPd

  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.
Fix authmysqlrc example config to point to actual mysql columns.
Fix imapd-ssl and pop3d-ssl example files to point to gentoo actual paths.
Update scripts for postfix+courier and postfix+dovecot for gentoo.

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)
More fixes for gentoo's confs related to uid/gid.

  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.
Merge pull request #27 from madmuffin1/master

pull feature #1107 back to trunk, fixes #1107
Updated updater with new version, refs #1107

Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
Change how email folders are created.

Before it was: customer_dir/mail/customer_login/user@domain/
Now it is: customer_dir/mail/customer_login/domain/user/Maildir/
Additional modifications to domain/user/Maildir email file structure

- 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.
Setup froxlor update script.
Erase full user dir instead of just Maildir/ when erasing customer email data.
Merge pull request #24 from d00p/master

Various bugtracker-fixes
Thanks to d00p
Merge pull request #28 from avengerx/new_maildir_structure

New maildir structure fixes #1103
Thanks to avengerx