This is a discussion on Re: -ERR [SYS/TEMP] Unable to copy mail spool file, quota exceeded (122) within the mailing.postfix.users forums, part of the Mail Servers and Related category; Ibrahim Khalifa: > On Sat, Feb 07, 2004 at 04:59:51PM -0500, Wietse Venema wrote: > > Hi, > &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Ibrahim Khalifa:
> On Sat, Feb 07, 2004 at 04:59:51PM -0500, Wietse Venema wrote: > > Hi, > > > > This is not true. With proper locking the mailbox can be rewritten in > > > place. > > Note: this requires that the POP daemon keeps a complete copy of > > all the user's mail in memory, and that it does not terminate before > > it is finished rewriting the mailbox file. If the system or POP > > daemon crashes during an update then the user loses her mail. > > If the POP daemon only deletes mail, and don't write any new information > to the mbox, it doesn't need to keep a copy of every mail in memory. In order to delete the first message in a mailbox file, the software has to keep a complete copy of the rest of the mailbox file in memory. In order to delete a message in the middle of a mailbox file, the software has to keep half the mailbox file in memory. When the software crashes during an update the user can lose all their mail depending on where the software started to rewrite the mailbox file. Wietse |