Can't start Postfix



  • 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'



  • I get that every time too but postfix is started.

    Check Status > Services



  • @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
    


  • 
    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



  • thx, it start when I configured postfix via loopback interface