Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!uwvax!uwmacc!uwspan!root From: root@uwspan.UUCP (John Plocher) Newsgroups: comp.mail.elm Subject: Has anyone used filter? Message-ID: <124@uwspan.UUCP> Date: Wed, 14-Oct-87 01:33:14 EDT Article-I.D.: uwspan.124 Posted: Wed Oct 14 01:33:14 1987 Date-Received: Thu, 15-Oct-87 22:28:15 EDT Reply-To: plocher@uwspan.UUCP (John Plocher) Organization: UW-Madison Spanish Dept Lines: 23 Keywords: filter, elm 1.5 Summary: I can't get it to execute programs 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