Category: SMTP

  • Allowing Relaying in SMTP: A Survey

    Prepared by:

    Paul Hoffman
    Internet Mail Consortium

    Internet Mail Consortium Report: UBE-RELAY
    IMCR-006, February 1, 1998

    Summary

    Many people working to combat unsolicited bulk email (UBE) believe that restricting the ability of UBE senders to use unrelated SMTP gateways would help reduce the amount of UBE. Companies that have had UBE sent through their SMTP servers have experienced losses in terms of time and money due to the responses they receive.

    It’s important to note that relaying messages through an SMTP server is standard practice for users affiliated with that server. However, malicious UBE senders often exploit SMTP relays that they have no connection with, passing the cost of transmission onto others.

    It is generally in the best interest of SMTP server administrators to restrict relaying to known users. Many commercial and freeware SMTP servers allow this control, and it is becoming an increasingly essential feature for those purchasing or using SMTP services.

    Until now, only anecdotal reports have surfaced regarding the percentage of publicly-known SMTP servers that allow unauthorized relaying. The percentages reported vary widely, and test methodologies were often unspecified. To address this, IMC recently conducted a large-scale test to determine how many SMTP servers allow unauthorized relaying.

    Results showed that over 55% of SMTP servers allowed relaying from users not affiliated with the server. This figure is higher than many previous estimates, demonstrating that more work is needed to reduce the number of open relays to the point where UBE senders struggle to find available servers they are not authorized to use.

    Collecting Test Data

    IMC’s 38 mailing lists consist of 6,427 names, representing deliverable addresses hosted at 2,839 unique mail servers (i.e., unique domains appearing to the right of the “@” symbol in email addresses). For each of these 2,839 mail servers, the lowest-numbered MX (Mail Exchanger) record was identified, followed by the corresponding A record. If no MX record existed, the A record alone was used. In cases where neither an MX nor A record could be found, the mail host was discarded. This left 2,813 valid hosts and their corresponding IP addresses.

    A random sample of 500 of these 2,813 hosts was selected for the relay test.

    Performing the Test

    The test was conducted on the evening of January 24, 1998. Each SMTP command’s response was logged, and the program also recorded how far it progressed in sending a relayed test message. The domain “ABCDE.COM” was used as an existing domain associated with IMC, though it does not correspond to the actual “abcde.com” domain.

    The steps of the test were as follows:

    1. Connection to Port 25:
      The test program attempted to connect to the IP address associated with each host on port 25. If the connection failed, the program terminated and logged “CONNECT.” A total of 28 servers failed to connect.
    2. SMTP Greeting (EHLO/HELO Command):
      After connecting, the program issued an EHLO command using “mail.ABCDE.COM” as the domain of the test machine. If EHLO was rejected, the program tried a HELO command. If both commands were rejected, the program logged “EHLO” and terminated. None of the tested servers rejected the SMTP greeting.
    3. MAIL FROM Command:
      The program issued the command “MAIL FROM:phoffman@ABCDE.COM.” If this command was rejected, the program logged “MAIL” and terminated. All tested servers accepted this command.
    4. RCPT TO Command:
      The next step was to issue the “RCPT TO:ron@ABCDE.COM” command. Most SMTP servers that block relaying are expected to return an error at this point since the message is not intended for local delivery. A total of 182 servers responded with a 4xx or 5xx error code, indicating that they blocked the relay attempt.
    5. DATA Command:
      If the RCPT TO command was accepted, the program issued a “DATA” command and sent the following message:
       To: ron@ABCDE.COM
       From: phoffman@ABCDE.COM
       Subject: Relay test
    
       Sent from
       [name of the host sent to]
       [timestamp]

    If the DATA command was rejected, the program logged “DATA” and terminated. Two servers that had accepted the RCPT TO command returned 4xx or 5xx responses to the DATA command. One rejected the message because it wasn’t local, while the other rejected it due to the absence of a date field in the message.

    1. QUIT Command:
      The program issued the “QUIT” command and logged “OK.” All 288 remaining hosts responded with a 2xx success code.

    Analyzing the Results

    The responses recorded in the test logs are as follows:

    ResponseNumberPercent
    CONNECT285.6%
    TO18236.4%
    DATA20.4%
    OK28857.6%

    Several reasons could explain the 5.6% failure rate to connect. One likely factor is that some hosts on the mailing lists were no longer operational, as some lists had not received messages in several months. Additionally, if higher-numbered MX records had been tried for the hosts that failed to connect, the failure rate could have been lower.

    Of the 288 hosts that fully accepted the message, 259 successfully delivered it to the recipient. Twenty-four hosts returned messages to the “From” address, indicating that the message could not be delivered. Additionally, one human postmaster followed up with a manual message stating that relaying would not be tolerated.

    Experts in the SMTP protocol generally agree that the proper time to reject a message due to relaying violations is after the RCPT TO command. Indeed, most servers that blocked relaying did so at this stage.

    IMC plans to run the test again in the future to track whether more organizations begin to restrict unauthorized relaying. The results from future tests will be incorporated into this report.

    This article is based on “Allowing Relaying in SMTP: A Survey” by Paul Hoffman, published by the Internet Mail Consortium (IMCR-006, February 1, 1998).

    Link to Web Archive: https://web.archive.org/web/19991106005353/https://www.imc.org/imcr-006.html

  • A transactional SMTP service for your app

    Send important transactional emails like password resets, order confirmations, and more with a reliable SMTP service. Avoid the hassle of maintaining your own email infrastructure while ensuring timely delivery of your emails.

    Key features of a transactional SMTP service

    Sending a few emails a day is generally manageable, even if you’re reaching dozens of people. Services like Google’s Gmail limit email sends to 500 per day, and many shared hosting providers also impose email caps. While this might be fine for personal use, sending hundreds or thousands of transactional emails daily can easily exceed those limits.
    For businesses sending bulk emails or transactional messages to large audiences, cloud-based SMTP services provide the necessary scalability. With services like KingSMTP, you can send transactional emails to any number of customers, triggered by their actions on your site, all without managing your own SMTP server. KingSMTP offers seamless setup and integration for your transactional email needs.

    Email servers vs. cloud-based SMTP services

    While managing your own email server is an option, sending large volumes of emails—whether transactional or promotional—can be technically demanding. Managing email servers at scale can consume valuable developer time and require significant resources to handle email traffic.
    Many companies, even those that run their own email servers, often choose to rely on a dedicated SMTP service for transactional emails. The ease, speed, and reliability of using a service like KingSMTP make it an attractive alternative. KingSMTP offers a ready-to-go SMTP relay and a customizable email API for developers seeking more control over email delivery.

    Ensuring reliable delivery

    Sending emails is only half the battle—ensuring they’re actually received is just as important. Without strong deliverability and tracking mechanisms, it’s difficult to know how many of your emails will bypass spam filters or avoid bouncing. Testing your own servers might help, but it can be time-consuming and may not provide all the insights you need.
    A robust email service should not only help you scale your transactional messages but also ensure high deliverability rates. KingSMTP enhances deliverability with domain name authentication and email address validation, reducing bounce rates and preventing spam complaints. For companies requiring the highest delivery success rates, KingSMTP’s managed service provides personalized support and proactive monitoring to optimize performance.

    Maximizing the impact of transactional messages

    Great email marketing feels personal and relevant. Transactional emails—whether they’re password resets, order confirmations, or account updates—can be a key part of your marketing strategy. Tailored, responsive, and relevant transactional messages can help increase customer engagement.
    With KingSMTP, you can take your transactional emails to the next level by conducting A/B tests and analyzing key events like click-throughs. The platform’s real-time analytics, including open and click tracking, allow you to continually optimize the performance and effectiveness of every email you send.

    Start using our transactional SMTP service

    Explore our free plan to optimize your email delivery rates with one of the top SMTP solutions available. Discover our plans with bundled features for enhanced deliverability, perfect for businesses needing reliable SMTP service.

  • KingSMTP Server – How to Send Emails for Free

    Kingmailer’s SMTP server is a free and paid SMTP service which anyone who has an email account or a web app can use to send or receive emails. You can use it with personal emails, or even with your website if you are sending emails for things such as contact forms, notifications or other type of transactional emails.

    To use Kingmailer’s free SMTP server, you will need the following settings for your outgoing emails:

    SMTP Hostkingmailer.org
    Port587, 465, 25 or 2525
    Type of EncryptionTLS
    SMTP AuthenticationYes
    SMTP UsernameYour Kingmailer SMTP username
    SMTP PasswordYour Kingmailer SMTP password
  • WooCommerce SMTP

    If you need reliable email delivery for your WooCommerce store, you have come to the right place. Our servers are designed for delivering transactional emails, or emails generated by your WooCommerce e-store. Emails like orders emails, invoices, password resets, user sign up emails, welcome emails etc.

    Emails /moPrice /moPrice /year
    5,000USD5USD49
    10,000USD9USD79
    20,000USD19USD159
    40,000USD39USD389
    Pay with Credit card, PayPal, Bitcoin, Binance Pay or USDT. Please sign up and test our service first. Contact us info@kingsmtp.com or via Telegram @ KingSMTPcom

    Easy to troubleshoot emails

    In your KingSMTP dashboard, you can click on each email to troubleshoot. KingSMTP logs and retains data of your emails, this is very useful when you need to troubleshoot your emails.

    Here are a few screenshots to give you an idea:

    Incoming messages
    Spam check
    Spam status
    Extra details of your message
    Spam Check details
    Spam score

    This is already pre-configured in your account, give it a try.

    How does it work?

    Time needed: 1 minute

    Follow these steps to start using our SMTP service with WooCommerce

    1. Install and activate our SMTP plugin

      Search in the WordPress plugin directory Kingmailer SMTP, and install and activate that plugin.

    2. Go to the settings of this plugin, and enter your Kingmailer HTTP API credentials

      You can create a new API by going into your Kingmailer-account, look under Credentials, create new credential. Select type API. Copy and paste the key into the WordPress SMTP plugin. Send us an email if you need help.

    3. Click Save Changes

      That’s it.

    After following these steps, all of your transactional emails will be relayed via Kingmailer and delivered to your customers.

    Have questions? Leave a comment or send us an email info@kingmailer.co.

  • Postmaster en mailer daemon

    Vaak ontvang je onverwachte e-mails van een afzender genaamd “Postmaster”, of “Mailer-Daemon”, of “Mail-Subsystem”. Het onderwerp begint meestal met “mail mislukt”, wat betekent dat? Welnu, dit zijn altijd foutmeldingen van het mailsysteem. De “Postmaster” is de persoon die — kort gezegd — zorgt voor het goed functioneren van een mailsysteem.

    De “Mailer-Daemon” is het proces, oftewel het programma, dat verantwoordelijk is voor het transporteren van e-mails. Het transporteren van e-mails is een zeer complexe taak en kan hier niet eens worden besproken.

    In ieder geval geven e-mails van dit type altijd aan dat er een fout is opgetreden tijdens het transport van een e-mail, dat wil zeggen dat de e-mail niet kon worden afgeleverd. In een dergelijk geval wordt de e-mail automatisch teruggestuurd naar de afzender met een beschrijving van de opgetreden fout.

    Een nadere blik op deze e-mails biedt altijd informatie over het probleem. In de meeste gevallen is het ingevoerde e-mailadres onjuist, dat wil zeggen dat het ofwel een typfout is of een niet-bestaand e-mailadres. Een zorgvuldige controle van het adres zou in de meeste gevallen het probleem moeten oplossen; andere problemen kunnen binnen de reikwijdte van deze introductie niet worden behandeld.