[comp.mail.sendmail] queing mail for other machines?

thorson@typhoon.atmos.colostate.edu (Bill Thorson) (05/13/91)

  I am trying to get one of our NeXT machines to queue mail for the 
others in our group.  This is so the others can turn their machines
off whenever they go home.  The power button is right on the keyboard
and they usually press it.

  To test my configuration I had our server set up an MX record for
a PC that will never recieve mail.  The MX resolves to the PC and then
to the NeXT.

  The problem is that the NeXT first attempts to connect to the PC and
fails of course.  Then it tries to connect to itself and really bombs.
How would I go about getting it to queue the mail for the other machine
when the MX has it's name as the mail handler rather than trying to 
connect to itself?

Bill Thorson

#!/bin/sh
#-----------------------------------------------------------------------#
echo Bill Thorson                   thorson@typhoon.atmos.colostate.edu
echo Dept of Atmospheric Science    +1 303 491-8339
echo Colorado State University
echo Ft. Collins,  CO  80523        Cray||Sun||Amiga -- I can't decide?
#-----------------------------------------------------------------------#

thorson@typhoon.atmos.colostate.edu (Bill Thorson) (05/13/91)

It's fixed.  Thanks Neil.  The problem was that the $j macro did not
have the fully qualified hostname.  I guess it then didn't recognize
itself as the mail handler for the other node.

Bill
#!/bin/sh
#-----------------------------------------------------------------------#
echo Bill Thorson                   thorson@typhoon.atmos.colostate.edu
echo Dept of Atmospheric Science    +1 303 491-8339
echo Colorado State University
echo Ft. Collins,  CO  80523        Cray||Sun||Amiga -- I can't decide?
#-----------------------------------------------------------------------#