Mailing List Archive

Error: Sorry, couldn't find any host named abcd.dot.com
Hi,

I've got problems with QMail 1.00 on a Linux system:

There is a .qmail file for a user which points to another machine. This
machine
is not in the DNS, and I don't want it to be there, it's only in the
/etc/hosts
file.
I get the error as soon a there is mail for the user.
I can ping the host from the mail server an the address gets
translated correctly.

Do I have to put the host in my DNS-Server or did I make another mistake?
Thanks for your help,
Martin

GiS - Gesellschaft fuer integrierte Systemplanung mbH
Martin Sckopke Tel. +49-6201-503-45
Junkersstr. 2 Fax +49-6201-503-66
D-69469 Weinheim m.sckopke@gis.ibfs.de
Re: Error: Sorry, couldn't find any host named abcd.dot.com [ In reply to ]
> There is a .qmail file for a user which points to another machine. This
> machine
> is not in the DNS, and I don't want it to be there, it's only in the
> /etc/hosts
> file.

Mail delivery is driven by MX records. MX records only exist in the DNS,
not /etc/hosts. qmail asks the DNS for the MX records for the host in
question, and the DNS reply says "it doesn't exist".

> Do I have to put the host in my DNS-Server [...]?

Yes.

Well, all right, you could use control/smtproutes, something like this.

dns.sucks.com:[192.19.2.192]

Then qmail will deliver mail for that domain to that IP address, without
ever going anywhere near the DNS.

But (trust me :-) you're better off using the DNS.

Tim.