SUMMARY: Broadcast Email

From: <Thomas.Ruban_at_ssc.siemens.com>
Date: 21 Nov 96 16:24:15 -0500

Thanks everybody for the fast responses.

First the question:

:I need to occasionally send email to all my users on the system.
:The majority of my users use POP3 to retrieve their email.
:
:My first try was with a mailing list in sendmail, which failed miserably. Some
:folks responded to the mailing-list and everybody else received it, not just
:the owner - which was of course entirely undesired.
:Is there any easy way to send an email to everybody ?? Maybe an easy script
:(/bin/mail) ??
:

 I received almost 20 answers and most fall into the following 4 categories

1. Use the bulletin feature of the qpopper POP3 daemon (available from
ftp.qualcomm.com).

2. Use Mailinglists, but use BCC - Blind Carbon Copy - for the real list.

>Send it to the mailing list using BCC, Blind Carbon Copy, which cannot be
>seen by the reciepient.
>From: operator
>To: operator
>Bcc: all-accounts-list
>Subject: Important message

3. Use a shell or perl sript.
Something like

>#!/bin/sh
>cat /etc/passwd | cut -d: -f1 >users.temp
># Maybe put in a grep -v (something) to get rid of the system accounts
>for i in `cat users.temp`
>do
> mail $i < message.txt
>done

4. A very enterprising person did the following:

cd /usr/home
mail *

This effectivly send mail to every every user who had an account in usr
home. In reality, we had broken our 30,000 accounts into several
different directories, so he had to do this 3 or 4 times, but it worked.

OR

 mailx -s "The Subject Was Roses" `ls /usr/spool/mail` < /tmp/file
     
     That should mail the file /tmp/file to everyone on the system using a
     subject of "The Subject Was Roses". :)


Thanks again all that responded.
Received on Thu Nov 21 1996 - 22:41:24 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT