b1gMail-OSS / b1gMail

Run your own email service. For you, your organization — or for everyone.
https://www.b1gmail.eu
GNU General Public License v2.0
17 stars 9 forks source link
email hosting mailserver

b1gMail 7.4 OpenSource version


Email for your website, Modern user interface, Easy to administrate


About b1gMail

A big thanks goes to b1gMail founder Patrick Schlangen. He released b1gMail as freeware back then and since version 6 it was commercial. With version 7.4.1 the license is changed to GPL and all proprietary components were removed.

Getting started

It is recommended to install the b1gMail developer copy on a local web server, e.g. standard Apache/PHP/MariaDB on Linux or Wamp on Windows. Even better results on Windows can be achieved with a WSL setup. If you use Docker, you can also use our docker template in docker-dev.

In order to install a development environment, proceed as follows:

  1. Clone the repository
  2. Go to src/serverlib/ and copy config.default.inc.php to config.inc.php and copy version.default.inc.php to version.inc.php.
  3. Remove the file lock in src/setup/
  4. Open the folder src in your web browser, e.g. http://localhost/b1gMail/src/
  5. Follow the setup instructs

System requirements

PHP 5.4 is minimum requirement. MariaDB as Database is recommended.

Staying up to date

When pulling new changes from the server, you will need to update your database structure in case it changed. In order to do so, you can use the tools/db_sync.php script or log in to the ACP of your b1gMail development copy, go to "Tools" -> "Optimize" and chose "Check structure". Let the ACP fix any issues it found.

Contributing

You want to contribute to the b1gMail code? Great! In order to do so, it's probably the best idea to fork the b1gMail repository here and start creating your own commits. As soon as you feel the commit is mature and you would like to integrate it into the b1gMail code base, create a merge request to the main repository and we will review it.

Basic guidelines for commits

Migrating from the commercial to the GPL version

Its important to make a backup of serverlib/init.inc.php first. Then upload the files from src to your b1gMail folder. After call /setup/update.php. Alternatively delete in serverlib the file version.inc.php and rename version.default.inc.php to version.inc.php, upload tools/db_sync.php and call db_sync.php (maybe you have to change the require path before). In both cases the setup folder must be deleted afterwards.

Open the serverlib/init.inc.php, which you backed up. Copy the this value define('B1GMAIL_SIGNKEY', ''); //Here add signkey from serverlib/init.inc.php to your serverlib/config.inc.php. If you want still use the Toolbox from commercial version, copy these lines to serverlib/config.inc.php:

define('TOOLBOX_SERVER', 'http://service.b1gmail.com/toolbox/');
define('UPDATE_SERVER', 'http://service.b1gmail.com/patches/');
define('SIGNATURE_SERVER', 'http://service.b1gmail.com/signatures/');

Plugins from 7.4.0 and older

A lot of plugins will work, but they are maybe not compatible with PHP 8 and higher. Before upgrade check the compatibility first. b1gMail 7.4.1 itself is compatible with PHP 8 and higher.

More information: https://www.b1gmail.eu/

Installation

look at b1gMail Wiki.