Skip to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Courier versteht nur MD5

Featured Replies

Hallo zusammen

Ich wollte auf einem Server die Klartextpasswörter in der Datenbank loswerden. Als Hash soll SHA zum Einsatz kommen, da MD5 bekanntlich nur die ersten acht Zeichen beachtet.

Bin nach diesem Tutorial vorgegangen: https://forum.froxlor.org/index.php?/topic/19547-howto-courierpostfix-setup-ohne-klartext-passwörter/

Er verwendet die gehashten Passwörter, sowohl über Postfix als auch über POP3 und IMAP. Doch leider geht das nur, wenn die Passwörter mit MD5 gehasht sind. Sonst kommt "authentication denied". Das Debian ist aktuell und somit sollte crypt() doch SHA unterstützen, wie im Tutorial erwähnt?

Vielen Dank für eure Tipps!

Gerade auf die schnelle gegooglet da ich seit >10 jahren kein courier mehr einsetze:

https://www.courier-mta.org/authlib/authpasswd.html - hieraus geht hervor das courier doch sha256 verstehen sollte

https://www.courier-mta.org/authlib/README.authmysql.html - hieraus lese ich eher das nur system-funktion crypt() funktioniert (was nicht sha256 sein muss)

Ggfls ist das einfach nur eine Einstellungssache, wirklich gute Infos finde ich jetzt aber da online nicht so auf die schnelle...

  • Author

Vielen Dank für die schnelle Antwort! Einstellungen dazu finde ich nicht, bzw. wüsste nicht, was ich ausser "MYSQL_CRYPT_PWFIELD" noch anpassen könnte. Laut manpage unterstützt das crypt() der glibc SHA256 und SHA512 und beim Autor des Tutorials hat es ja auch funktioniert.

Naja MYSQL_CRYPT_PWFIELD mapped ja auf die mysql-tabelle, das feld muss schon das sein was angegeben ist

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.