Growing popularity of Mail Tranfser Agents (MTA) such as postfix, by Wietse Venema and IBM,
qmail, and sendmail is partly due to their capacity to validate any
other mail servers who wish to send them mail.
Validation helps reduce the volume of Unsolicited Bulk Email (UBM
or SPAM) with enhanced security, efficiency and reliability for
Internet mail services in general.
Using postfix as as example, just take a look at one set of such
validation options:
"Postfix Configuration - UCE
Controls"
... to see how these MTA's can really slam shut the mail door to
any but the most trustworthy and identifiable mail servers.
Take a moment to look at at this portion of an Ipswitch Imail SMTPD server log. The log shows what information is provided by the SMTP client that is trying to send email to our SMTPD server:
![[ Figure 1 ]](dns-log.gif)
Armed with our log information, let's consider the validation
procedures that various mail servers will run against our (and our
hosted clients') attempts to send mail?
DNS Authentication Tests Run by Email Servers:
Validating the ip address of the SMTP
client:
NO: then reject the mail.
NO: then reject the mail.
NO: then reject the mail.
NO: then reject the mail.
YES: then reject the mail.
NO: then reject the mail.
NO: then reject the mail.
NO: then reject the mail.
YES: then reject the mail.
NO: then reject the mail.
NO: then reject the mail.
YES: then reject the mail.
If you want to be able to validate access to your own mail server, then check out the links above. No matter what brand of mail server you use, you can implement Postfix, IMGate or similar solutions suited to your preferred operating system: Increasing the availability, speed, reliability, and overall quality of your mail infrastructure.
well configuredmail servers will use DNS database records to validate email transfers. Correct DNS based validation reduces spam and has some important security benefits.
How can I setup my DNS so that my own and my clients' mail is reliably delivered to mail servers that use DNS validation techniques?
Check your reverse zone: Is it working? Use the ip block and Scan rDNS tools at SamSpade.org. Using the rDNS tool, if you get no results, or if the results are not what you put in your db. reverse zone file, then your reverse zone is broken!
$ORIGIN mydomain.com. @ A ip.ad.re.ss @ MX 10 mailhost.domain.com.
$ORIGIN somedomain.com. mailhost A ip.ad.re.ss @ MX 10 mailhost.somedomain.com. mailhost MX 10 mailhost.somedomain.com.
EHLO/HELO hostname(see log example above) is entered correctly in the DNS database using:
log snippetin Figure 1. above. Even if you do not intend to use Postfix as your own MTA, it is worth browsing the Postfix documentation as a good reference source for many of the issues introduced here.
When your configure your DNS to meet the guidelines set out above, your DNS definitely will NOT be a mess.
Consequently, you will be able to congratulate yourself on a job well done, and your clients and mail servers will have the best chance of avoiding rejection or black-listing by other mail servers.