it1@Isis.MsState.Edu (Tim Tsai) (03/20/91)
I'm having trouble getting mush to forward mail.. Here're my attempts: :bind-macro f '[linemode]mail -f . [getline]' :bind-macro F '[linemode]mail -ef . [getline]' For the first macro, mush insists on adding the headers "Resent-From", etc to the header.. What I would prefer is changing the "From:" header to my address instead, and quote the original message including the headers. I believe this is how nn does it.. The second macro, same problem as above, PLUS mush adds the line [--forwarded message from *original sender*--] to the message.. Well, as far as I am concern, it should say [--forwarded message from it1@ra.msstate.edu---], and then the quoted text with header. Is what I'm trying to do possible, without mucking with the source? Thanks in advance.. BTW, I'm using mush 7.2.0 on a Sun 4. -- # I have lots of common sense. I just choose to ignore it. <Calvin> #
murray@motto.UUCP (Murray S. Kucherawy) (03/21/91)
it1@Isis.MsState.Edu.UUCP writes: > > I'm having trouble getting mush to forward mail.. Here're my attempts: > > :bind-macro f '[linemode]mail -f . [getline]' > :bind-macro F '[linemode]mail -ef . [getline]' > > For the first macro, mush insists on adding the headers > "Resent-From", etc to the header.. What I would prefer is changing > the "From:" header to my address instead, and quote the original > message including the headers. I believe this is how nn does it.. Try using -I in place of -f. > The second macro, same problem as above, PLUS mush adds the line > [--forwarded message from *original sender*--] to the message.. Well, > as far as I am concern, it should say [--forwarded message from > it1@ra.msstate.edu---], and then the quoted text with header. That's weird... in my experience, if "--- Forwarded message from ..." is used, mush also builds a new header. =============================== Murray S. Kucherawy ========================== Motorola Canada, Ltd. Communications Division, Toronto [on work term] University of Waterloo, Ontario, Canada 2B Math/Computer Science Internet: murray@motto.UUCP (work) mskucherawy@watmath.UWaterloo.ca (UW) UUCP: uunet!utai!lsuc!motto!murray uunet!watmath!mskucherawy
woods@eci386.uucp (Greg A. Woods) (03/25/91)
In article <it1.669433652@Isis.MsState.Edu> it1@Isis.MsState.Edu (Tim Tsai) writes: > > I'm having trouble getting mush to forward mail.. Here're my attempts: > > :bind-macro f '[linemode]mail -f . [getline]' > :bind-macro F '[linemode]mail -ef . [getline]' > > For the first macro, mush insists on adding the headers > "Resent-From", etc to the header.. What I would prefer is changing > the "From:" header to my address instead, and quote the original > message including the headers. I believe this is how nn does it.. Uh, it does that because that's what it was designed to do. This is the way RFC-822 specifies that forwarded mail be identified. > Is what I'm trying to do possible, without mucking with the source? > Thanks in advance.. And without mucking with RFC-822 compatability? I doubt it! :-) BTW, binding 'f' screws up the default. What do you use as an alternate for <folder>? -- Greg A. Woods woods@{eci386,gate,robohack,ontmoh,tmsoft}.UUCP ECI and UniForum Canada +1-416-443-1734 [h] +1-416-595-5425 [w] VE3TCP Toronto, Ontario CANADA Political speech and writing are largely the defense of the indefensible-ORWELL