PFSense 2.1 + Postfix



  • появилась необходимость прикрутить постфикс, поставил из пакэджей текущую версию 2.10.2 pkg v.2.3.7, настроил базовы параметры (типа домена, куда форвардить, реципиентов прописал, к лдапу пока не стал прикручивать), но что-то не хочет он стартовать, в логах пишет вот так вот

    Oct 29 08:24:13	php: rc.start_packages: Reloading/starting postfix
    Oct 29 08:24:13	php: rc.start_packages: sync_package_postfix called with via_rpc=no
    Oct 29 08:24:13	postfix/postfix-script[38145]: fatal: the Postfix mail system is not running
    Oct 29 08:24:13	php: rc.start_packages: Postfix setup completed
    Oct 29 08:24:13	php: rc.start_packages: sync_package_postfix called with via_rpc=no
    Oct 29 08:24:13	php: rc.start_packages: sync_package_postfix called with via_rpc=no
    Oct 29 08:24:14	syslogd: exiting on signal 15
    Oct 29 08:24:14	syslogd: kernel boot file is /boot/kernel/kernel
    Oct 29 08:24:14	postfix/postfix-script[50899]: fatal: the Postfix mail system is not running
    Oct 29 08:24:14	php: rc.start_packages: 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'
    Oct 29 08:24:14	php: rc.start_packages: Writing out configuration
    Oct 29 08:24:14	syslogd: exiting on signal 15
    Oct 29 08:24:14	syslogd: kernel boot file is /boot/kernel/kernel
    Oct 29 08:24:16	php: rc.start_packages: Writing rc_file
    Oct 29 08:24:16	postfix/postfix-script[56631]: warning: not owned by root: /var/spool/postfix
    Oct 29 08:24:16	postfix/postfix-script[60209]: fatal: the Postfix mail system is not running
    Oct 29 08:24:16	php: rc.start_packages: 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'
    Oct 29 08:24:16	php: rc.start_packages: Writing out configuration
    Oct 29 08:24:17	php: rc.start_packages: Reloading/starting postfix
    Oct 29 08:24:18	postfix/postfix-script[63847]: fatal: the Postfix mail system is not running
    Oct 29 08:24:18	php: rc.start_packages: Postfix setup completed
    Oct 29 08:24:18	postfix/postfix-script[61960]: starting the Postfix mail system
    Oct 29 08:24:18	php: rc.start_packages: Writing rc_file
    Oct 29 08:24:18	postfix/master[65937]: fatal: /usr/pbi/postfix-amd64/etc/postfix/master.cf: line 3: no valid IP address found: smtp
    Oct 29 08:24:18	php: rc.start_packages: sync_package_postfix called with via_rpc=no
    Oct 29 08:24:18	php: rc.start_packages: sync_package_postfix called with via_rpc=no
    Oct 29 08:24:18	postfix/postfix-script[67062]: fatal: the Postfix mail system is already running
    Oct 29 08:24:18	php: rc.start_packages: sync_package_postfix called with via_rpc=no
    Oct 29 08:24:18	php: rc.start_packages: sync_package_postfix called with via_rpc=no
    Oct 29 08:24:19	php: rc.start_packages: Reloading/starting postfix
    Oct 29 08:24:19	postfix/master[65399]: fatal: daemon initialization failure
    Oct 29 08:24:19	postfix/postfix-script[69510]: fatal: the Postfix mail system is not running
    Oct 29 08:24:19	php: rc.start_packages: Postfix setup completed
    Oct 29 08:24:19	php: rc.start_packages: sync_package_postfix called with via_rpc=no
    Oct 29 08:24:19	php: rc.start_packages: sync_package_postfix called with via_rpc=no
    Oct 29 08:24:19	php: rc.start_packages: sync_package_postfix called with via_rpc=no
    Oct 29 08:24:19	php: rc.start_packages: sync_package_postfix called with via_rpc=no
    Oct 29 08:24:19	postfix/postfix-script[79634]: warning: not owned by root: /var/spool/postfix
    Oct 29 08:24:19	postfix/postfix-script[83251]: starting the Postfix mail system
    Oct 29 08:24:19	postfix/master[83311]: fatal: /usr/pbi/postfix-amd64/etc/postfix/master.cf: line 3: no valid IP address found: smtp
    Oct 29 08:24:20	postfix/postfix-script[83578]: fatal: mail system startup failed
    Oct 29 08:24:20	postfix/postfix-script[87515]: fatal: the Postfix mail system is already running
    Oct 29 08:24:20	postfix/master[83288]: fatal: daemon initialization failure
    Oct 29 08:24:21	postfix/postfix-script[97600]: fatal: mail system startup failed
    Oct 29 08:24:21	postfix/postfix-script[99554]: warning: not owned by root: /var/spool/postfix
    Oct 29 08:24:21	postfix/postfix-script[3355]: starting the Postfix mail system
    Oct 29 08:24:21	postfix/master[3801]: fatal: /usr/pbi/postfix-amd64/etc/postfix/master.cf: line 3: no valid IP address found: smtp
    

    вроде как master.cf ему не нравится, но из гуя он не редактируется (или я проглядел)
    короче, что я делаю не так? :)



  • Oct 29 08:24:19 postfix/postfix-script[79634]: warning: not owned by root: /var/spool/postfix

    Oct 29 08:24:19 postfix/master[83311]: fatal: /usr/pbi/postfix-amd64/etc/postfix/master.cf: line 3: no valid IP address found: smtp

    Как бы намек.

    но из гуя он не редактируется (или я проглядел)

    WINSCP