[comp.mail.elm] Help

sfreed@gauss.unm.edu (Steve Freed) (06/01/90)

I am using the filter program to sort my mail. Sample entry:

if (from = "root@") then savecopy /u7/dd/Mail/rootmgrs.%y.%m
if (from = "dklingl@") then savecopy /u7/dd/Mail/seds.%y.%m
if (from = "T10003@") then savecopy /u7/dd/Mail/IBM_systems_programmers.%y.%m

For some unknown reason, when filter hands it off to sendmail, sendmail
seems to think that it is from a UUCP site, and puts on that stupid
UUCP header in the From line:

From datkins@ariel.unm.edu Tue May 29 15:51:25 1990 remote from ariel.unm.edu

The remote nonsense is really ugly, sendmail's source say so too... And I'll
have to fix it, but the big problem comes when I try to read the folder
with  elm.  Elm does not view this as a valid mail separator, and when it
finds a blank line followed by a From of the above example,  it does not
see it as a new mail message and keeps on going as if it were part of
the last message.

Is this a bug in elm? Should it really try to parse the From line
and if it doesn't understand it, go on as if it didn't exist?
How can I get around this problem?

Thanks for any suggestions.
Steve.