* SUMMARY: Broadcast Email
@ 1996-11-20 21:04 Thomas.Ruban
0 siblings, 0 replies; 2+ messages in thread
From: Thomas.Ruban @ 1996-11-20 21:04 UTC (permalink / raw)
To: tru64-unix-managers
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.
Thanks again to
bennett@hpel.cees.edu
ckrieger(a)latrade.com
moore(a)shemp.bucks.edu
bive(a)styra.lidac.liu.se
Anil.Khullar(a)mailhub.gc.cuny.edu
eisenman(a)tricity.wsu.edu
jd(a)student.adelaide.edu.au
joltes(a)fas.harvard.edu
scott(a)dsuper.net
stevev(a)hexadecimal.uoregon.edu
rioux(a)ip6480nl.ce.utexas.edu
fxjwk(a)aurora.alaska.edu
^ permalink raw reply [flat|nested] 2+ messages in thread
* SUMMARY: Broadcast Email
@ 1996-11-21 21:24 Thomas.Ruban
0 siblings, 0 replies; 2+ messages in thread
From: Thomas.Ruban @ 1996-11-21 21:24 UTC (permalink / raw)
To: tru64-unix-managers
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-11-21 21:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-21 21:24 SUMMARY: Broadcast Email Thomas.Ruban
-- strict thread matches above, loose matches on Subject: below --
1996-11-20 21:04 Thomas.Ruban
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox