sendmail : 550 host unknown


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users sendmail : 550 host unknown
# 22  
Old 11-08-2001
step by step

that's the equipment. There's one single mail server for smtp. It's got a permanent Internet connection so it doesn't need to relay or forward mails to an outstanding mailsever. It should directly send the mails to the addressed domains.

My ISP set my two DNS Primary and secondary as usual.

that's the whole stuff.

I think your right about the dns problems. It isn't directly on dns resolving. but sendmail needs for sending to diffrent domains through itself as fqdn. The errors refers to mailhost.mydomain.com, what isn't already defined in my dns, so sendmail couldn't find it, actually itself.
I dont know why but there are two dffrent cases about sendmail, I guess.

a) send mail to local domain. It don't look for mailhost.whatever.com, just localhost. No dns query!

b) ougoing mail to a differnt domain. Look for dns entrie on its own domain in dns - mailhost.domain.com what it couldn't find, so the fatal error happend and breaks at mailhost.mydomain.com host unknown!

Is my idea possible?

I don't know why sendmail needs to look for itself dns entrie to resolv itself.
# 23  
Old 11-08-2001
Your details are not sufficient. To solve the problem we need the complete details. For example: What is the FQDN of the machine where you are to trying to configure sendmail ?

Just this FQDN would be a great help ..... thanks
# 24  
Old 11-09-2001
fqdn

fqdn is sharkms.ch . but the domain is inactive. why is this a great help? anyway, any help is good!
# 25  
Old 11-09-2001
Because of this:

Code:
server# nslookup
> set type=ANY
> sharkms.ch
Server:         64.23.27.23
Address:        64.23.27.23#53

** server can't find sharkms.ch.: NXDOMAIN

So, it is not possible to send any mail to sharkms.ch because it is not working in DNS properly as a FQDN.

What is the nameserver IP address for sharkms.ch ? We will check this for MX records and other problems (if possible...)
# 26  
Old 11-12-2001
I set up the dns server, in a few hours should be all up! But why do I need this just for using smtp? For pop3 is clear! To resovl the server itself can be harcoded in host, isn't it?
# 27  
Old 11-12-2001
From the FAQS on Sunsolve:
Quote:
Description
Top


Sendmail not working - host unknown.

From Mailer-Daemon ....

550 user@abc.defghjk.com... Host unknown (Name server: abc.defghjk.com:
no data known)

Mail gateway defined with DNS MX record.

nslookup works ok.

mail user@machine.firm.nl works if machine.firm.nl appears as a DNS A
type record.

Solution Summary
Top


As there is no A type record to convert host name to address, you need
to tell sendmail to use DNS name lookup.

In /etc/mail/sendmail.cf in the Options section you need:

# Turn on the DNS name look up
OI

This is included in versions of sendmail.cf supplied with some patches
and included in Solaris 2.6
# 28  
Old 11-13-2001
deferred: connection refused by...

The dns is set up with the domain for my server but now I go this message by testing sendmail... does anyone know why sendmail defferes the message?

thanks!!
--------

# /usr/lib/sendmail -v p.knecht@2wire.ch < /etc/hosts
p.knecht@2wire.ch... Connecting to mailhost.sharkms.ch. via relay...
p.knecht@2wire.ch... Deferred: Connection refused by mailhost.sharkms.ch.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Problems host name lookup failure sendmail

Hi I have a problem in sendmail Freebsd when sending emails to yahoo as an example, I get: Sep 5 10:05:43 local50 sm-mta: STARTTLS=client, error: connect failed=-1, SSL_error=1, errno=0, retry=-1 Sep 5 10:05:43 local50 sm-mta: STARTTLS=client: 43926:error:1407742E:SSL... (3 Replies)
Discussion started by: rickyarge92
3 Replies

2. HP-UX

Sendmail - relay Host unknown since adding dns

Hi ever since we´ve added the server in DNS, sendmail stopped working, but everything seems to be configured properly although in the mail logs we see: Jul 10 16:52:58 itc01 sendmail: t6AEqrHT005593: from=root, size=6, class=0, nrcpts=1, msgid=<201507101452.t6AEqrHT005593@itc01.headquarter.tmm>,... (3 Replies)
Discussion started by: fretagi
3 Replies

3. Solaris

SMTP Server 550 5.1.1 User unknown Error

Hello All, I am currently running a Solaris 10 machine as inbound SMTP server i.e. bringing Emails from outside into our company. In /var/spool/mqueue , I have mails that are pending for the past 4-5 days. They are not being delivered and are causing my mount point size to increase. Error... (0 Replies)
Discussion started by: Junaid Subhani
0 Replies

4. Solaris

Classic: sendmail[pid]: My unqualified host name (hostname) unknown

Hi all, I'd like to disable sendmail permanently on my "new" 220R with freshly installed SunOS 5.10 because it prints annoying messages to the system console. Also I'm interested in how to fix the actual problem with unqualified host name. My unqualified host name (hostname) unknown; sleeping... (2 Replies)
Discussion started by: pseudocoder
2 Replies

5. Linux

Sendmail takes too long to start and the host is unable to send emails

Hello All, Sendmail takes too long to start and the host is unable to send emails, below are the steps followed, Please let me know if I'm missing anything, is there a debug mode for mailx? # time service sendmail restart Shutting down sm-client: Shutting... (6 Replies)
Discussion started by: lovesaikrishna
6 Replies

6. UNIX for Dummies Questions & Answers

Sendmail error: 550 5.1.8 invalid/host-not-in-DNS

I have sendmail setup to relay through my external ISP. Everything was working fine until I started getting the error message (below). I don't what I did to cause this? I have read a number of related posts and it appears that I might need to configure the sending address of my server to appear... (0 Replies)
Discussion started by: simonmason
0 Replies

7. Solaris

PING - Unknown host 127.0.0.1, Unknown host localhost - Solaris 10

Hello, I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems: 1. When I execute the command ping, I get weird results: bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies

8. UNIX for Dummies Questions & Answers

unknown host

Hello all I'm new to this site and I have to say that ,it is just awesome. I was able to get most of my questions answered by reading the archives. I've been a UNIX programmer for a while now but new to administration. I just installed SunOS 5.9 on my desktop ( i86pc) . Everything... (3 Replies)
Discussion started by: luft
3 Replies

9. UNIX for Advanced & Expert Users

How do I ftp to an unknown host?

after ftp. ftp.umass.edu, I get "UNKNOWN HOST" There is no prompt for username. What do I do so that I can ftp files out? Or even email, to an unknown host. (3 Replies)
Discussion started by: AllyJones
3 Replies

10. UNIX for Advanced & Expert Users

sendmail : connect local host (brocken)

hi there I've got a strange problem with a webserver box (suse linux 7.2). My MTA is sendmail, and when I tried manually send a mail. Sendmail -v "user@something" < /etc/hosts The Server tried "simon@localhost... Connecting to local..." but nothing happend and the system hold on. This... (3 Replies)
Discussion started by: mrsaint
3 Replies
Login or Register to Ask a Question