Technical article 109449

After converting my mail from UUCP to SMTP, I get an error "no data known" when sending mail to some domains.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

I have switched my email server from a UUCP connection to the
world to an SMTP connection through an ISP.  Now, when I send
mail to some domains, I get an error "no data known" and the mail
is returned to sender.
The error will look something like:

----- The following addresses had permanent fatal errors ----- craigd@sco.com

----- Transcript of session follows ----- 550 craigd@sco.com... Host unknown (Name server: sco.com.: no data known)

Running sendmail in verbose mode (see example, below) gives the following error:

# ./sendmail -v craigd@sco.com
test message
.
craigd@sco.com... Connecting to sco.com. via smtp...
craigd@sco.com... Host unknown (Name server: sco.com.: no data known)
/dead.letter... cannot open: Permission denied
root... Connecting to local...
root... Sent
#

Cause

The server may not be configured to use DNS properly.  Many sites
using UUCP as their mail transport have sendmail configured to do
no DNS lookups of the destination address, and instead just forward
the mail to their Internet gateway machine.

Solution

The file /etc/service.switch may be present, telling sendmail to
ignore DNS lookups.  Simply rename or move the service.switch file
and DNS will be used normally.

Also, you may need to update your /etc/resolv.conf file so that your DNS queries are directed at the proper server.

See also

sendmail, Costales and Allman, O'Reilly and Associates.  Also,
see the sendmail(ADMN) and resolver(SFF) manual pages.

From the Xinuos technical article database, record 109449. Reproduced with permission. The original is at www.sco.com/ta/109449, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.