[comp.mail.misc] Spaces at the end of the From_ line.

curt@cynic.wimsey.bc.ca (Curt J. Sampson) (03/15/91)

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)