[comp.mail.elm] Filter messes up mail folders

jonathan@cs.keele.ac.uk (Jonathan Knight) (06/06/89)

I have had several complaints about using the 'save' or 'leave'
options in filter.

It seems that filter leaves the folder corrupted.  The cause of
this appears to be the lack of a 'From ' line as part of
the header that gets fed to filter.  The 'From ' line is added
by our local delivery program and as filter is called by
sendmail, the local delivery program doesn't get the chance
to add the 'From ' line.  Filter then copes the mail into either
the system folder or some other folder, and the result is a corrupted
folder.

What I need is some way of configuring filter to use a program to
deliver the mail into a folder, or better still, filter should
add the 'From ' line itself.

-----

As a second point.  It would be nice if the auto-reply feature
worked on a pipe.  That way I could do things like:
	"|autoreply|/bin/mail -d jonathan"
to auto-reply to mail as it arrived.  I could also use this
so that filtered mail gets auto-replied to as well,  even if it
ends up in a different folder.

If such a scheme was adopted then I could even alter sendmail's
local deliver mailer specification to pipe through autoreply,
but this means that autoreply will have to check to see if the user
wants to autoreply to mail (as it does now).
-- 
  ______    JANET :jonathan@uk.ac.keele.cs     Jonathan Knight,
    /       BITNET:jonathan%cs.kl.ac.uk@ukacrl Department of Computer Science
   / _   __ other :jonathan@cs.keele.ac.uk     University of Keele, Keele,
(_/ (_) / / UUCP  :...!ukc!kl-cs!jonathan      Staffordshire.  ST5 5BG.  U.K.