Beiträge von Sebijk

    Character sets

    Before converting, be sure to back up the database and files. No liability for data loss!

    ISO character set

    b1gMail 7.4.1 will be the last version that will still support the old ISO character set or latin1. For a problem-free operation the conversion to UTF-8 format is therefore strongly recommended.

    If you are using a version older than 7.4.0:

    Saving emails to database causes character set errors, so the file system variant is the safest. Therefore, before conversion, log into the admin area, go to "Settings" " "Mail" and make sure that mail storage is set to "File system". Even if this was already the case, then go to "Tools" " "Optimization" " "File System" and run the "Mail Storage" function (Database -> Files). This is necessary to make sure that there are no more emails in the database, since this storage method has been removed as of version 7.4.0-Beta1.

    When updating: After running setup/update.php do not delete the "setup" folder yet but run setup/utf8convert.php first. Allow some time for the conversion.

    UTF8MB4

    New installations always use UTF8MB4, because the old UTF-8 implementation of MySQL cannot store 4 byte character sets. When updating from an older b1gMail version: run setup/utf8mb4convert.php. You need a little time for the conversion.

    Note for users who previously used the commercial version:

    The service at b1gMail.org are currently not accessible. This includes the toolbox. If you want to use the toolbox from b1gMail.com, you have to add the following to config.inc.php:

    PHP: config.inc.php
    define('B1GMAIL_DLDATE', ''); //Here add dldate
    define('B1GMAIL_LICDOMAIN', ''); //Here add licdomain
    define('B1GMAIL_SIGNKEY', ''); //Here add signkey
    define('TOOLBOX_SERVER', 'http://service.b1gmail.com/toolbox/');
    define('UPDATE_SERVER', 'http://service.b1gmail.com/patches/');
    define('SIGNATURE_SERVER', 'http://service.b1gmail.com/signatures/');

    You get these values from serverlib/init.php of the commercial version.

    b1gMail 7.4.1 Beta 1 is now available for download at https://github.com/b1gMail-OSS/b1gMail/releases! It is the first version released under the GPL license. As with every beta version: Don't use for productive use!

    Before updating, please make a backup of the database and the b1gMail folder including the data folder!

    Changes 7.4.1-beta1->7.4.1-beta2

    • New feature: Whitelist for maintenance, contributed by @mkleger
    • New feature: Custom Sendername in alias
    • Updated library: SabreDAV to 3.0.7
    • Add removeIP to plugins
    • Updated newsPlugin Template for 7.4.1
    • Fixed issue #3
    • more fixes for PHP 8 and higher
    • fixed install script: If you make already a new installation with 7.4.1-beta please change in serverlib/config.inc.php DB_PREFIX to DB_CHARSET

    New installation

    Download complete package. In serverlib rename config.default.inc.php to config.inc.php and version.default.inc.php to version.inc.php.

    Update from b1gMail 7.4.0 and 7.4.1-beta1

    upload the files. After call /setup/update.php. Alternatively delete in serverlib the file version.inc.php and rename version.default.inc.php to version.inc.php and call tools/db_sync.php. In both cases the setup folder must be deleted afterwards.

    Update from b1gMail 7.3.0

    Call /setup/update.php after the upload.

    Update from other b1gMail 7.4 beta versions

    You have to update to b1gMail 7.4.0-Beta4 first.

    Update from b1gMail versions older than 7.3.0

    The update routine goes from 7.0.0. However, this has not been tested and it is therefore recommended to update to b1gMail 7.3.0 first, if you have access to this version.

    Update from b1gMail6

    If you are already using b1gMail6, please update to b1gMail 7.2.0 first, then to 7.3.0 and then to this version.

    Notes

    • Before updating, please make a backup of your database and files. No liability for data loss!
    • b1gMail 7.4.1 requires at least PHP 5.4
    • New installation requires at least MySQL / MariaDB 5.5.3. MySQL 8.x and higher is currently not supported ( except MariaDB ). We recommend MariaDB as Database Engine.
    • After the update please delete your browser cache
    • b1gMail 7.4.1 also contains the PremiumAccount and Fax plugin.
    • If b1gMailServer is used, please restart the queue service after the update and make sure that the latest version is used.
    • The server part of b1gMailServer is currently NOT OpenSource, only the included admin interface.
    • Plugins from ThinkClever GmbH are not compatible with the b1gMail 7.4 version. These must be uninstalled before update.
    • If the b1gMail installation is still running in ISO character set / Latin mode, it is strongly recommended to convert to UTF-8 format.

    Limitations compared with the old commercial version

    • The toolbox is currently not available for the free version. License holders of the former commercial b1gMail version can still use the service, see below for more information.
    • Update notifications are not available
    • Fax plugin: Since the proprietary FPDI parser library is not allowed to be shipped in a GPL project, it was removed with the update of the FPDI class. This removes support for compressed PDF files. If one still needs this, a license must be purchased at https://www.setasign.com/products/fpdi-pdf-parser/pricing/. Alternatively, the last commercial version of the fax plugin can be used if a license was purchased at that time.

    Kannst du das auf frisch installierten Ubuntu 18.04 oder höher testen (kein Upgrade von 16.04)? Bei mir klappt es ohne Probleme.

    Die SHA256-Checksumme bei /opt/b1gmailserver/b1gmailserver ist bei dir auch cea3bdded0e46a05d1b3e054424b66e4da8c49ba46fbccd460f00ef7758367af oder?

    Evtl. Hardwaredefekte (wie z.B. RAM) kannst du bei dir ausschließen oder?

    Aber was ich dir wärmstens ans Herz legen möchte ist nicht mehr Ubuntu 16.04 zu nehmen, sondern gleich auf eine aktuelle zu gehen.

    End of Standard Support: April 2021

    Ubuntu 16.04 wird schon noch im Rahmen von ESM unterstützt, ist allerdings anmeldepflichtig.

    Code
    b1gmailserver-2.8.3286-x86_64

    Ich hatte 16.04 genommen, da die Anleitungen für 16.04 waren. Ich hatte gedacht (und das ist wahrscheinlich das Problem ^^ ), dass neuere Ubuntu Versionen mit B1G nicht kompatibel sind...

    Wenn neuere Versionen nicht gehen, dann hätten sich allerdings schon einige im Forum gemeldet.

    Daher auch meine Empfehlung: Stets aktuelle Versionen nutzen (allein schon aus Sicherheitsgründen), wenn nicht zwingende Gründe dagegen stehen.

    b1gMailServer liefert eigene Bibliotheken mit (wie man es schön mit ldd sieht), damit es keine Probleme mit Abhängigkeiten gibt. Um nachzuschauen, weshalb ein Segmentation fault ausgelöst wird, müsste b1gmailserver mit Debug-Symbolen kompiliert werden: https://dzone.com/articles/detec…faults-in-linux . Bringt halt aber nichts, wenn der Code zurzeit noch Closed Source ist.

    Welchen Vorteil hat die Verwendung von b1gZip statt dem PHP-eigenen?

    Wenn du das zip-Modul meinst: Das müsste man herausfinden, z.B. durch Performancetests. Als b1gZIP das erste Mal erschien, war das PHP Modul zip nur als PECL-Erweiterung verfügbar und konnte nur Archive lesen, nicht aber schreiben oder welche erzeugen. Aber es wurde ständig weiterentwickelt und mit PHP 5.2 zum Standard. Rein funktionell her ist man mit php-zip besser bedient.

    php-zip nutzt libzip als Bibliothek, b1gzip hingegen ZipArchive von Artpol. Sollte sich die ZipArchive-Bibliothek als robuster und performanter als libzip herausstellen, wäre eine Weiterentwicklung von b1gzip um weitere Funktionen, die die ZipArchive-Bibliothek bietet, interessant.

    Gegenüber der b1gMail zip.class.php Implementation hat b1gzip einen Geschwindigkeitsvorteil, da diese PHP-Klasse eine eigene Implementation ist, die nicht php-zip nutzt. Das hat man wohl so gemacht, damit man die Kompatibilität zu PHP 4 nicht aufgeben musste.

    2003 wurde b1gZIP veröffentlicht. Es nutzt die ZipArchive-Bibliothek von Artpool Software. b1gZIP dient zum Erstellen von Zip-Archiven und seit der Veröffentlichung hat sich nichts geändert. In b1gMail kommt b1gZIP vorrangig zum Erstellen von ZIP-Archiven in Einsatz (falls Modul existiert), bevor es auf die Zip-Klasse zurückgreift.

    Sourcecode inkl. Anleitung zum Kompilieren findet sich hier: https://github.com/b1gMail-OSS/php-b1gzip

    Ich habe heute die Erweiterung an PHP7 und 8 angepasst, so dass sie sich dort auch kompilieren und ausführen lässt.

    Was interessant wäre, wenn jemand mal die Zeit hätte, die Performance von b1gZip mit der vom php-zip oder anderen PHP Zip-Klassen zu vergleichen.

    Danke, ich schau es mir an und werde es dann einbauen.

    Man merkt schon, wie schwierig es ist, base64-kodierte Strings zu vergleichen, hab mal aus dem Post die Funktion übernommen, damit man besser vergleichen kann: https://stackoverflow.com/questions/6672…rogrammatically


    b1gMail comes by default with German and English. All other languages are at this repository: https://github.com/b1gMail-OSS/b1gMail-languages

    Currently in this repo:

    French (only user interface, thanks to zamana for the Translation)

    German (informal, incomplete from daniela)

    Romanian (incomplete, from Radu)

    Russian (incomplete, from atmark)

    How I can contribute?

    Just fork the repository and add your translation. After make a pull request.

    Character sets

    Before converting, be sure to back up the database and files. No liability for data loss!

    ISO character set

    b1gMail 7.4.1 will be the last version that will still support the old ISO character set or latin1. For a problem-free operation the conversion to UTF-8 format is therefore strongly recommended.

    If you are using a version older than 7.4.0:

    Saving emails to database causes character set errors, so the file system variant is the safest. Therefore, before conversion, log into the admin area, go to "Settings" " "Mail" and make sure that mail storage is set to "File system". Even if this was already the case, then go to "Tools" " "Optimization" " "File System" and run the "Mail Storage" function (Database -> Files). This is necessary to make sure that there are no more emails in the database, since this storage method has been removed as of version 7.4.0-Beta1.

    When updating: After running setup/update.php do not delete the "setup" folder yet but run setup/utf8convert.php first. Allow some time for the conversion.

    UTF8MB4

    New installations always use UTF8MB4, because the old UTF-8 implementation of MySQL cannot store 4 byte character sets. When updating from an older b1gMail version: run setup/utf8mb4convert.php. You need a little time for the conversion.

    Note for users who previously used the commercial version:

    The service at b1gMail.org are currently not accessible. This includes the toolbox. If you want to use the toolbox from b1gMail.com, you have to add the following to config.inc.php:

    PHP: config.inc.php
    define('B1GMAIL_DLDATE', ''); //Here add dldate
    define('B1GMAIL_LICDOMAIN', ''); //Here add licdomain
    define('B1GMAIL_SIGNKEY', ''); //Here add signkey
    define('TOOLBOX_SERVER', 'http://service.b1gmail.com/toolbox/');
    define('UPDATE_SERVER', 'http://service.b1gmail.com/patches/');
    define('SIGNATURE_SERVER', 'http://service.b1gmail.com/signatures/');

    You get these values from serverlib/init.php of the commercial version.

    b1gMail 7.4.1 Beta 1 is now available for download at https://github.com/b1gMail-OSS/b1gMail/releases! It is the first version released under the GPL license. As with every beta version: Don't use for productive use!

    Before updating, please make a backup of the database and the b1gMail folder including the data folder!

    Changes 7.4.0->7.4.1

    • All proprietary graphics replaced by free ones and by Font Awesome
    • Update of libraries: Smarty to 2.6.32, CKEditor to 4.17.1, Font Awesome to 4.7
    • Fax plugin: FPDF to 1.84 and FPDI 2.36. Proprietary FPDI parser library removed.
    • minor bug fixes
    • Optional: conversion to utf8mb4. New installations are always in utf8mb4.
    • Cleanup of code that is only intended for an older PHP version.
    • Support for PHP 8.0 and 8.1 (currently experimental, please test!)

    New installation

    Download complete package. In serverlib rename config.default.inc.php to config.inc.php and version.default.inc.php to version.inc.php.

    Update from b1gMail 7.4.0

    Just upload the files. No database specific changes were made. In serverlib delete the file version.inc.php and rename version.default.inc.php to version.inc.php. Alternatively call /setup/update.php. In both cases the setup folder must be deleted afterwards.

    Update from b1gMail 7.3.0

    Call /setup/update.php after the upload.

    Update from other b1gMail 7.4 beta versions

    You have to update to b1gMail 7.4.0-Beta4 first.

    Update from b1gMail versions older than 7.3.0

    The update routine goes from 7.0.0. However, this has not been tested and it is therefore recommended to update to b1gMail 7.3.0 first, if you have access to this version.

    Update from b1gMail6

    If you are already using b1gMail6, please update to b1gMail 7.2.0 first, then to 7.3.0 and then to this version.

    Notes

    • Before updating, please make a backup of your database and files. No liability for data loss!
    • b1gMail 7.4.1 requires at least PHP 5.4
    • New installation requires at least MySQL / MariaDB 5.5.3
    • After the update please delete your browser cache
    • b1gMail 7.4.1 also contains the PremiumAccount and Fax plugin.
    • If b1gMailServer is used, please restart the queue service after the update and make sure that the latest version is used.
    • The server part of b1gMailServer is currently NOT OpenSource, only the included admin interface.
    • Plugins from ThinkClever GmbH are not compatible with the b1gMail 7.4 version. These must be uninstalled before update.
    • If the b1gMail installation is still running in ISO character set / Latin mode, it is strongly recommended to convert to UTF-8 format.

    Limitations compared with the old commercial version

    • The toolbox is currently not available for the free version. License holders of the former commercial b1gMail version can still use the service, see below for more information.
    • Update notifications are not available
    • Fax plugin: Since the proprietary FPDI parser library is not allowed to be shipped in a GPL project, it was removed with the update of the FPDI class. This removes support for compressed PDF files. If one still needs this, a license must be purchased at https://www.setasign.com/products/fpdi-pdf-parser/pricing/. Alternatively, the last commercial version of the fax plugin can be used if a license was purchased at that time.

    Zeichensätze

    Vor Konvertierung UNBEDINGT Datenbank+Dateien sichern. Keine Haftung für Datenverluste!

    ISO-Zeichensatz

    b1gMail 7.4.1 wird die letzte Version sein, die noch das alte ISO-Zeichensatz bzw. latin1 unterstützen wird. Für einen problemlosen Betrieb wird deshalb die Konvertierung ins UTF-8 Format dringend empfohlen.

    Sofern Sie eine ältere Version als 7.4.0 einsetzen:

    Die Speicherung der E-Mails auf Datenbank verursacht Zeichensatzfehler, weshalb die Dateisystemvariante am sichersten ist. Daher loggen Sie sich vor der Konvertierung in den Adminbereich ein, gehen Sie zu "Einstellungen" » "E-Mail" und stellen Sie sicher, dass die Mail-Speicherung auf "Dateisystem" eingestellt ist. Gehen Sie, auch wenn dies bereits der Fall war, dann zu "Tools" » "Optimierung" » "Dateisystem" und führen Sie die Funktion "Mail-Speicherung" (Datenbank -> Dateien) aus. Dies ist nötig, um sicherzustellen, dass sich keine E-Mails mehr in der Datenbank befinden, da diese Speichermethode ab Version 7.4.0-Beta1 entfernt wurde.

    Bei Update: Nach Ausführung der setup/update.php den "setup"-Ordner noch nicht löschen sondern erst setup/utf8convert.php ausführen. Ein wenig Zeit für die Konvertierung einplanen.

    UTF8MB4

    Neuinstallationen sind standardmäßig mit UTF8MB4, da die alte UTF-8 Implementierung von MySQL keine 4 Byte-Zeichensätze speichern kann. Beim Update von einer älteren b1gMail-Version: setup/utf8mb4convert.php ausführen. Ein wenig Zeit für die Konvertierung einplanen.