On Fri, May 26, 2000 at 10:34:54AM +0530, System Administrator wrote:
> Hi
>
> can anyone help me out in the following problem ?
>
> i have a domain adfl-indianfood.com whose earlier mx records where
> pointing to my server.no i have changed the dns entries to pointing to the
> new address, but qmail running at my server bounces the mails for the
> domain saying that there is no mailbox here by that name.
>
> i have removed the domain entries from the follwoing file :
> /var/qmail/control/morercpthosts
> /var/qmail/control/virtualdomains
> /etc/aliases
>
> but the mails still get bounced.
As long as some host out there on the vast ocean of ip thinks that your host
is the port for all mail bound to 'adfl-indianfood.com', then your host is
the one who will get it.
As you've REMOVED it from all your rcpthost files, your host will do nothing
but reject the mail to that domain. I.e. BOUNCE it.
If you want to do something else, there is three possible solutions which both
requires you to add the domain to your rcpthosts or your morercpthosts
again:
1. Do nothing but have the domain in your rcpthosts/morercpthosts-file. Your
host will then act as secondary mail server for domain and route all
incoming mail for that domain to the new one found in DNS with highest
possible MX.
2. Route the mail explicitly in your smtproutes file "just to be sure", or
if you yourself suffer from an ill-updated DNS.
3. (not so polite) Set up a virtual domain and drop the mail on the floor.
(just ignore the incoming mail).
/magnus