Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8113463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T02:50:15+00:00 2026-06-06T02:50:15+00:00

I am currently developing an email server in C, and the end goal is

  • 0

I am currently developing an email server in C, and the end goal is to be able to send millions of emails to millions of people every day. Many organizations have email lists with large numbers of users that they email every week/month/etc.

The big question: how can I prevent the server and the emails from being marked as a spam? All of the SPAM-prevention stuff I’ve seen so far deals mostly with poor configurations, or at least does not require large numbers of emails to be send every hour. I have yet to see anything that addresses the scope of millions-of-emails-per-hour.

Here are some assumptions you can make:

  • EVERY single email sent is legitimate
  • all SPF records and MX records are accurate, up-to-date, and valid
  • all other common SPAM-prevention tactics are being used (reverse DNS is good, DKIM is used, return-addresses are valid, etc etc etc)
  • emails are one-to-one (ie, I’m not CC’ing 1000 gmail addresses; I’m sending one email to each address)

Here are some questions to get us moving in the right direction:

  • should I limit the number of emails sent to X emails per minute per domain? If so, how do sites like GMail and MailChimp get around this? note: there are no ISP restrictions; this is only an issue for the receiving mail server…
  • should I limit the number of connections to a domain at a given time? (eg, will Google think I’m a spam agent if I open 10/100/1000 simultaneous connections to gmail servers?)
  • how many bounce-backs (5xx errors on an address) should I accept for automatically removing that email from a subscription list? does this affect a server’s spam rating?
  • is there anything else I should or should not do?

Final note: please remember this is a programming question, NOT a library question – I don’t want to use someone else’s service; we are writing our own for a reason. I’m looking for practical programming advice.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T02:50:17+00:00Added an answer on June 6, 2026 at 2:50 am

    This is not a programming question, but here goes:

    I strongly recommend you join your local mail operators mailing list, as well as “Spam-L” mailing list. Read the archives, and see what issues others are having.

    The short answer is that destination servers can, and do, use all sorts of methods to try to prevent spam. THere are many things you will need to be aware of in order to have good deliverability, and those things change all the time.

    • First and most important, remember:

      Free speech also includes free listening.
      Nobody has to accept or transmit your mail.

      Independent operators, businesses and individuals have a perfect right to refuse your mail for any reason or no reason. ISPs are limited only by their contracts with the customer and common-carrier laws, which generally give them broad discretion in what is considered spam and how they block it.

    • Their system, their rules. If you want your messages delivered, you must cooperate with receiving ISPs. This may mean jumping through hoops, or complying with requirements you think are stupid, or pointless.

    • Ensure you are not listed by SpamHaus. Most ISPs small and large use SpamHaus DNSBL service. Presence on one of SpamHaus’ lists asserts their opinion that your mail meets their listing criteria. Because of SpamHaus’ high reputation, most ISPs will simply block all mail you send based on their opinion.

    • Make sure you process unsubscribes.

    • Make sure you process non-delivery reports. You may not want to kill a subscription on the first NDR, as there can be intermittent network or server problems which can result in non-delivery, or even erroneous reports that an address is incorrect. But if you get several over the course of a month or two with no successful deliveries, you should kill the subscription.

    • Join a pay-for reputation service. These may require posting a bond which you may lose if you send Spam. SpamHaus offer one. There are others.

    • Get professional advice from someone like Return-Path. You will have to pay for this also.

    • Monitor. The hoops you have to jump through change all the time. Ensure you are aware of emerging deliverability problems.

    • Join feedback loops. most large ISPs offer feedback programmes where you can get feedback on how users are perceiving your mail, whether they are reporting it as spam, etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an Codeigniter based website and I need to send emails to
Background: I am currently developing a Java front end for an Enterprise CMS database
Im currently developing a chat client for the iphone. Server-side there is a node.js
I am developing a web app that sends out emails. Currently, all emails have
I'm developing an application that requires testing email. I'm currently using wampserver, but it
We are developing a webapp that needs to send out emails written in Java/Groovy.
Currently developing an application using the newest version of symfony, obtained through PEAR. This
Currently developing a PHP framework and have ran into my first problem. I need
Im currently developing an In-House Enterprise application. I will publish the app using Apple
I am currently developing an EJB 3.0 based application on the JBoss AS 5.0.0.GA

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.