1834058 Members
2236 Online
110063 Solutions
New Discussion

Re: user unknown

 
SOLVED
Go to solution
moon_5
Advisor

user unknown

hi all~

hpux 11.11 is running on superdome 32way

Apr 1 12:00:12 sendmail[4809]: MAA04809: SYSERR: putoutmsg (NO-HOST): error on output channel sending "550 off ... User unknown": Bad file number

this message in the syslog

what's the problem..and what shall i do ??
4 REPLIES 4
Alex Glennie
Honored Contributor
Solution

Re: user unknown

I beleive the problem is related to the OSSPI mail queue monitor osspi_mailq.sh script

you could either :

Restrict the security of some directories, so that sendmail doesn't give the warnings anymore:

# chmod go-w / /etc /etc/mail /var /var/spool /var/spool/mqueue
# chown root / /etc /etc/mail


or

# vi /etc/mail/sendmail.cf
(and add right after the line #O DontBlameSendmail=safe)
O DontBlameSendmail=GroupWritableDirPathSafe

Or if one doesn't care about sendmail checking any security setting add

O DontBlameSendmail=safe

Then stop/start sendmail.
moon_5
Advisor

Re: user unknown

thank you for your help Alex!!

one more question

i already changed name nsswitch.conf -> nsswitch.conf.old like this
because this system didn't use dns, nis...etc

but still this message in the syslog

Apr 1 16:39:18 khan2 sendmail[7564]: NOQUEUE: SYSERR(root): NIS map mail.aliases specified, but NIS not running

help me!!
Alex Glennie
Honored Contributor

Re: user unknown

where's the nsswitch.conf.old located ? if in /etc/ move it elsewhere.

what's the contents of the nsswitch.conf file and what do you get if you run nslookup ?

version of sendmail ?

moon_5
Advisor

Re: user unknown

i moved the nsswitch.conf.old to elsewhere
and sendmail version is 8.9.3

$ nslookup khan1(hostname)
Using /etc/hosts on: khan1

looking up FILES
Name: khan1
Address: 210.123.91.91
Aliases: khan1_base.

#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#

passwd: compat
group: compat
hosts: files [NOTFOUND=continue] dns [NOTFOUND=continue] files
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files
services: nis [NOTFOUND=return] files