Subject: Can you fix this prog., please?

From: [email-masked] (John Dulaney)
Date: 22 Mar 1995 18:29:09 GMT

I've been so lucky to have many people help but still can get 
this little prog. to work.
	Its a loop to stagger out large .addressbooks of e-mail so as not 
to clog my provider.
	It should work but I can't get it to convert to an .exe file.
	Thanks for all help!
------------------------------------------------------------------------------

 #!/bin/sh

 COUNT=0

 for i in cat $2 | cut -f3
 for each person ( `cat recipients | cut -f3`)
 do
        COUNT=`/bin/echo $COUNT + 1 | /bin/bc`
         /usr/ucb/mail -s $1 $i < $3
         /bin/sleep 1
         /bin/echo Mailing to $i
         /bin/echo $COUNT
         if [ `/bin/echo $COUNT % 5 | /bin/bc` -eq 0 ]; then 
                 /bin/echo Resting ...
                 /bin/sleep 7;
         fi
 done
	
----------------------------------------------------------------
	Using chmod I get nothing.
	John
--
*    FREE shareware and latest CD-ROM/Computer gear for sale at my    *
*    WWW WEB PAGE  http://www.xmission.com/~wwwads/mind/logic.html    *
*    Catalog E-mailed catalog as text, zipped, UUEncoded etc.  Or:    *
*    ftp site :  ftp.xmission.com    /pub/users/w/wwwads/logic.zip    *   
*    E-mail for catalog: [email-masked] A nice guy in California    *
*    Plug for friend: Blind or seeing impaired? Ask for Scat95.zip    *

---

From: [email-masked] (John Dulaney)
Date: 27 Mar 1995 18:56:11 GMT

The problem I have is E-mailing 4-5,000 addresses updates of my
latest goods for sale.
	I understand there are programs called listserv and listproc that 
do this well but I've searched and searched and can't find them.

	I need a loop program that will send these out in a staggered way 
so as not to clog my Access Provider. I am on a SUN system and use PINE 
usually.
	I need just a few parameters. The prog. itself, the name of the 
distrib. list and the file to be sent.
	I've had about 15 programs that were hoped to have worked but the 
only one that ever did was from a crl, my provider, employee who did it 
on the side for me and I can't go back to him.
	The prog. he wrote sent the mail out indeed, but it also sent out 
my file to the nickname, the last name and the first name of the client 
before getting to the last line in my .addressbook and sending it out as 
well.
	This created hundreds/thousands of bounced mail which crl had to 
got through by hand. Since an E-mail using only a single name, such 
as John, will default to a crl address I also seemed to have been sending 
E-mail to every customer crl has!
	Crl dropped my access without word to me at that point but I made 
it right until I next err. The next time this happens I'll lose my 
connection with crl permanently.
	As I am not a programmer and very poor at techy things I need a 
program that will work without further tinkering by me.
	To test it you could use the test file I've enclosed and create 
in your .addressbook a distrib. list with my address typed in 3 X.
	Boy, I don't ask much, do I?

	Below or attached are various attempts by others to help me.
	Perhaps some would even work if I was using the correct chmod.
	I've used a+x a+u but that prob. doesn't mean much.
	Your kind help will be forever remembered by me.
	Thanks for even reading the above.
	Best, John

---

From: [email-masked] (Brian T. Beckett)
Date: 29 Mar 1995 23:44:51 GMT

I get a message saying "Bug in Pine detected. Core dumped" frequently
(not always) when new mail comes in.

Anyone know why?

-----------------------------------------------------------------------
Brian T. Beckett                  |  Academic Computing & Technology
Supervisor of Academic Computing  |  Montclair State University
(201)655-4194                     |  Upper Montclair, N.J.  07043
-----------------------------------------------------------------------

---

From: Terry Gray <[email-masked]>
Date: Thu, 30 Mar 1995 19:13:17 -0800 (PST)

> (not always) when new mail comes in.

Brian,
It's always helpful if you mention which version of pine you are using.
This particular bug *sounds* like one that was introduced in 3.90 and fixed 
in 3.91...  

If it is happening with 3.91, use the bug report command and attach a
compressed core file or a stack trace. 

-teg