From: peterg@acci.com.au (Peter Gill)
Subject: Sendmail problems on Mail server
Keywords: AIX sendmail
Reply-To: peterg@acci.com.au
Organization: Australian Computing and Communications Institute
Date: Thu, 7 Jan 1993 04:44:36 GMT

Hi all.
I am having problems on my mail server. Let me set the sceen.

We have about 14 RS/6000s. Each of them has a link from the local
aliases file to a common nfs file. (This enables the users to mail
each other without knowing the host names ... ). All users have an
alias entry to direct the mail to their local host. (Straight foward
so far!). A number of our users are located on PS/2's and have their 
mail directed there, where their OS/2 version of mail takes care of it 
for them. Over the christmas break (10 days) most of these users turned
their PS/2's off - Lots of mail with no where to go - Lots of complaints too!
I decided to have all mail for the PS/2 users sit on the mail server, and 
export /usr/spool/mail to each of the PS/2's. That way it does not matter 
if their machines are turned on or not.

To do this, I removed their names from the aliases file. I then mailed one of 
them but got a surprise as the mail was bounced. Note that only mail not 
being forwarded is bounced. Every body else still gets their mail as normal.

I have checked the permissions/ownership of the directories/files associated
with sendmail against another system and they all seem ok. 

Oh yea. I have set up the same environment on another box, and it
works fine. Following are examples of the messages that I receive.

Hope somebody out there can make head or tail of these. 

If you can E-Mail your responses, that would be great.
Thanks in advance ...

=======================================================
I get these messages when I mail from the local host
=======================================================
mail -v testuser
Subject: test
test
.
Cc: 
root... setsender: uid/gid = 0/0
testuser... Connecting to .local...
testuser... Connecting to  (local)...
testuser... openmailer: DefUid 1, DefGid 1
testuser... openmailer: set default uid/gid = 1/1
testuser... execve: uid = 1, gid = 1
No mail.
testuser... reply: There is a read error
smtpquit mail: stat 1
testuser... Deferred
Saving message in //dead.letter
//dead.letter... Sent

=======================================================
SYSLOG messages when I mail from local host.        
=======================================================
Jan  7 12:12:22 carlton sendmail[19571]: AA19571: message-id=<9301070112.AA19571@carlton.acci.com.au>
Jan  7 12:12:22 carlton sendmail[19571]: Received message AA19571 from user root at host local: size is 33 and clas s is 0.
Jan  7 12:12:22 carlton sendmail[19571]: testuser... reply: There is a read error
Jan  7 12:12:22 carlton sendmail[19571]: AA19571: SYSERR: smtpquit mail: stat 1
Jan  7 12:12:22 carlton sendmail[19571]: Processed message AA19571 to testuser; delay is 00:00:00 and status is Def
erred.
Jan  7 J2:12:23 carlton sendmail[19571]: Processed message AA19571 to //dead.letter; delay is 00:00:01 and status i
s Sent.

=======================================================
I get these messages when I mail from the remote host
=======================================================
mail -v testuser@carlton.acci.com.au
Subject: test
test
. 
Cc: 
root... setsender: uid/gid = 0/0
testuser@carlton.acci.com.au... Connecting to carlton.acci.com.au.tcp...
testuser@carlton.acci.com.au... Connecting to carlton.acci.com.au (tcp)...
220 carlton.acci.com.au Sendmail AIX 3.1/UCB 5.61/4.03 ready at Thu, 7 Jan 93 12:05:52 +1100
>>> HELO avoca.acci.com.au
250 carlton.acci.com.au Hello avoca.acci.com.au
>>> MAIL From:<root@avoca.acci.com.au>
250 <root@avoca.acci.com.au>... Sender ok
>>> RCPT To:<testuser@carlton.acci.com.au>
250 <testuser@carlton.acci.com.au>... Recipient ok
>>> DATA
354 Enter mail, end with "." on a line by itself
>>> .
250 Ok
>>> QUIT
221 carlton.acci.com.au: closing the connection.
testuser@carlton.acci.com.au... Sent

=======================================================
SYSLOG messages when I mail from remote host.        
=======================================================
Jan  7 12:05:57 carlton sendmail[19298]: AA19298: message-id=<9301070105.AA19379@avoca.acci.com.au>
Jan  7 12:05:57 carlton sendmail[19298]: AA19298: from=<root@avoca.acci.com.au>, size=286, class=0, received from avoca.acci.COM.AU (192.100.80.108)
Jan  7 12:05:57 carlton sendmail[18787]: <testuser@carlton.acci.com.au>... reply: read error
Jan  7 12:05:57 carlton sendmail[18787]: AA19298: SYSERR: smtpquit mail: stat 1
Jan  7 12:05:57 carlton sendmail[18787]: AA19298: to=<testuser@carlton.acci.com.au>, delay=00:00:05, stat=Deferred
Jan  7 12:06:01 carlton sendmail[19558]: AA19558: to=<kmorris&acci.com.au@acci.com.au>, delay=00:00:01, stat=User unknown
Jan  7 12:06:01 carlton sendmail[18787]: AA18787: message-id=<9301070105.AA18787@carlton.acci.com.au>
Jan  7 12:06:01 carlton sendmail[18787]: AA18787: from=MAILER-DAEMON, size=0, class=0, received from avoca.acci.COM.AU (192.100.80.108)


___________________
Regards, Peter GIll
peterg@acci.com.au
+61 3 282 2506
Newsgroups: comp.unix.aix