Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!ucbvax!van-bc!cynic!curt From: curt@cynic.wimsey.bc.ca (Curt J. Sampson) Newsgroups: comp.mail.misc Subject: Spaces at the end of the From_ line. Summary: Deliver may add a space after the date in From_; mail doesn't like it. Message-ID: <1991Mar14.200222.2399@cynic.wimsey.bc.ca> Date: 14 Mar 91 20:02:22 GMT Sender: curt@cynic.wimsey.bc.ca (Curt J. Sampson) Organization: Mad Artists' Technological Hangout Lines: 22 I recently had a rather strange problem with deliver (version 2.4, patchlevel 1). For some reason mailx and the ucbmail that comes with SCO Xenix wouldn't acknowledge that a letter was in the mailbox if deliver had delivered it from a remote system (though uucp/smail 2.5). This problem did not occur with local mail. After much puzzling, it became apparent that when deliver added its own From_ line things worked fine, but when it tried to parse the date out of a remotely provided From_ line it left a space at the end of the line. This space caused ucbmail and mailx to ignore the message. My quick hack was to set fdate in copy_message() (copymsg.c) to NULL before deliver wrote the final From_ line, thus forcing it to generate a new date. Is there a patch to fix this problem properly? cjs -- | "It is actually a feature of UUCP that the map of curt@cynic.uucp | all systems in the network is not known anywhere." curt@cynic.wimsey.bc.ca | --Berkeley Mail Reference Manual (Kurt Schoens)