Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to conduct legitimate email campaigns

We are working on a project that requires us to allow users to register to receive email notifications of certain events. There will potentially be tens or hundreds of thousands of email messages based on any one event.

I know that this is done every day all over the web, but what I don't know is how email campaigns are managed such that the sender is not blacklisted as a spammer when a single mail provider recognizes large numbers of messages from a single source -- I'm especially concerned with high profile mail providers like Yahoo, MSN, AOL, etc. who will likely receive the bulk of the messages that we send.

Is there a standard methodology that is employed in order to conduct legitimate email campaigns that users have voluntarily registered for?

like image 481
Steve Hawkins Avatar asked Feb 08 '09 19:02

Steve Hawkins


2 Answers

Four steps that will significantly increase your chances:

  1. Make sure that your outgoing mail server is using well-behaved software (I suggest postfix). Ill-behaved mail software can cause problems for you by doing things that make servers reject you.
  2. Make sure that your server's forward- and reverse-DNS match. Many mail servers will reject mail from other servers which are not properly configured.
  3. Set up SPF records for your domain and test them.
  4. Set up DomainKeys for your domain, which can be a little complex.
  5. Sign up for ISP feedback loops – (e.g. Yahoo's)

When rolling out one of our websites, our mail server was throttled by Yahoo! because of the volume of e-mail we were sending – all of which was sign-up notifications. We were getting so many new users that they throttled our server. We got around that by flushing that server's mail queue to another server. After three servers got throttled, we managed to get the rest of our mail delivered, and we've been fine since.

You may also wish to consider a third-party service, like CertifiedEmail, which may cost money but which may also ensure a higher rate of delivery.

Finally, send test messages through your system to test accounts on all free webmail services, every ISP you can find, and every mail client you can get your hands on. Only after you've done all of the above should you even consider sending out mail.

Once you're ready to go, I suggest starting with a small group of subscribers and then moving up to the full list later. Better to find problems while they're small.

like image 161
Dan Udey Avatar answered Sep 23 '22 11:09

Dan Udey


The "Spam Best Practices" are a starting point, though mostly non-technical.

On a slightly more technical level, a simplistic and important step is to send yourself a test email using your system and look at the headers to see if there's anything that screams trouble, like X-Authentication-Warning headers.

An instantly-working unsubscribe link is absolutely indispensable.

like image 31
chaos Avatar answered Sep 25 '22 11:09

chaos