Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!agate!linus!linus!mwunix.mitre.org!palmer From: palmer@mwunix.mitre.org (Forrest Palmer) Newsgroups: comp.mail.mh Subject: .maildelivery Summary: Yet another "How do you use .slocal/.maildelivery?" Keywords: slocal, rcvstore Message-ID: Date: 1 Oct 90 22:21:06 GMT Sender: usenet@linus.mitre.org Distribution: comp.mail.mh Lines: 44 OK. I'm stumped on slocal/.maildelivery. Would someone please answer this question ? My ~/.forward file : | /usr/local/lib/mh/slocal -user palmer My ~/.maildelivery file (partial) : ... Cc,xpert@expo.lcs.mit.edu,|,R,/usr/local/lib/mh/rcvstore +X -create To,xpert@expo.lcs.mit.edu,|,R,/usr/local/lib/mh/rcvstore +X -create ... default,-,|,R,/usr/local/lib/mh/rcvstore +inbox default,-,|,R,"/u3/palmer/bin/EchoMail $(sender)" default,-,|,?,"/u3/palmer/bin/NewMail Mail from $(sender) to $(address)" *,-,|,R,rcvalert /u3/palmer/bin/EchoMail : Takes the command line arguments ( $(sender) ) and appends them to a file. This works. /u3/palmer/bin/NewMail : Takes the command line arguments ( "Mail from $(sender) to $(address) " ) and uses the X11R4 xmessage program to display it. This also works. All I want to do is store the message in the proper ("X") folder, append the sender's address to a file, and display the sender's address on my console. However, the "rcvstore" command to put the messages from "xpert" into the "X" folder is never executed. Instead, everything is put into +inbox - TWICE! The "X" folder does exist. I thought that the entire ".maildelivery" file is read - this is what the mhook(1) man page says. So what am I doing wrong? Thanks in advance, Forrest Palmer palmer@mitre.org