SUSE Support

Here When You Need Us

Host found but no data record of requested type

This document (3264190) is provided subject to the disclaimer at the end of this document.

Environment

SuSE Linux Enterprise Server 9
Postfix 2.1.1

Situation

Error: "Jul 10 09:03:44 server postfix/smtp[28973]: 6CF624C6E:
to=, relay=none, delay=0, status=bounced (Host or domain name not
found. Name service error for name=spcorp.com type=AAAA: Host found but no data record of requested type)"
Error: "
Name service error for name=spcorp.com type=A: Host found but no data record of requested type)"
Relayhost defined in /etc/postfix/main.cf
Mail not getting sent to relay host

Resolution

There are various allowed formats for the relayhost directive:
# The relayhost parameter specifies the default host to send mail to
# when no entry is matched in the optional transport(5) table. When
# no relayhost is given, mail is routed directly to the destination.
#
# On an intranet, specify the organizational domain name. If your
# internal DNS uses no MX records, specify the name of the intranet
# gateway host instead.
#
# In the case of SMTP, specify a domain, host, host:port, [host]:port,
# [address] or [address]:port; the form [host] turns off MX lookups.
#
# If you're connected via UUCP, see also the default_transport parameter.
#
#relayhost = $mydomain
#relayhost = [gateway.my.domain]
#relayhost = [mailserver.isp.tld]
#relayhost = uucphost
#relayhost = [an.ip.add.ress]


The format that worked is:
relayhost = relay.domain.com:25

Additional Information


Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3264190
  • Creation Date: 11-Jul-2006
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.