[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • Last Modified:

sending mail using @mailsvr.domain and @domain

My linux mail server returns an error everytime I send a mail to our server as mymail@domain, however it is successful when I run it using mymail@mailserver.domain.
I already made our  dns to have an entry::
 domain.  IN MX 10 mailserver
And I thought that this would solve it, but still an error mail returns to me saying

 ----- The following addresses have delivery notifications -----
<rodney@addu.ph>  (unrecoverable error)

   ----- Transcript of session follows -----
554 MX list for addu.ph. points back to mailsrv.addu.ph
554 <rodney@addu.ph>... Local configuration error

What did I do wrong?  Any suggestion?

Thanks.

Alpha.
0
alphabugs
Asked:
alphabugs
1 Solution
 
timcCommented:
You need to add a line to /etc/sendmail.cf.  Somewhere in the local section, it may say something like:

Cwlocalhost

Add a line underneath which says:

Cwaddu.ph

(or whatever your domain name is) and restart sendmail.  It should now happily accept mail for the addu.ph domain. :-)

The Cw flag instructs sendmail to receive mail for those particular domains listed - in your case it sounds like this is not configured, so the mail reports an error.

0
 
alphabugsAuthor Commented:
Thank's a lot, the email system is now functioning properly.

Alpha
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Tackle projects and never again get stuck behind a technical roadblock.
Join Now