The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Maximum size for a mail file?

Discussion in 'E-mail Discussions' started by PWSowner, Jul 17, 2005.

  1. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Is there a specific maximum size that a mail file can grow to? There is one inbox file on a server that is 300MB and several over 200MB. I'm thinking about writing a cron job script to automatically rename mail files over 200MB so a new file can be started and the old mail is still available.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I would imagine that you'll find a limit with memory as cppop has to load it when it's accessed as a whole. Exim just prepends data to it, so that shouldn't be a problem. The greates issue really is with cppop and the POP3 protocol which was not designed for such large files and the bigger they get, the tighter the exponential curve on the affect on performance of the server in dealing with it. When I find such large inboxes I "educate" the user in:

    1. Logging in and collecting it

    2. Never ever use "leave mail in inbox" or the equivalent

    3. If that have to use 2. then only keep a few days worth and clear it down

    4. They get X days to clear it down or it's emptied

    Harsh, but they will be affecting the performance of the whole server.
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    I knew you would be the one to answer. ;) Thanks
     
Loading...

Share This Page