hello, we have set up a centos 6 server.
on my dns entries the server's ip points to test.example.com
when i try to send an email from my server to my email
user@example.com which it's on godaddy i get an error on the maillog user unknown but i am able to send emails to my gmail account.
when i do
sendmail -bv
user@example.com
root... deliverable: mailer local, user root
sendmail -bv
user@gmail.com
I will get deliverable: mailer esmtp, host gmail.com
So what I assume is that the sendmail is trying to deliver the emails to local accounts which they do not exist.
my /etc/hosts:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.75 test test.example.com
How can I set up sendmail not to try to send on the local users???
If i dig mx example.com
I get the godaddy dns servers.
any ideas guys???
thanks