[comp.mail.elm] Has anyone used filter?

root@uwspan.UUCP (John Plocher) (10/14/87)

I have been trying to get the execute feature of filter to work.  I have
elm 1.5; Microport Unix V/AT (SVr2); and John Zeeff's lmail replacement which
allows mail to programs. 

Filter works all right when doing stuff like
    if (subject contains "386") then forward 386moderator
but if I try something like
    if (subject = send buglist") then execute "mailbuglist %r"
nothing happens.

Filter executes, says it is invoking the right rule, but the rule never really
executes.  (I have an echo hello > /tmp/logfile in the script mailbuglist which
never is executed)  I fixed a few bugs in actions.c (the command line sent to
system() had had all blanks turned into underscores AND the whole command line
was enclosed in double quotes!

The funny thing is that if I take a mailbox file (say, xx) and do
    cat xx | filter -v
it works like a charm!

What am I missing?  (Gawd, I hope it isn't something obvious :-)

-John