Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Postfix custom options ineffective

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 763 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sheepthief
      last edited by

      Hi folks,

      I'm using the postfix 2.4.6 on pfsense 2.2.6, and for the most part things are great. But, I have an issue which is likely to cause me to give up and use Centos instead.

      Although there's the facility to add lines to main.cf via "custom main.cf options", any options are included in main.cf near the top, and it seems that when postfix evaluates main.cf it uses the last setting for an option.

      So, there's no GUI setting for message_size_limit, but there is a line in the default main.cf to set it to 10240000. I thought I could override it using the "custom main.cf options", but my option of

      message_size_limit = 40000000

      comes first in main.cf, and is overriden by the later default option of

      message_size_limit = 10240000

      As I need a fairly quick fix for this, I'm wondering if there's a way to remove the default limit. Obviously it's in a file somewhere! I need to find that file and fix it (and it's not main.cf.default).

      Any suggestions?

      1 Reply Last reply Reply Quote 0
      • BismarckB
        Bismarck
        last edited by

        Why not just use the "Maximum message size" in the General tab of the Postfix package?  :P

        1 Reply Last reply Reply Quote 0
        • S
          sheepthief
          last edited by

          Oops. It was there all the time, staring me in the face! I kept seeing the option lower down, Max file size, which is for sqlite file size.

          Thanks!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.