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

Posted on 2008-11-13
Last Modified: 2013-12-18
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   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?
Question by:marchopkins
    LVL 14

    Expert Comment

    What is BC?
    LVL 3

    Expert Comment

    If you're using sendmail you'll need to setup masquerading first, here's a link on that:

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

    $ cat addy

    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.

    Author Comment

    Yes, looks like you have a good plan...  Let me try it out.
    LVL 3

    Accepted Solution

    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.

    Author Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now