[comp.mail.mh] problem with "send"

murthy@algron.cs.cornell.edu (Chet Murthy) (08/17/90)

I am trying to use mh-e to redistribute messages.  mh-e adds a line:

Resent-To: Chet-Test

when I tell it to redistribute to Chet-Test.

(I have "Chet-Test: murthy" in my Aliases file)

It then invokes "send" as follows:

mhdist=1
mhaltmsg=/usr/u/murthy/Mail/drafts/10
/usr/local/mh/send -push /usr/u/murthy/Mail/drafts/10

where drafts/10 is the message number in the draft folder.

Now comes the weird part.  "send" DOES NOT do alias expansion on
"Resent-To" fields.  Neither does "whom".  Even when I specify
"-alias /usr/u/murthy/Mail/Aliases", or "-alias Aliases", and even
though my .mh_profile has "send: -alias Aliases" in it.

As a result, the recipient isn't aliased to "murthy", and when
sendmail gets it, it barfs it back to me.

Anybody got ANY ideas why this is going on?

--chet--

frechett@snoopy.Colorado.EDU (Mac the Ripper/ / / /) (08/17/90)

In article <44637@cornell.UUCP> murthy@algron.cs.cornell.edu (Chet Murthy) writes:
>I am trying to use mh-e to redistribute messages.  mh-e adds a line:
>Resent-To: Chet-Test
>when I tell it to redistribute to Chet-Test.
>(I have "Chet-Test: murthy" in my Aliases file)
[deleted]
First of all, Is mh-e something special?  I am sorry if this sounds weird
but I have been hacking away at mh for sometime and only discovered this 
group recently.  I am not sure if your mh is different than mine.  
Whatever.  It aliased fine for me with just a dist command so what you are
doing must be confusing it.  I found a quick way to do it.  I know many of you
like to stay totally within the bounds of mh but I have added a few nice
features with a couple kludges.  Try this one out.  Take the message that you
want, such as ~/Mail/inbox/6 and if you want to send it to joe@blue.com
chris@booga.booga.edu ...etc.  Then put that list in a varible, called
say..... buds.  Then try this one out.  
cat ~/Mail/inbox/6 | rcvdist $buds
and poof away you go.  Unfortunately I don't have man pages for rcvdist   ;)
but I use it to bounce certain mail from certain people automatically.  ;)
Ah well, maybe my kind of reply is not what you are after, but I don't know 
what else to tell you.
>--chet--


	ian                           frechett@snoopy.colorado.edu