From owner-freebsd-stable Thu Mar 28 23:28:32 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA21779 for stable-outgoing; Thu, 28 Mar 1996 23:28:32 -0800 (PST) Received: from asstdc.scgt.oz.au (root@asstdc.scgt.oz.au [202.14.234.65]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id XAA21774 for ; Thu, 28 Mar 1996 23:28:27 -0800 (PST) Received: (from imb@localhost) by asstdc.scgt.oz.au (8.7.5/BSD4.4) id SAA08042 for stable@freebsd.org; Fri, 29 Mar 1996 18:27:57 +1100 (EST) From: michael butler Message-Id: <199603290727.SAA08042@asstdc.scgt.oz.au> Subject: rmail patch .. To: stable@freebsd.org Date: Fri, 29 Mar 1996 18:27:57 +1100 (EST) X-Mailer: ELM [version 2.4 PL24beta] Content-Type: text Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Could someone please propagate this patch into -stable (it's already in -current and has been for months) .. it fixes what would otherwise bug the hell out of people (me :-() who have to deal with broken UUCP sites. It's already included in sendmail 8.7.5 distribution as recently adopted. *** rmail.c~ Mon Mar 20 01:06:12 1995 --- rmail.c Tue May 16 03:26:57 1995 *************** *** 211,216 **** --- 211,218 ---- /* Save off from user's address; the last one wins. */ for (p = addrp; *p && !isspace(*p); ++p); *p = '\0'; + if (*addrp == '\0') + addrp = "<>"; if (from_user != NULL) free(from_user); if ((from_user = strdup(addrp)) == NULL)