[3597] in testers

home help back first fref pref prev next nref lref last post

sun4 8.2.1: from

daemon@ATHENA.MIT.EDU (Albert Dvornik)
Sun Jun 14 20:14:42 1998

To: testers@MIT.EDU
Date: Sun, 14 Jun 1998 20:14:26 EDT
From: "Albert Dvornik" <bert@MIT.EDU>

System name:		infocalypse.mit.edu
Type and version:	SPARC/Classic 8.2.1 (with mkserv)
Display type:		cgthree

What were you trying to do?
	Using "from" for a local account on a non-public workstation.

What's wrong:
	On failure, "from" displays the wrong path for the UNIX mailbox.

Please describe any relevant documentation references:
	Here's a patch:

*** athena/bin/from/from.c	Wed May 13 00:00:29 1998
--- athena/bin/from/from.c	Sun Jun 14 20:06:32 1998
***************
*** 475,481 ****
  	    }
  	    if (freopen(user, "r", stdin) == NULL) {
  		if (!popmail)
! 		    fprintf(stderr, "Can't open /usr/spool/mail/%s.\n", user);
  		unixmail = 0;
  		return -1;
  	    }
--- 475,481 ----
  	    }
  	    if (freopen(user, "r", stdin) == NULL) {
  		if (!popmail)
! 		    fprintf(stderr, "Can't open %s/%s.\n", MAILDIR, user);
  		unixmail = 0;
  		return -1;
  	    }

home help back first fref pref prev next nref lref last post