After following several tutorials on setting up postfix at basic level on CentOs for my VPS, continue to get the following:
-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 below are my edits:
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
Also removed sendmail but haven't yet set up db, just trying to get postfix to start without errors.
Is this the problem? why are two files in red?