search the mailhelp archives at moongroup.com if you want something that
is slightly fancier, i.e supporting their name as well as their email
address, and "personalized" body of the message.

hth
charles

On Fri, 6 Oct 2000, Anthony E . Greene wrote:

> On Thu, 05 Oct 2000 18:12 Jeff Graves wrote:
> >Running 6.2 stock kernel with IMAP,POP, and SMTP. Also set up horde and
> IMP
> >for remote IMAP access. Anyway, need to pull email addresses out of an
> >(win32) Symantec Act! Database and send a mail blast to all clients.
> Don't
> >necessarily need to directly access database. ie. I can export as ASCII
> if
> >need be. Important thing is to have to address show up as user's address
> >(not a list like this one). Database is roughly >1000 users and the
> system
> >is a P166 with 64MB. Not a monster by any standards but this doesn't need
> to
> >be sent out in 5 seconds. If I can set it up to send overnight during
> idle
> >periods (don't stop incoming mail to send this mass mail). Any
> suggestions?
> 
> Assuming the addresses are exported into a text file and listed one per
> line, you could use a shell script like this:
> 
> #!/bin/sh
> #
> addrlist=address_list.txt
> msgbody=mass_message.txt
> subj='Subject of Message'
> for recipient in `ls $addrlist`; do
>   mail -s $subj $recipient < $msgbody
> done
> # end of script
> 
> If you want to reduce the load sendmail puts on the system, you can add a
> sleep command before the "done" line:
> 
> for recipient in `ls $addrlist`; do
>   mail -s $subj $recipient < $msgbody
>   sleep 5
> done
> 
> A 5 second pause means it will take ~83 minutes to queue 1000 messages, not
> counting DNS resolution time. On the machine you're using, any message
> addressed to an operational destination should be delivered in 90 minutes or
> less.
> 
> Tony
> -- 
> Anthony E. Greene <[EMAIL PROTECTED]> <http://www.pobox.com/~agreene/>
> PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
> Chat:  AOL/Yahoo: TonyG05    ICQ: 91183266
> Linux. The choice of a GNU Generation. <http://www.linux.org/>
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to