Bluehost.com Web Hosting $6.95

Re: -ERR [SYS/TEMP] Unable to copy mail spool file, quota exceeded (122)

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; On Sat, Feb 07, 2004 at 06:56:43PM -0500, Wietse Venema wrote: Hi, > > If the POP daemon ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-08-2004
Ibrahim Khalifa
 
Posts: n/a
Default Re: -ERR [SYS/TEMP] Unable to copy mail spool file, quota exceeded (122)

On Sat, Feb 07, 2004 at 06:56:43PM -0500, Wietse Venema wrote:

Hi,

> > 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.


Since this is a tad off-topic I will try to not prolong this too much,
but I don't follow your reasoning here. Say a user have five letters, of
different length, in the mailbox, looking like this:

AAAAABBBBBBBBBCCCDDDDDDEEEEEEEEEE

With just a reference to the beginning of each letter, the POP daemon
could easily overwrite the first mail with the second and getting a
mailbox looking like this (lower case meaning old junk left):

BBBBBBBBBbbbbbCCCDDDDDDEEEEEEEEEE

Since the daemon knows where the new first mail ends (which is actually
the current position, ftell(3)) and have a reference to where mail C
starts, it can easily overwrite bbbbb with CCC, ie:

BBBBBBBBBCCCbbcccDDDDDDEEEEEEEEEE

And then start writing over the letter D, and so on. This could be
accomplished by extensive use of something like ftell and jumping
position, or open the mailbox twice; a write stream and a read stream.
I'm sure someone clever could thing of more ways.

//Ibo
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0