qmail "mail loss patch"
Posted: 2004-07-29 11:52
Ja hallo, ich bins wieder...
tut mir leid, aber ich habe über die Suche nichts gefunden. Nachdem ich mir die qmail Buglist mal näher angeschaut habe, ist mir folgendes sofort in aufgefallen:
Ich hatte ja schonmal gepostet, das mir ein paar Mails verloren gegangen sind. Daran wirds dann wohl gelegen haben. Nunja, nun habe ich den Patch hinzugefügt, qmail-local ersetzt und hoffe, das das Problem nun aus der Welt ist. Doch, wie sehe ich denn das sich da auch was geändert hat? An den Dateinamen im Maildir hat sich eigentlich nichts geändert.. oder habe ich da was falsch verstanden?
Danke schonmal..
(und hoffentlich war das langsam mal die letzte Frage;)
tut mir leid, aber ich habe über die Suche nichts gefunden. Nachdem ich mir die qmail Buglist mal näher angeschaut habe, ist mir folgendes sofort in aufgefallen:
Code: Select all
2.2. Maildir file name creation is not collision proof. Mail loss possible depending on mail user agent.
Qmail's maildir delivery code assumes that a process ID is unique for one second. It is not, on fast and heavily loaded systems, or systems that randomize the process ID, the same process ID can be reused in the same second, even multiple times. If mail delivery and mail reading with a user agent overlap in time, this can lead to mail loss depending on how cautious the mail user agent is when moving mail from new/ to cur/. DJB claims qmail-pop3d is safe, other applications, for example mutt, rely on the uniqueness of the file names and can cause mail loss. It's qmail's responsibility to use unique file names though.
Fix: Toby Betts has a patch to make maildir file names uniqueDanke schonmal..
(und hoffentlich war das langsam mal die letzte Frage;)