Mails are being received on host.domain.com but not on domain.com
Hello Fellows,
Few months ago, I did setup a mail server and I faced a problem. Simply, I could receive emails sent to xxx@hostname.website.com but I couldn't get them when they are pointed to xxx@website.com. After long googling (several days) I could solve that problem. (Then why you are here?) Alright, the same problem is going on, but on another setup, another box. And, to be honest, I'd like to be pointed to where should I look to solve this out, so I can solve it quickly if I faced it any time in the future. ====== The System ======
And question is welcome :) Thanks in advance.. |
The first two things to check...
...are your DNS setup, and your mail server's setup. For the problem you describe, it could reside in either, but is most likely in the second. Find the documentation for your mail server and read how to set up different domains.
|
Quote:
By the way, when I send to root@domain.com, I get bounce message: <root@domain.com>: host mail.domain.com[xx.xx.xx.xx] said: 550 5.7.1 <root@domain.com>... Relaying denied. IP name possibly forged [zz.zz.zz.zz] (in reply to RCPT TO command) While, I don't get it and I receive the mail when I send to root@mail.domain.com Regards.. |
Any suggestions?
:) |
Quote:
I'm not sure exactly how to do this in sendmail but if I recall correctly, you need to add the line "domain.com" to local-host-names file. You're getting the error message because your server doesn't understand it is supposed to accept mail to domain.com. It's trying to relay the message to a domain it considers external and relaying is denied by default. |
Quote:
In fact, I was heading to mark this topic as [SOLVED] after I was finally able to solve it..!! and so I found your reply.. :) Yup, that was the sort-out for that problem.. Lol, how easy but affective.. Thanks Buddy :) |
All times are GMT -5. The time now is 06:50 AM. |