Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!ucsd!ucbvax!SGI.COM!kittu From: kittu@SGI.COM (Krishna Swaroop Kolluri) Newsgroups: comp.mail.mh Subject: Refiling deleted messages into archive folder Message-ID: <29282.664576642@shakti.wpd.sgi.com> Date: 22 Jan 91 20:37:22 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 29 I have a mh/mh-e question, and I wonder if someone can answer it. Do you know of a good quick hack that can rebind the D key and subsequent X in mh-e show mode to mark a message to be moved to a folder such as +archive, such that I never really delete messages, just move them to a folder that I can expunge once a month or so, using cron. I have tried the following.. in my .mh_profile file I put the following line rmmproc: /usr/local/bin/myrmm where myrmm is the following shell script #!/bin/sh refile +archive $* But that didn't work. Since refile also looks at rmmproc, it went into a loop and multiple copies of the deleted message got refiled into the archive folder. Any help would be much appreciated. kittu.. ------- Krishna Swaroop Kolluri 9U-530 kittu@sgi.com Silicon Graphics, Inc. Off:(415)335-1859