Email Size Limit

Discussion in 'Installation/Configuration' started by dayjahone, Jan 7, 2010.

  1. dayjahone

    dayjahone Member

    How do I increase it and is there any reason not to increase it to...say...20mb?
     
  2. dipeshmehta

    dipeshmehta Member

    if you are using postfix then you can edit the line in /etc/postfix/main.cf with
    Code:
    message_size_limit = some figure
    . The figure is displayed in byte, so you may put desired figure here.

    Hope it works.

    Dipesh
     
  3. dayjahone

    dayjahone Member

    I cannot find that line in my main.cf file but email size is still limited to 4 or 5MB it seems. I imagine that is set somewhere...

    This is the mail error I am trying to avoid getting:
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Then add the line.
     
  5. dayjahone

    dayjahone Member

    Wouldn't that be adding an additional restriction when I want to increase the limitation?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    No, as postfix has compiled in limits that get overridden by this variable. Please add this line.
     
  7. dayjahone

    dayjahone Member

    Can it be any number or do I have to do it in specific increments?

    So...

    postconf -e 'message_size_limit = 20000000' ?
     
  8. falko

    falko Super Moderator Howtoforge Staff

    It can be any number.
     

Share This Page