HDTenEightyP/NetNews huggingface dataset:
From: Chaw@cs.Stanford.edu (Sudarshan S. Chawathe)  
Subject: (Help!) MH commands dumping core when called recursively!
Originator: chaw@Pluto.Stanford.EDU
X-Disclaimer: Blame it on the cat.
Reply-To: Chaw@cs.Stanford.edu (Sudarshan S. Chawathe)  
Fcc: log/outgoing
Organization: CS Department, Stanford University, California, USA
Date: 23 Jan 93 00:19:32 GMT

When I call an mh program (say "show") from within another (say from
inside vi while using "comp") it dumps core!

This is what happens:

% comp

/* some editing in vi here */

then from within vi, I do:

:!show

At this poing I get a Seg. violation (core dumped) message.

Is this some problem with my set-up or a bug?

This doies NOT happen when I simply invoke vi from the shell and then
type :!show.

Here's my MH info:

version: MH 6.7.1 #19[UCI] (lastout.zk3.dec.com) of Tue Mar 19 00:01:25
EST 1991
options: [ISI] [MHRC] [WHATNOW] [MHE] [BSD42] [BERK] [NETWORK] [BIND]
         [RPATHS] [DPOP] [RPOP] [FOLDPROT='"0700"'] [MSGPROT='"0600"']
         [TYPESIG='void'] [POPSERVICE='"pop"'] [SPRINTF='int'] [SENDMTS]
        [SMTP] [POP] [X400]


Thanks,

-Chaw

_________________________________________________________________________
Chaw@cs.Stanford.edu                                         tat tvam asi

Newsgroups: comp.mail.mh
From: garygm@leland.Stanford.EDU (Gary Brainin)
Subject: Re: Making wildcards in Alternate-Mailboxes: work?
Organization: Stanford Law School, Stanford University
Date: Sat, 23 Jan 93 18:18:18 GMT

In article <1993Jan23.064715.14402@yarra-glen.aaii.oz.au> anthony@yarra-glen.aaii.oz.au (Anthony Baxter) writes:
>Does anyone know why:
>                                    
>Alternate-Mailboxes: anthony,anthony@nella*,anthony@*.monash.edu.au,anthony@*.rdt.monash.edu.au
>                                    
>matches 'anthony@nella1.cc.monash.edu.au', but not
>'anthony@daneel.rdt.monash.edu.au', or 'anthony@rdt.monash.edu.au'?

   Easy.  The asterisk has to be at the beginning or end (or both); in
"anthony@*.monash.edu.au" it's in the middle.

>I really, really dont want to have to list every single machine in the
>Alternate-Mailboxes: line, nor do I wish to have to have 'anthony@*' as an
>Alternate-Mailbox.

   Sadly, I don't know of a way around this.

			-Gary
-- 
|Gary Brainin                     |BITNET: garygm%leland.stanford.edu@stanford|
|garygm@leland.stanford.edu       |UUCP: ...decwrl!leland.stanford.edu!garygm |
|"...the right to be let alone-the most comprehensive of rights and the right |
|most valued by civilized men."    Olmstead v. U.S. (Brandeis, J., dissenting)|
From: slin@cisco.com (Steven Lin)
Newsgroups: comp.mail.mh
Subject: Re: "Automatic" Fcc: under mh-e?
Date: 23 Jan 93 18:34:33 GMT
Organization: cisco Systems, Inc.
NNTP-Posting-Host: regal.cisco.com
In-reply-to: meuer@camax.com's message of Thu, 21 Jan 93 17:35:20 GMT


   From:    meuer@camax.com (Mark Meuer)
   Newsgroups: comp.mail.mh
   Date:    Thu, 21 Jan 93 17:35:20 GMT

   patrick@casbs.Stanford.EDU (Patrick Goebel) writes:

   >Has anyone figured out how to have mh-e generate a default Fcc: line
   >from the text typed to the To: prompt during a send (`s') or reply
   >(`a')?

   >Ideally, I'd like to have a user-created file (like the aliases file)
   >that lists pairs of usernames and foldernames.  Then, when I enter a
   >username at the To: prompt, the corresponding foldername would be
   >inserted on the Fcc: line automatically.  Of course, one could then
   >edit the Fcc: line once in edit buffer if desired.

Well, I don't know how to do the ideal case, but I believe you can get
MH to do the first for you.  Just create a file called "components" in
you Mail directory that contains all of the headers you want.  If you
don't currently have one in your personal directory then the default
one where the MH programs are stored is probably being used.  The
default "components" file usually contains:

To:
cc:
Subject:
-------

Just add the FCC to your private version.

To:
cc:
Fcc:
Subject:
-------

In fact, if you want to file all of your outgoing mail to a specific
folder then you can put that in, too.

To:
cc:
Fcc: foofolder
Subject:
-------

Hope this helps.

Steve
From: sfleming@cee.hw.ac.uk (Stewart T Fleming)
Newsgroups: comp.mail.mh
Subject: Re: MH aliases
Date: 25 Jan 93 17:24:00 GMT
Reply-To: sfleming@cee.hw.ac.uk
Organization: Dept. Of Computing and Electrical Engineering, Heriot-Watt University, Edinburgh


In article <9301200914.AA28072@wilg.bull.nl>, jos@bull.nl (Jos Vos) writes:

>Correct alternatives are:
>
>	foobar:   "Mr. Foo Bar" <zchi@mit.edu>

The following minor variation can get some people very upset...

	foobar:	"Dr." Foo Bar <zchi@mit.edu>

>--    Jos Vos <jos@bull.nl>   (UUCP: ...!{uunet,mcsun,sun4nl}!nlbull!jos)

STF
--
sfleming@cee.hw.ac.uk, sfleming@icbl.hw.ac.uk
"...but if I'd known the roses/Wouldn't last until the winter/
   I would have been myself/Maybe I could have been somebody..."
     --Carol Laula, _Restless_
From: kawamoto@ics.osaka-u.ac.jp (KAWAMOTO Yosihisa)
Newsgroups: comp.mail.mh
Subject: Re: mh 6.8 problem with Bcc
Date: 26 Jan 93 18:08:12 GMT
Organization: Dept. of Information & Computer Sciences, Osaka Univ., JAPAN
In-reply-to: tonyp@sequent.com's message of 26 Jan 93 03:31:18 GMT

In article <1993Jan26.033118.6218@sequent.com> tonyp@sequent.com (Tony Petrossian) writes:

> When I have a Bcc line in a message I get the following error:
> 
> post: problem initializing server; [RPLY] 503 Sender already specified
> send: message not delivered to anyone

> Does anyone have a fix around this problem that I can apply to mh?

I commented out the following codes in mts/sendmail/smail.c

	    (void) smtalk(SM_HELO, "ONEX");
--
iKAWAMOTO Yosihisa!               kawamoto@ics.osaka-u.ac.jp
From: sjoerd@cwi.nl (Sjoerd Mullender)
Newsgroups: comp.mail.mh
Subject: Re: forw & subject lines
Date: 22 Jan 93 23:03:23 GMT

davy@ecn.purdue.edu (Dave Curry) writes:

>In article <1993Jan21.171431.19670@hemlock.cray.com>, ant@palm21.cray.com (Tony Jones) writes:
>|> Using 'forw' is there any way to propagate the 'Subject' line of the message
>|> you are enclosing up to the Subject line of the message you are going to
>|> send ?
>|> 
>|> For example, if I receive a message with Subject line 'foobar' I would like
>|> to forward this out and have the Subject line of the message I send out 
>|> become 'foobar (fwd)'

>You can do it this way:

[ Good explanation of how to do this with repl. ]

The main problem with this technique is that repl can't do
"dashmunging".  This is necessary if you want the recipient to be able
to use burst to extract the original message and the original contains
lines that start with dashes.  Also, if you forward a forwarded message,
the resulting message becomes completely unparseable by burst.

I wish there were a good way of combining the features of forw and
repl.
-- 
Sjoerd Mullender
CWI, dept. CST, Kruislaan 413, 1098 SJ Amsterdam, Netherlands
email: sjoerd@cwi.nl			fax:   +31 20 592 4199
phone: +31 20 592 4127			telex: 12571 mactr nl
From: shankar@sgi.com (Shankar Unni)
Subject: Re: MH aliases
             <9301210644.AA09307@wilma.cs.utk.edu>
X-Mailer: mh6.7.2
Newsgroups: comp.mail.mh
Reply-To: shankar@sgi.com
Organization: Silicon Graphics, Inc.
Date: 21 Jan 93 18:05:43 GMT

Keith Moore and Owen Rees pointed out:

> > Sendmail will happily generate
> >
> >    John Q. Public <public@host>,  or worse,
> >    John Public (guest) <public@host>.
> >
> > This usually causes problems at the receiving end.
>
> Agreed, although the latter example is legal RFC 822.

Well, ok, yes. Gotcha.

But my point still remains - you can put any garbage in the GECOS
field in the passwd entry, and Sendmail will naively put that string,
unquoted, in the address entry.

Thanks,
--
Shankar Unni				E-Mail:	shankar@sgi.com
Silicon Graphics Inc.			Phone:	+1-415-390-2072
From: gildea@expo.lcs.mit.edu (Stephen Gildea)
Subject: Re: "Automatic" Fcc: under mh-e?
Newsgroups: comp.mail.mh
Organization: X Consortium, MIT Laboratory for Computer Science
Date: 21 Jan 93 21:32:51 GMT

Check out mh-compose-letter-function.  You can attach a function to
this variable to edit the header of new messages.  Your function is
passed the to, subject, and cc values, so you can construct your Fcc
from the recipient list.

 < Stephen
   MIT X Consortium
Newsgroups: comp.mail.mh
From: tonyp@sequent.com (Tony Petrossian)
Subject: mh 6.8 problem with Bcc
Organization: Sequent Computer Systems Inc.
Date: Tue, 26 Jan 93 03:31:18 GMT

When I have a Bcc line in a message I get the following error:

post: problem initializing server; [RPLY] 503 Sender already specified
send: message not delivered to anyone

It has been suggested that this is a sendmail problem however
I don't have this problem with mh 6.7.2 and the same sendmail (5.65)
on the same machine.

Does anyone have a fix around this problem that I can apply to mh?

thanks
tonyp@sequent.com
Newsgroups: comp.mail.mh,comp.mail.sendmail
From: bruce@blilly.uucp (Bruce Lilly)
Subject: Re: MH aliases
Organization: Bruce Lilly
Date: Sat, 23 Jan 93 16:49:11 GMT
Reply-To: lilb@sony.compuserve.com (Bruce Lilly)

In article <PATRICK.93Jan21211802@delphi.Stanford.EDU>,
 posted to comp.mail.mh,comp.mail.sendmail,
 patrick@casbs.Stanford.EDU (Patrick Goebel) wrote:
>On a related note, I often see addresses of the form
>
>firstname.lastname@host.domain
>
>If I try to make such an alias in our /etc/aliases file (SunOS 4.1.1
>using sendmail), I run into all sorts of trouble.  If I'm not
>mistaken, having a "." before the "@" violates one of the format
>rules.

You're probably confused. A '.' is perfectly legal in the
local-part of an addr-spec, but if a '.' appears in the phrase
part of a phrase route-addr, the phrase must be quoted, as in:

"John Q. Public" <jqp@nowhere.gov>

See RFC 822 for details.


Note that in most cases[*], an alias entry must resolve to a local
user, so you'll want to have an alias entry like:

firstname.lastname : logname

i.e., no '@'.

*	It is possible in IDA versions of sendmail to access the
aliases database as database '@', and non-local aliases could be
read in that way.
-- 
	Bruce Lilly		...uupsi!monymsys!sonyd1!blilly!bruce
Newsgroups: comp.mail.mh,comp.mail.sendmail
From: patrick@casbs.Stanford.EDU (Patrick Goebel)
Subject: Re: MH aliases
Organization: Center for Advanced Study in the Behavioral Sciences
Date: Fri, 22 Jan 1993 05:18:02 GMT

On a related note, I often see addresses of the form

firstname.lastname@host.domain

If I try to make such an alias in our /etc/aliases file (SunOS 4.1.1
using sendmail), I run into all sorts of trouble.  If I'm not
mistaken, having a "." before the "@" violates one of the format
rules.

But then, how do these other sites get away with it?  In particular,
Sun Microsystems itself has all kinds of user addresses in this form!

--
Patrick Goebel                    E-MAIL: patrick@casbs.Stanford.EDU
Network Administrator             VOICE:  (415) 321-2052
CASBS, 202 Junipero Serra Blvd.   FAX:    (415) 321-1192
Stanford, CA 94305                BEEPER: Temporarily Out of Order...
Newsgroups: comp.mail.mh
From: rfeldman@theory.TC.Cornell.EDU (Bob Feldman)
Subject: Comments in mailing lists
Organization: Cornell Theory Center
Date: Thu, 21 Jan 1993 15:48:39 GMT


I have several lists to which I send email via mh.  For example, in
my aliases file, I have entries of the form

mylist < /u/tc/listname

so I just send email to mylist.

This works fine.  My question is: can I have a comment on each line in the list?
In RICEMAIL, as I recall, anything after "/*" on a line was treated as a comment.
I'm looking for the equivalent, if it exists, in mh.  

Bob Feldman
Newsgroups: comp.mail.mh
From: jpw@sansfoy.lib.virginia.edu (John Price-Wilkin)
Subject: piping to a filter
Keywords: .maildelivery, slocal, pipe
Organization: University of Virginia
Date: Fri, 22 Jan 1993 14:41:07 GMT

I'm trying to have mail with a specified subject piped through a filter  
that removes mail headers, names the file the contents of the subject  
line, and puts the message in a directory based on month and date.  I've  
written the filter in perl (iau-er) and tested it extensively. I've got a  
working .maildelivery, which I've been able to use to save messages  
matching the criteria to specified directories (but not going through the  
filter).  When I try to put everything together, the mail disappears  
mysteriously.  The .maildelivery file looks like this:

Subject FOO | A "/home/jpw/bin/iau-er"
default - > ? /usr/spool/mail/jpw

If I do an slocal -verbose, I get:

 slocal -user $USER -verbose < foo-message
        delivering to pipe "/home/jpw/bin/iau-er", wins.

I also did a debug, and while I don't really know how to read its  
responses, nothing looked striking.

Can someone tell me what I'm doing wrong?  I'm afraid it's awfully  
simple-minded, but I'm stumped.  Incidentally, I'm using MH 6.7 "UCI  
Version" on the NeXT.

John Price-Wilkin
jpw@Virginia.EDU
jpw@sansfoy.lib.virginia.edu (NeXTMail)
Newsgroups: comp.mail.mh
From: ckd@eff.org (Christopher Davis)
Subject: Re: MH aliases
Organization: Electronic Frontier Foundation Tech Central
Date: Thu, 21 Jan 1993 20:38:39 GMT

SU> == Shankar Unni <shankar@sgi.com>

 SU> But my point still remains - you can put any garbage in the GECOS
 SU> field in the passwd entry, and Sendmail will naively put that string,
 SU> unquoted, in the address entry.

Depends on the sendmail.  IDA sendmail appears to DTRT; at least one of the
users here has "First M. Last" in his gecos field, and it properly quotes
his name when generating From: lines.
--
 * Christopher Davis * <ckd@eff.org> * <ckd@kei.com> * [CKD1] * MIME * RIPEM *
Newsgroups: comp.mail.mh
From: kannan@oar.net (Kannan Varadhan)
Subject: Re: 2 questions on mh-format and scan
Organization: Ohio Supercomputer Center & OARNet, Columbus, OH
Date: Thu, 28 Jan 1993 04:42:07 GMT

Thus spake kannan@oar.net (Kannan Varadhan)
>Question 1:  According to the manual, %{folder} is a valid component
>for scan listings, which gives me to understand that I should see some
>output for the following command:

After poring over the sources, I found out that scan.c, when calling
scan() will only pass the folder name, and hence set the %{folder}
component, if -header is specified.  The fix is to remove the check for
the hdrflag variable, both when scan'ing a packf'd file, and when given
a normal folder.

If the diffs are interesting, I can post them here.

>Question 2:  I am trying to coax a numeric argument to be left
>justified, but to no avail.

Someone pointed out that this was the default for printing out numeric
arguments, when I realised I had specified the question incompletely.  I
want to be able to left justify it in a fixed width field.  This
person's response was to use it as %04(num), but the leading zeroes are
yukky, even as a kluge.


Kannan
-- 
Kannan Varadhan,		1224, Kinnear Road,	+1 614 292 4137
Internet Engineer (OARnet)	Columbus, OH 43212	+1 614 292 7168 (FAX)
Newsgroups: comp.mail.mh
From: ant@palm21.cray.com (Tony Jones)
Subject: forw & subject lines
Organization: Cray Research Inc, Eagan, MN
X-Newsreader: TIN [version 1.1 PL6]
Date: 21 Jan 93 17:14:30 CST

I posted this same question a few months ago and never got an answer, so
I'll try again now, hopefully wording it a little better.

Using 'forw' is there any way to propagate the 'Subject' line of the message
you are enclosing up to the Subject line of the message you are going to
send ?

For example, if I receive a message with Subject line 'foobar' I would like
to forward this out and have the Subject line of the message I send out 
become 'foobar (fwd)'

anyone have any ideas as to if this is possible ? and if so, how.

tony
--
Tony Jones (ant@cray.com, ..!uunet!cray!ant)
CMCS Codegeneration Group, Software Division
Cray Research Inc, 655F Lone Oak Drive, Eagan, MN 55121
Newsgroups: comp.mail.mh
From: anthony@yarra-glen.aaii.oz.au (Anthony Baxter)
Subject: Making wildcards in Alternate-Mailboxes: work?
Organization: Australian Artificial Intelligence Institute
Date: Sat, 23 Jan 1993 06:47:15 GMT

Does anyone know why:
                                    
Alternate-Mailboxes: anthony,anthony@nella*,anthony@*.monash.edu.au,anthony@*.rdt.monash.edu.au
                                    
matches 'anthony@nella1.cc.monash.edu.au', but not
'anthony@daneel.rdt.monash.edu.au', or 'anthony@rdt.monash.edu.au'?
                                    
I really, really dont want to have to list every single machine in the
Alternate-Mailboxes: line, nor do I wish to have to have 'anthony@*' as an
Alternate-Mailbox.
                                    
From the mh-profile man page:
                                    
                     In addition, an asterisk (`*') may appear at
               either  or  both  ends  of the mailbox and host to
               indicate wild-card matching.   (profile,  default:
               your user-id)
                                    
Does this mean that it can only be at either end of the 'mailbox@host', or
at either end of 'mailbox' and 'host'? It would be nice if it was the second,
but in either case this section of the man page could do with a little bit
of clarification.

Thanks,
Anthony
-- 
 anthony baxter                 australian artificial intelligence institute
email : anthony@aaii.oz.au         1 grattan st, carlton, australia 3053
    /\/\||                                 phone : +613 663 7922
  Disclaimer: Unless otherwise specified, the above is my opinion, not AAII's.
From: werner@iansan.inf.puc-rio.br (Carlos Gustavo Werner)
Subject: MIME help in mh
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mime-Version: 1.0
Newsgroups: comp.mail.mh
Date: 26 Jan 93 17:18:15 GMT

	Does mh support MIME mail format ?
        Is there another mh file which support it ?
	Is there a mh-mime.tar.Z somewhere at ics.uci.edu ?

	Thanks in advance.
	Gustavo.

        __________________________________________________
        C.Gustavo Werner
        Email: werner@inf.puc-rio.br
        Pontificia Universidade Catolica do Rio de Janeiro
        Brazil____________________________________________



Newsgroups: comp.mail.mh
From: davy@ecn.purdue.edu (Dave Curry)
Subject: Re: forw & subject lines
Reply-To: davy@ecn.purdue.edu
Organization: Purdue University Engineering Computer Network
Date: Fri, 22 Jan 1993 13:52:36 GMT

In article <1993Jan21.171431.19670@hemlock.cray.com>, ant@palm21.cray.com (Tony Jones) writes:
|> Using 'forw' is there any way to propagate the 'Subject' line of the message
|> you are enclosing up to the Subject line of the message you are going to
|> send ?
|> 
|> For example, if I receive a message with Subject line 'foobar' I would like
|> to forward this out and have the Subject line of the message I send out 
|> become 'foobar (fwd)'

You can do it this way:

1. In your personal bin or whatever, symbolically link "forw" to "repl".

2. Make a file in your "Mail" directory called "components.forw" or some
   such, containing:

	To: \n\
	Cc: \n\
	%<{subject}Subject: [%(lit)%(pers{from})%<(nonnull)%|%{from}%>: %{subject}]\n%|Subject: \n%>\
	Fcc: outbox\n\
	Bcc: \n\
	--------

   (The "Subject" line above should be all one line; don't let your newsreader
   break it.)

3. Make another file in your "Mail" directory called "mhl.forw" or some
   such, containing:

	width=80,overflowtext=,overflowoffset=0
	leftadjust,compress,compwidth=9
	:
	:------- Forwarded Message
	:
	From:
	To:
	Cc:
	Date:formatfield="%<(nodate{text})%{text}%|%(tws{text})%>"
	Subject:
	:
	body:nocomponent,overflowoffset=0,noleftadjust,nocompress
	:
	:------- End of Forwarded Message

   You need this now to add the "Forwarded Message" lines around the original,
   since you're not using the real "forw" anymore.

4. Edit your .mh_profile and add:

	forw: -filter mhl.forw -form components.forw

The reason you have to do it this way is that "repl" is the only MH program
that lets you grab fields out of the replied-to (forwarded) message and put
them in the new message's headers.

--Dave

P.S. - The above components file will put the person's name and subject in
       the new subject line.  For example, if I ran it on your original
       message, I'd get:

		Subject: [Tony Jones: forw & subject lines]

       Of course, you can change the line to do "foobar (fwd)" like you want.
Xref: sparky comp.mail.misc:4455 comp.unix.questions:15829
From: harley@engrhub.ucsb.edu (Harley Hahn,,,HAHN,personal)
Newsgroups: comp.mail.misc,comp.unix.questions
Subject: Re: (not an) RFC: mailbox format
Date: 22 Jan 93 03:56:03 GMT
Followup-To: comp.mail.misc

In article <1993Jan18.185724.19291@wixer.cactus.org> rhodesia@wixer.cactus.org (Felix S. Gallo) writes:
>
>I can
>imagine instances in which "^A^A^A^A\n" is a perfectly good chunk of an
>encrypted file or perhaps a piece of a binary picture of Madonna naked.

It may just be my imagination but when you look at it
sideways, 

^A^A^A^A\n 

DOES look like Madonna naked.

Felix, were you doing this from memory?
Newsgroups: comp.mail.misc
From: bashamb@partial.cs.colorado.edu (BASHAM BRYAN DUANE)
Subject: How to "hide" large distributions in mail
Organization: University of Colorado at Boulder
Date: Sat, 23 Jan 1993 20:38:25 GMT

Hello,

I'm not a regular to this list, but I have a simple question: how
can I hide (or rename) all of this addresses in my To: or Cc: lists?

I use the basic "mail" program on UNIX and I have a very detailed
.mailrc file with several large aliases.  It is a real pain for my
readers to scan through a header that is often an order of magnitude
larger than the actual message.  Is there a way to hide the To: (and Cc:)
lines of the header, or better yet, to give the whole list a logical
name that is used in the To: and Cc: lines?

I know this is possible in the /etc/aliases file, but I have no
control over that file.  Is their a mechanism I can use on my
personal .mailrc file?

Thanks,
Bryan Basham
From: peregrin@husc14.harvard.edu
Newsgroups: comp.mail.misc
Subject: help installing smail w/o uucp mail
Date: 27 Jan 93 13:35:49 EST
Organization: Harvard Business School

I betting this is an FAQ...

	I am installing smail3 on a sun sparc that has no uucp programs
installed on it (no /usr/bin/uuname in particular), hence all our mail
is smtp based direct to the ethernet and we forward any strange address
to a gateway machine.

	My problem is that smail tries to use uucp mailing when forwarding
an unknown address to the gateway.  How do I turn off the uucp stuff?

-James
+----------------------------------------------------------------------------+
| James Peregrino                        |       peregrin@hbsstg.harvard.edu |
| Programmer/Analyst                     |       PEREGRIN@HULAW1.BITNET      | 
| Science & Technology Interest Group    +-----------------------------------+
| Harvard Business School                | "Watch This Space for More	     |
| Boston, MA 02163                       |  Information."		     |
| Voice:(617)495-6307 FAX:(617)496-5265  |  				     |
+----------------------------------------------------------------------------+

Newsgroups: comp.mail.misc