自从手动更改了FreeBSD的局域网IP地址后,系统每次启动完成后都会显示如下出错信息:
sm-mta[439]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon0: cannot bind: Can't assign requested address
sm-mta[439]: daemon Daemon0: problem creating SMTP socket
sm-mta[439]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon0: server SMTP socket wedged: exiting
sm-mta[439]: daemon Daemon0: problem creating SMTP socket
sm-mta[439]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon0: server SMTP socket wedged: exiting
前两天尝试在网上搜索解决方法,找到如下解决方法:
禁用sendmail在/etc/rc.conf中加入
sendmail_enable="NONE"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_queue_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_queue_enable="NO"