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

    Postfix-Fowarder breaks system when enabled on 2.1

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 1.8k 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.
    • gwhynottG Offline
      gwhynott
      last edited by

      posted this on the list and opened a bug ticket.  one of the devs suggested i also posted here.

      I ran across an issue while installing the postfix-relay package today.

      The package installs correctly without issue, but after you start to configure options under the 'general' tab, upon saving it loads an error page with the error:

      Parse error: syntax error, unexpected '*' in /etc/inc/system.inc on line 561

      we see this at line 561 in system.inc:

      mail.* /var/log/maillog

      at this point you can no longer use the web interface for administration of the pfsence box.

      This may be specific to my setup, but aside from standard queuing and proxying, there wasn't many additions or modifications made to the original install config.

      method to reproduce:

      packages added to default config:

      LightSquid
      mtr-nox11
      RRD summary
      squid3
      Postfix-Forwarder

      Original Install was 2.0, upgraded to 2.0.1

      From command line install perl ldap (/usr/sbin/pkg_add -r p5-perl-ldap) as suggested under "Recipients" tab. (intent is to use the AD to pull valid email addresses).
      Install Postfix forwarder package.
      From services select 'postfix forwarder'.
      Click 'enable postfix' under General tab.
      Click 'Outside' from Listen interfaces.
      Under Logging select /var/log/maillog.
      Leave all other options unaltered.
      Click Save.

      upon doing so you may see the parse error from above.

      opening the file system.inc and removing the ^mail.* line will allow the web interface to be accessible again. any future saves under the postfix-forwarder general tab will bring back the error condition.

      1 Reply Last reply Reply Quote 0
      • gwhynottG Offline
        gwhynott
        last edited by

        I see this is a known issue from a few days ago and a fix has been released.

        http://forum.pfsense.org/index.php?topic=44224.0

        greg

        1 Reply Last reply Reply Quote 0
        • D Offline
          darklogic
          last edited by

          update your postfix forwarder from 2.3.2 to 2.3.3. It resolved the same issue you are having.

          1 Reply Last reply Reply Quote 0
          • gwhynottG Offline
            gwhynott
            last edited by

            @darklogic:

            update your postfix forwarder from 2.3.2 to 2.3.3. It resolved the same issue you are having.

            as indicated in the link.  but thanks for taking the time to post.

            -g

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