Navigation

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

    Postfix custom options ineffective

    pfSense Packages
    2
    3
    432
    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
      • Bismarck
        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

          Products

          • Platform Overview
          • TNSR
          • pfSense Plus
          • Appliances

          Services

          • Training
          • Professional Services

          Support

          • Subscription Plans
          • Contact Support
          • Product Lifecycle
          • Documentation

          News

          • Media Coverage
          • Press
          • Events

          Resources

          • Blog
          • FAQ
          • Find a Partner
          • Resource Library
          • Security Information

          Company

          • About Us
          • Careers
          • Partners
          • Contact Us
          • Legal
          Our Mission

          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

          Subscribe to our Newsletter

          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

          © 2021 Rubicon Communications, LLC | Privacy Policy