SUMMERY: "User Uknown" problem in sendmail

From: Hagit Tamir (hagit@chipcom.com)
Date: Mon Nov 08 1993 - 08:23:10 CST


------- Start of forwarded message -------

Many Thanks to those who replied and tried to help me with my problem.
My Original question was:

=============================================================================
I am having a problem when trying to send mail from a SUBSIDIARY machine
to more than one local user.
I have a mailhost machine that is a Sparc 2 running SunOs4.1.3.
My subsidiary machine is also A Sparc 2 running SunOs4.1.3.
When I try to send mail to more than two users locally I get this message:

550 test-2... User unknown
550 ltd-eng... User unknown
550 Postmaster... User unknown

   ----- Unsent message follows -----
Return-Path: <hagit>
Received: by cltd.chipcom.com (4.1/SMI-4.1)
        id AA08030; Tue, 26 Oct 93 17:51:58 IST
Date: Tue, 26 Oct 93 17:51:58 IST
From: hagit (Hagit Tamir)
Message-Id: <9310261551.AA08030@cltd.chipcom.com>
To: ltd-eng, test-2
Subject: test mail

The alias test-2 is this alias:
test-2: user1,user2

The two users are the following:
user1: user1@mailhost
user2: user2@mailhost

The alias ltd-eng is a list of local users (twelve users).

When I try to send to test-2@mailhost or ltd-eng@mailhost. I dont get any
error message.

Although I get an error message the mail is SENT. But this error message
is really annoying.

I will appreciate any help.
 
=============================================================================

I also forgot to mention the fact that the aliases were a NIS database
aliases.

I got some answers to the problem, I tried all of them but I could not
solve the problem, I still got this annoying error messages.

The answers I got were:

* Rebuild the aliases database with newaliases.

* Remove /etc/sendmail.fc and restart the sendmail daemon.

* Not to use NIS aliases but share /etc/aliases between the computers
  in another way.

* Start sendmail AFTER starting ldconfig in /etc/rc.local.

Finnaly I decided not to try to solve the problem but to work around
it. I took the advise of John Halleck (NAHAJ@CC.UTAH.EDU) and added
a rule that simply add the mailhost name to every local user.
I also changed the mailer that is define to handle the local mail,
from /bin/mail to /usr/ucb/mail.

The changes in /etc/sendmail.cf are:

# (hagit) - changed the mailer to be /usr/ucb/mail
#Mlocal, P=/bin/mail, F=rlsDFMmnP, S=10, R=20, A=mail -d $u
Mlocal, P=/usr/ucb/mail, F=rlsDFMmnP, S=10, R=20, A=mail -d $u

S10
# None needed.
# (hagit) - added a rule to add @mailhost
R$+ $@$1@mailhost

Thanks to:
 Heas <heas@chpc.org>
 Christopher Davis <ckd@kei.com>
 vasey@issi.com
 Christopher Davis <ckd@kei.com>
 John Halleck <NAHAJ@CC.UTAH.EDU>

Thank You
hagit@chipcom.com

- ------- End of forwarded message -------
------- End of forwarded message -------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:28 CDT