Beiträge von Sebijk

    b1gMail 7.4.2 RC 4 enthält einen wichtige Sicherheitsmaßnahme. Bei der OSS-Version wird der Toolbox-Generator nicht genutzt, da die Konstante TOOLBOX_SERVER nicht gesetzt ist. Unabhängig davon war die interface/clientapi.php immer zugänglich und ermöglicht eine Brute-Force Attacke in unlimitierte Anzahl. Ich habe das ein wenig entschärft, so dass auch die fehlgeschlagene Logins wie beim Webmailoberfläche notiert werden und ggf. gesperrt werden. Außerdem ist clientapi.php nun ohne Funktion, wenn TOOLBOX_SERVER nicht gesetzt ist, da es aktuell nur von der Toolbox genutzt wird. Je nachdem wie sich die Toolbox entwickeln wird, in Zukunft sind weitere Maßnahmen angedacht.

    Nutzer älter OSS-Versionen wird dringend geraten zumindest die aktuelle clientapi.php herunterzuladen oder am besten zu löschen.

    Character sets

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

    ISO character set

    b1gMail 7.4.2 will not support the old ISO character set or latin1 anymore. You must convert to utf8 first.

    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.

    b1gMail 7.4.2 Release Candidate 4 is now available for download at https://github.com/b1gMail-OSS/b1gMail/releases! With every pre-release: use with own caution! If there is no any faulty reports, we will release the final release.

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

    Changes 7.4.2rc3->7.4.2-rc4

    • update smarty to 5.8.4
    • Security: disable clientapi if TOOLBOX_SERVER is not set (default) and add last login attempt check to limit brute-force. Thanks to kta1kri for report
    • Log Failed Logs Plugin: Add Interface Mode Check
    • Fix a fatal error when loading a single user in the admin UI (mbuchalik fork)
    • MySQL 8 Fix backported from 7.5 (Thanks to ManDal, fixes issue #2)

    Known issues (since 7.4.1):

    • memcached is currently not working in PHP 8
    • invoice generator not work yet

    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

    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. If you update from b1gMail 7.4.0 or earlier, make sure you have a backup of serverlib/init.inc.php.

    Notes about former commercial version: Please read also b1gMail 7.4.1 released

    Notes

    • Before updating, please make a backup of your database and files. No liability for data loss!
    • b1gMail 7.4.2 requires at least PHP 7.2.
    • New installation requires at least MySQL / MariaDB 5.5.3. We recommend MariaDB as Database Engine, but MySQL 8 and higher also supported
    • After the update please delete your browser cache
    • b1gMail 7.4.2 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.
    • If you want use the new features also on b1gMailServer, please upgrade your b1gMailServer to the OSS version: https://www.github.com/b1gMail/b1gMailServer
    • Plugins from ThinkClever GmbH are now Open Source, but not all plugins are compatible. Check here to check if the plugin is compatible with 7.4.2. If you use CleverMailEncryption, there is also a compatible version to 7.4.2 in the provided link.
    • If the b1gMail installation is still running in ISO character set / Latin mode, you are required to convert to UTF-8 format, otherwise you could get charset problems.
    • This version is shipped on the latest CKEditor4 version which reached its end-of-life in June 2023. There will no more any updates. If you want receive updates for CKEditor, you can use the commercial LTS version of CKEditor4 or upgrade to CKEditor 5. See https://ckeditor.com/docs/ckeditor5…ckeditor-4.html for migration guide.

    Limitations compared with the old commercial version

    • The toolbox creator is currently not available. License holders of the former commercial b1gMail version can still use the service, but it will discontinued. You find the source code at https://www.github.com/b1gMail/BMToolbox
    • 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.

    Bzgl. Umlautprobleme: Ich kann das bei Thunderbird bestätigen, aber das kommt nicht immer vor. Meist konnte ich es reproduzieren, wenn Thunderbird so eingestellt ist, dass es mit Linux zusammen startet, dann hatten Ordner Umlautfehler gehabt. Schließt man dann Thunderbird vollständig und startet es neu, dann geht es wieder. Genauer habe ich es mir jedoch nicht angeschaut.

    Ich bin ohnehin dafür den latin1 bzw den ISO-Support zu streichen, da es einfach nur einen Mehraufwand bedeutet und alte b1gMail-Installation, die nicht in UTF-8 konvertiert worden sind, eben noch aus der kommerziellen Zeit stammen. Irgendwo muss man einen Schlussstrich ziehen. D.h. in Zukunft sollte mit eine native UTF-8-Datenbankanbindung gearbeitet werden.

    Zeit für eine Aktualisierung: ManDal hat bereits sehr viel umgesetzt in 7.5:

    Umgesetzt (lt. der geäußerten Wünsche im Thema):

    • Altcha (DSGVO-kompatibel mit OnPrem-Option) und hcaptcha als zusätzliche Captcha-Provider
    • responsives Design der Weboberfläche
    • PHP mind 8.1
    • 2 Faktor und App-Passwörter
    • Entfernung von alten Updateroutinen (nur noch ein Update von 7.4 auf 7.5 soll möglich sein, später immer die letzte Vorversion)

    Das Thema App-Passwörter wollte ich auch vorantreiben, aber bisher bin ich aus zeitlichen Gründen nicht weiter als die Design-Überlegung weitergekommen: Tokenverwaltung

    Umso mehr freut es mich, dass du das jetzt voranbringst :-).

    Bitte den Text eindeutig als KI-generiert bezeichnen.

    Nach dem Update von PHP 7.4 auf PHP 8.4.24 verbleiben täglich mehr Mails länger in der Warteschleife als vorher. An der prinzipiellen Serverkonfiguration IPv4/IPv6 hat sich nichts geändert, es treten aber im Gegensatz zu vorher vermehrt "Timeout while connecting socket"-Fehler auf. Vor der Umstellung befanden sich meist ca. 10-20 Mails in ruhigen Zeiten in der Queue, aktuell sind es permanent 130-180. Mal von den üblichen Verdächtigen falsch geschriebenen Adressen oder tatsächlich nicht erreichbaren Postfächern abgesehen, bleibt trotzdem eine zu hohe Zahl übrig.

    Gibt es hierzu PHP-Logs? Hört sich nach einem Fehler in der pipe.php an.

    Übertrag aus dem alten b1gMail.com-Forum:

    ich benutze es nicht, da ich Linux nutze. Würde zwar auch mit Wine laufen, aber benötigen tu ich das nicht. Die Webdisk nutze ich nicht. Andere Funktionen wie Fax-Treiber wären evtl. interessant, sind aber auch eher Spezialfälle falls man überhaupt noch Faxe senden muss. Meistens tut das auch die integrierte Fax-Funktion in der Fritzbox oder man nutzt die Weboberfläche des Fax-Plugins.