[comp.mail.mush] Changing reply paths

tomc@oakhill.UUCP (Tom Cunningham) (09/06/89)

Sorry if this has been covered before; I don't recall it since the
inception of the group.  I mail to a guy using the path
oakhill!inmet!wait.  However, mail to me is forwarded from oakhill to
my workstation, so when I get mail from him his Return-Path: and From:
(there is no Reply-To:) is motbos!inmet!wait, which is what Mush uses
to construct a reply path.  Oakhill talks to motbos, but I can't get
on oakhill to reply directly.

Is there any way that Mush can automatically modify the reply path?
I've been using ~t and replacing the To: data with an alias, which
seems to work.  I assume an alias that looks like a mail path wouldn't
work, since Mush would just take it as a mail path (maybe a bad
assumption).  I also looked at auto_route with a specific pathname,
but I don't want to prepend oakhill to *all* replies (e.g. I reply to
messages on our local net as well).

Any tips appreciated.  Also you can let me know if this is just a
screwy setup we've got here :-).

-- 

Tom Cunningham  Motorola Inc.  Austin TX
{sun,cs.utexas.edu}!oakhill!tomc

schaefer@ogccse.ogc.edu (Barton E. Schaefer) (09/07/89)

In article <2374@bouwsma.oakhill.UUCP> tomc@oakhill (Tom Cunningham) writes:
} 
} Is there any way that Mush can automatically modify the reply path?
} I've been using ~t and replacing the To: data with an alias, which
} seems to work.  I assume an alias that looks like a mail path wouldn't
} work, since Mush would just take it as a mail path (maybe a bad
} assumption).

An alias that looks like a mail path will work fine.  I have a whole bunch
of them to route all the different incarnations of Dan Heller to the same
address:

    alias island!maui!argv@cad.Berkeley.EDU	argv
    alias island!argv@Sun.COM			argv
    alias turnpike!argv@Sun.COM			argv
    alias argv@turnpike.Eng.Sun.COM		argv
    alias dheller@cory.Berkeley.EDU		argv

where of course "argv" is also aliased to whatever his preferred address
is at the moment.  If his preferred address happens to be the same as one
of the aliases, I comment out that one when I set the "argv" alias.

To test that the alias is working, find a message that is from the person
to whom you want replies re-addressed, set the current message to that one
(by using the "from" command or curses-mode motions) and give the command

    eval -h expand %a

This will show you how the author's address will be rewritten.
-- 
Bart Schaefer           "And if you believe that, you'll believe anything."
                                                            -- DangerMouse
CSNET / Internet                schaefer@cse.ogc.edu
UUCP                            ...{sequent,tektronix,verdix}!ogccse!schaefer