This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to change maximum size of message

Dear all,

I use PMX version 5 on Linux 4, I have the following problem: our users can not send or receive the emails with attached file is larger than 10 MB because my Postfix mail server has been rejecting them. I changed the option "message_size_limit" from 10240000 to 20480000 by the command "postconf -e message_size_limit=20480000". I also added the option "message_size_limit = 20480000" in file /opt/pmx/postfix/etc/main.cf and then I restart postfix service. However, when I use command : "postconf -d", I still see the option message_size_limit is 10240000. And the email which is larger 10 MB is still rejected.

Does anyone have any idea or suggestion ?

Thanks,

Hut

:38449


This thread was automatically locked due to age.
  • Hi Hut,

    Make sure that you set the mailbox_size_limit greater than what your message_size_limit is.  That maybe the cause.  Also make sure the changes you made were saved in the main.cf of PMX.

    -Jason

    :38513
  • Hi Hut .. 

    Have you solved this message size issue ? actually i have same issue like you, i'm using pmx6 and did exactly like you did .. postconf message_size_limit=20480000 and message_size_limit parameter in main.cf will change too .. but the email with size 10MB still reject by pmx with notification "message size 10966090 exceeds size limit 10485760 of
    server 172.16.20.33[172.16.20.33]"

    i have check smtp at pmx and it  pointing to 20MB (see pic)

    i've tried to looking size 10485760 in main.cf.default but still not found it .. 

    anyone have solving this issue ??

    Many Thanks, 

    Rahmat

    :43055
  • Hi .. finally i can solve this issue :smileyhappy: actually this is not PMX issue, since you can see the changes if you telnet PMX like my previous post .. the limit size was came from SEA .. :smileyvery-happy:, change the policy smtp option for global size limit then .. viooollaaa .. user can send email more than 10 MB .. 

    Policy: SMTP Options

    General 
    Method of recipient validation
    Via downstream look-ahead
    Set the global size limit to reject messages larger than10 MB
    MTA banner string%%HOSTNAME%% ESMTP Sophos Email Appliance %%Version%%
    MTA HELO string%%HOSTNAME%%
    Perimeter Protection 
    Block mail from non-existant domains
    On
    Denial of service & directory harvest protection
    On
    Advanced
    See graphical user interface for default settings
    :43057