Sending a Mass e-mail with Sendmail (Redhat ES)

I need to send a mass e-mail to all of my customers.  Our mail server is a Linux box using Sendmail.  I want to use the  e-mail address alias pr@domain.com.   Is there a way that i can do this other than sending the e-mail using BC and entering in every e-mail address each time i wish to send?
marchopkinsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sjm_eeCommented:
What is BC?
0
VryaliCommented:
If you're using sendmail you'll need to setup masquerading first, here's a link on that:

http://www.cyberciti.biz/tips/sendmail-masquerading-configuration-howto.html

Assuming there is some easy way for you to get your email addresses, like a flat text file:

$ cat addy
a@a.com
b@c.com
c@c.com

You can just script it like so:

for num in `cat addy`; do mail -s "Newsletter blah blah" $num < /home/bob/emails/messagetextnov1308; done

Believe that's what you were asking.
0
marchopkinsAuthor Commented:
Yes, looks like you have a good plan...  Let me try it out.
0
VryaliCommented:
Did this work for  you?  I was just going back through to look at some former questions and wasn't sure if this was still outstanding or not.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
marchopkinsAuthor Commented:
It somehow got lost in the sea of other things i have going.  But, i plan to try to execute what you have provided very soon.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.