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.

Set mail attachment size limit?

Discussion in 'E-mail Discussions' started by Ed123, Mar 3, 2003.

  1. Ed123

    Ed123 Registered

    Joined:
    Mar 2, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Is there a way to apply an attachment size limit to exim/smtp for 1.) outgoing mail in general, and 2.) mail sent to (cPanel-defined list) list recipients.

    Problem: A customer of mine sent an e-mail w/ a 42MB (!!!) attachment to a list of 11 recipients (all recipient mailboxes on the same server), which sent qrunner into a tizzy. We finally got that straightened out and advised the customer. Later, someone else there sent 11 individual messages containing the same attachment to the same recipients.

    Would like to have a situation where the server just says "no" to large attachments anyone attempts to send.

    Thanks for any help.
     
  2. compunet2

    compunet2 Well-Known Member

    Joined:
    Feb 21, 2003
    Messages:
    310
    Likes Received:
    0
    Trophy Points:
    16
    Anyone have a answer for this?
     
  3. pats

    pats Well-Known Member

    Joined:
    Mar 13, 2002
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    don't know if you giys solved the problem or not, but here's the solution:

    change message_size_limit in /etc/exim.conf , so to to put a limit of 500KB you should mention 500K in the exim.conf

    cPanel.net Support Ticket Number:
     
  4. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    cool,

    Thanks for the tip :)

    cPanel.net Support Ticket Number:
     
  5. Doctor

    Doctor Well-Known Member

    Joined:
    Apr 26, 2003
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Under which section should I put "message_size_limit=?M" in exim.conf? Can I put it under ACL?

    cPanel.net Support Ticket Number:
     
  6. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    16
    There is no message_size_limit in exim.conf
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yup, that's right. By default there is no size limit (beyond the users email account size).
     
  8. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    Do you think it is good to set a message limit? Please write - do you have one and how big it is?
     
  9. Doctor

    Doctor Well-Known Member

    Joined:
    Apr 26, 2003
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    For me, I think it is good to have control over this as it affects server load when large messages are being sent out. I would advise setting it to 5MB.
     
  10. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    16
    For us running /scripts/fixquotas did fix the problem.
     
  11. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    Size Limit

    I seriously hope you don't have any customers affected. I would think 50MB is a more reasonable limit.

     
  12. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Re: Size Limit

    True. With todays digital imaging and high speed popularity, 5MB is quite a restriction.
     
  13. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    Under which heading in exim.conf is message_size_limit? Do we need to add it manually?
     
Loading...

Share This Page