配置安裝postfix的時候提示sendmail_path制定錯誤
因為我之前把sendmail給強行刪掉了,結果在安裝postfix的時候提示sendmail_path指定錯誤
請問大家知道怎麼解決嗎?
Please specify the final destination pathname for the installed Postfix
sendmail command. This is the Sendmail-compatible mail posting interface.
sendmail_path: /usr/sbin
Please specify the group for mail submission and for queue management
commands. Specify a group name with a numerical group ID that is
not shared with other accounts, not even with the Postfix mail_owner
account. You can no longer specify "no" here.
setgid_group: postdrop
postfix-install: Error: "sendmail_path" specifies a directory.
make: *** Error 1
《解決方案》
解決了
是因為把sendmail給刪掉了,/etc/sbin/目錄下沒有sendmail文件了
解決辦法是 ln -s ~/soft/postfix2.6/bin/sendmail /usr/sbin/sendmail
將postfix安裝目錄下的sendmail文件先鏈接過去,安裝完postfix之後再連到postfix安裝目錄下的sendmail即可