postfix problem starting on CentOs vps

I am having major problems with mail configuration. Forgot about mail when switched my drupal site to unmanaged VPS which has already taken me two weeks to work out how to install via command line.

Realize now drupal cannot run for signups or any mail related jobs without first setting up mail on the VPS.

So followed this tutorial : http://www.techotopia.com/index.php/Configuring_a_CentOS_Postfix_Email_Server#Starting_Postfix_on_a_CentOS_System

Does it work for me? nope. I get the following errors:

-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

Since reading that tutorial I have read many others and ended up making all of the following edits in my postfix main.cf file but I really have no idea what I am doing esp with my drupal site installed in a subdomain folder!
And haven’t even got to the database side of things yet:

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

Hope someone will steer me in right direction. Feeling overwhelmed by it. :confused:

how do i edit this post?

its been solved - just need to install difficul nut ove to know where either edit of delete button is in here!?

Sponsor our Newsletter | Privacy Policy | Terms of Service