Ryan Schuetzler

Researcher and techie extraordinaire

Set Up Postfix to Send From Gmail

| Comments

Alternate title: How to send 9,000 emails from a Gmail address

To preface this, I want to say that I am currently in charge of online activity for an honor society at school. As part of those responsibilities, I needed to send emails to over 9,000 prospective members to invite them to join the organization. We use Gmail addresses for our organizations email, but Google shuts off an email address after sending about 500 emails, and it shuts off an IP address after you send about 1,500 (using three different accounts).

To solve this problem, I installed an SMTP server (Postfix) on my computer at home so I could send that many emails. I couldn’t find any free email provider who allows that many emails. Here are the steps to create the server:

  1. Create an MX record with your DNS
  2. I used this tutorial to set up Postfix and Dovecot for SMTP and IMAP. It provides a great walkthrough for setting up a secured SMTP server (a must unless you want any Joe Shmoe to send spam through your computer).
  3. Open up ports 25 (SMTP), 143 & 993 (IMAP) in whatever network devices you need to

Once you have that set up, it’s a piece of cake to set up Outlook or your favorite mail client to send mail through your SMTP server.

  1. Create a new email account in your mail client
  2. Set up the incoming and outgoing servers to direct to your domain (example.com)
  3. Your email account for both incoming and outgoing mail will require secure authentication. Use the username and password for your user account on the server
  4. Your email address on the server will be user@example.com
  5. For the “email address” section of the account setup, just enter your Gmail (or other) address
  6. Proceed to send mail
The emails you send will appear to come from your Gmail address instead of user@example.com. This way you can use a Gmail address to send mass mail and receive responses.

Comments