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


 
Thread Tools Search this Thread
Operating Systems Solaris Classic: sendmail[pid]: My unqualified host name (hostname) unknown
# 1  
Old 02-01-2012
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.
Code:
My unqualified host name (hostname) unknown; sleeping for retry
unable to qualify my own domain name (hostname) -- using short name

I tried svcadm disable sendmail, but when I reboot, the annoying messages are still printed to system console Smilie

Which is the "right" way to disable sendmail permanently AND/OR to fix this issue?

Kind regards,
pc
# 2  
Old 02-01-2012
I believe you need something like this in your /etc/hosts file:

Code:
x.x.x.x yourhostname.yourdomainname loghost yourhostname


Last edited by radoulov; 02-01-2012 at 05:35 PM.. Reason: Corrected.
This User Gave Thanks to radoulov For This Post:
# 3  
Old 02-02-2012
MySQL

Thanks a lot! Worked like a charm Smilie

Actually I already had the right hostname in the hosts file, but myhostname.mydomainname was missing.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. UNIX for Advanced & Expert Users

Hostname -f hostname: Unknown host

deleted (0 Replies)
Discussion started by: hce
0 Replies

3. UNIX for Dummies Questions & Answers

Unqualified Host at boot

I'm sure this is as basic as they get. I installed Solaris 10 x86 on a compaq 7500 that I switched motherboards out with an AMD processor. Since I installed, I've gotten the "unqualified host name" message at boot plus I"m not sure how to find my NIC (or if the driver is installed). I only show... (7 Replies)
Discussion started by: ltillman
7 Replies

4. 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

5. Solaris

My unqualified host name

Hi experts . . . host name: prd47e Sunsolaris 9 version My mails are not going and am gettin regular messages like: * My unqualified host name (prd47e) unknown; sleeping for retry * unable to qualify my own domain name (prd47e) -- using short name my /etc/hosts file contnets are... (6 Replies)
Discussion started by: vrjalli
6 Replies

6. Solaris

Unqualified host name

Hi All I am Having V890 Server with Solaris 10 OS.In Dmesg showing the sendmail error. This is the error: Jul 26 22:04:56 ORACLE sendmail: My unqualified host name (ORACLE) unknown; sleeping for retry Jul 26 22:05:56 ORACLE sendmail: unable to qualify my own domain name (ORACLE) -- using... (5 Replies)
Discussion started by: ravigpb
5 Replies

7. Solaris

sendmail and unqualified addresses

I have a solaris 10 server running sendmail 8.13.8, configuration file V10. On another server I am able to send local emails without appending a domain name but on this server I cannot. The mail does not bounce, the log file says they are sent, but they are not delivered. There isn't a problem... (10 Replies)
Discussion started by: csgonan
10 Replies

8. UNIX for Dummies Questions & Answers

Solaris - unknown hostname - how can I change hostname?

Hello, I am new to Solaris. I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies

9. UNIX for Dummies Questions & Answers

dmesg on a sun, unqualified host

Oct 22 01:01:47 sendmail: My unqualified host name unknown; sleeping for retry Oct 22 01:02:47 sendmail: unable to qualify my own domain name -- using short name how to resolve this error thanks (11 Replies)
Discussion started by: yls177
11 Replies

10. UNIX for Advanced & Expert Users

sendmail : 550 host unknown

Hi I try to configure snedmail as smtp for my solaris box. if the useres are local there's no problem everything's working fine, but is it outside, sendmail says it could find the host. why?! all other tools find diffrent host? Could anyone tell me how I set up an easy mx ? So I test it with... (29 Replies)
Discussion started by: mrsaint
29 Replies
Login or Register to Ask a Question