Postfix - mailbox_size_limit is smaller than message_size_limit

Discussion in 'Server Operation' started by Neptun, Sep 10, 2019.

Tags:
  1. Neptun

    Neptun Member

    Dear all,
    i have found an issue in my mail error logs - where never something was inside long time since server setup - but now everything is full with:
    Code:
    Sep 10 21:32:21 server0101 postfix/local[10748]: fatal: main.cf configuration error: mailbox_size_limit is smaller than message_size_limit
    Sep 10 21:33:22 server0101 postfix/local[10795]: fatal: main.cf configuration error: mailbox_size_limit is smaller than message_size_limit
    When i check the settings i get following output:
    Code:
    [email protected]:/tmp# postconf -n | grep message_size_limit
    message_size_limit = 0
    [email protected]:/tmp# postconf -n | grep mailbox_size_limit
    mailbox_size_limit = 0
    [email protected]:/tmp# postconf -d | grep message_size_limit
    message_size_limit = 10240000
    [email protected]:/tmp# postconf -d | grep mailbox_size_limit
    mailbox_size_limit = 51200000
    How can this be fixed ?

    Thanks in advance
     
    Last edited: Sep 10, 2019
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Check what you have in Postfix main.cf about those variables:
    Code:
    egrep "(message_size_limit|mailbox_size_limit)" /etc/postfix/main.cf
     
  3. Neptun

    Neptun Member

    There is nothing set at main.cf - i have perfect server setup in use
    -> this was never needed, i have also checked with the latest updated tutorial from Till, there is everywhere default in use & no manual changes about it

    The error happens since last ispconfig update to 3.1.15, with the logfiles & dates it match (this could be only a contingency) - before was nothing in the error logs & i have nothing added or changed in the meantime at postfix settings

    I have checked postfix tutorials & information in the web too - if there is nothing set additional, default will be used & this settings look ok for me - therefore the error makes no sense - but it happens every 1-3 minutes
     
    Last edited: Sep 11, 2019
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Might be a coincidence triggered by restarting postfix. As your postconf shows, both variables are at their defaults, so not set by ispconfig at all. Try to set them both in main.cf, you can do that also trough the ISPConfig interface, see System > serevr config > mail.
     

Share This Page