접미사 오류를 해결하는 방법은 무엇입니까?

접미사 오류를 해결하는 방법은 무엇입니까?

CentO에서 VPS에 대한 postfix 설정에 대한 몇 가지 기본 튜토리얼을 살펴본 후 다음을 얻으십시오.

-bash-4.1# postfix start
/usr/libexec/postfix/postfix-script: line 317: cmp: command not found
postfix/postfix-script: warning: /usr/lib/sendmail and /usr/sbin/sendmail differ
postfix/postfix-script: warning: Replace one by a symbolic link to the other
postfix/postfix-script: starting the Postfix mail system

main.cf내 편집 내용은 다음과 같습니다 .

myhostname = myservername.sub.mysite.net
mydomain = sub.mysite.net
myorigin = $myhostname
myorigin = $mydomain 
inet_interfaces = all
inet_interfaces = $myhostname
inet_interfaces = localhost
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks = 192.168.0.0/16, 127.0.0.0/8

sendmail도 제거했지만 아직 데이터베이스를 설정하지 않았으며 오류 없이 postfix를 시작하려고 합니다.

이것이 문제인가요? 두 파일이 모두 빨간색인 이유는 무엇입니까? usr/sbin

답변1

온전성 검사를 위해 postfix에 필요한 바이너리를 diffutils제공하는 이 패키지가 누락되었을 수 있습니다 .cmp

sudo yum install diffutils

그게 당신에게 도움이 될 것입니다.

관련 정보