Navigation

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

    Can't start Postfix

    pfSense Packages
    2
    5
    1006
    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
      Safer last edited by

      subj: Pfsense 2.1 + postfix 2.10.2 pkg v.2.3.7
      basic config in GUI, like domain and mail server ip.
      Errors in system log

      Oct 29 08:37:44 postfix/postfix-script[96988]: fatal: the Postfix mail system is not running
      Oct 29 08:37:44 php: /pkg_mgr_install.php: The command '/usr/local/sbin/postfix reload' returned exit code '1', the output was '/usr/pbi/postfix-amd64/sbin/postconf: warning: /usr/pbi/postfix-amd64/etc/postfix/master.cf: unused parameter: user=postfix'

      1 Reply Last reply Reply Quote 0
      • B
        biggsy last edited by

        I get that every time too but postfix is started.

        Check Status > Services

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

          @biggsy:

          I get that every time too but postfix is started.

          Check Status > Services

          I have try start manualy via services:

          Oct 29 10:56:46	postfix/postfix-script[74963]: fatal: the Postfix mail system is not running
          Oct 29 10:56:46	php: /status_services.php: The command '/usr/local/etc/rc.d/postfix.sh stop' returned exit code '1', the output was '/usr/pbi/postfix-amd64/sbin/postconf: warning: /usr/pbi/postfix-amd64/etc/postfix/master.cf: unused parameter: user=postfix'
          Oct 29 10:56:48	postfix/postfix-script[85174]: warning: not owned by root: /var/spool/postfix
          Oct 29 10:56:48	postfix/postfix-script[89232]: starting the Postfix mail system
          Oct 29 10:56:48	postfix/master[89796]: fatal: /usr/pbi/postfix-amd64/etc/postfix/master.cf: line 3: no valid IP address found: smtp
          Oct 29 10:56:49	postfix/master[89497]: fatal: daemon initialization failure
          Oct 29 10:56:50	postfix/postfix-script[96454]: fatal: mail system startup failed
          
          1 Reply Last reply Reply Quote 0
          • B
            biggsy last edited by

            
            Oct 29 10:56:48	postfix/master[89796]: fatal: /usr/pbi/postfix-amd64/etc/postfix/master.cf: line 3: no valid IP address found: smtp
            Oct 29 10:56:49	postfix/master[89497]: fatal: daemon initialization failure
            
            

            So that's the problem.  Check your basic config against this:

            https://forum.pfsense.org/index.php?topic=70541.msg384977#msg384977

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

              thx, it start when I configured postfix via loopback interface

              1 Reply Last reply Reply Quote 0
              • First post
                Last post