Hiren Dave wrote:

Here I have used yahoo.com domain but it can be any domain lets say domain.com . My network is not connected to Internet. Still do you think that the following will not work if guru.com exists and domain.com does not exists physically.

If your domain is NOT connected to internet, how is your MTA
(sendmail) gonna find which mailserver is authorised for
"domain.com"? "domain.com" does not have to "exist", but there
MUST be a nameserver, authorised for "domain.com"...

In such a case, you must be sure, that your default nameserver
(in resolv.conf) is authorised for guru.com AND domain.com
(because as you said, your network is not connected to internet)
and that it has MX-record in zone-files for both domains pointing
to server1.guru.com.

I recommend that you start checking your nameserver first, with
"dig any domain.com", for example, or nslookup. In the answer there
must be something like "domain.com. IN MX 10 server1.guru.com."
If you do not get it, your nameserver is misconfigured, and
your MTA (sendmail) does not know where to deliver mail
for domain.com.

Once more:
1. nameserver authorised for a certain domain (e.g. domain.com)
 defines WHERE mail for this domain should be delivered
2. virtusertable maps virtual users to local mailboxes.
But just adding entry in virtusertable does not mean your
mailserver will get mail for that virtual user/domain...

And one more thing, there should be some entries in logs,
if your mail can not be delivered. If necessary, increase
log levels for bind/sendmail to get more info...

Jarry

BTW, could you please turn off that html-garbage?
--
gentoo-user@gentoo.org mailing list

Reply via email to