Blog Stats
  • Posts - 31
  • Articles - 0
  • Comments - 1
  • Trackbacks - 680


Backup Your SMTP Server

My email server went belly-up this week and so I have again been thinking about a backup SMTP server so when my SMTP server is down, I do not loose mail. So here is what I understand needs to be done. Any suggestions or comments are appreciated.

Before we can understand how you could have a backup SMTP server, it is necessary that we understand some the "normal" operations of a outgoing mail, (SMTP) server.

SMTP and Mail relaying
When sends email is sent to, his email client sends the message to his designated SMTP server. Due to spammers that often make use of (mail relaying), SMTP servers should employ some method to determine that the user should be using this SMTP server.

The SMTP server It is the SMTP servers "job" to deliver the message to the SMTP server for the The SMTP server determinse the's SMTP server by querying DNS and asking for record of type MX.'s SMTP server then attempts to send the message to the MX record with the highest "priority" record which is the record with the lowest number.

If's SMTP server does not answer, he trys the next higher priority record which is the next bigger number record of the type MX.

So, if we wanted to setup a backup SMTP server for, we would need the administrator of to setup his server to accept incoming messages for as an ETRN mail domain. The details of the ETRN fuction are defined in RFC 1985.

We should then verify that will indeed accept email for This can be performed by telneting to the's SMTP server on port 25 and entering the following:
OK, connected to
< 220 SMTP ready
< 250 Pleased to meet you
< 250 Sender OK
> RCPT TO:<>
< 250 Recipient OK
< 354 Send message, end with <CRLF>.<CRLF>
> From:
> To:
> Subject: SMTP Test (
> If you received this, then the mail server ( is probably working.
> .
< 250 OK

If you receive any message that starts with 5##, like
< 571 Remote sending only allowed with authentication!
Then the will NOT accept mail for your domain.

NOTE: You can also go to and do this test.

Once we have the above ETRN host defined and working, we then must add to's DNS as a MX record with a bigger number than's MX record.

That should work.


# computer training class

&lt;a href =''&gt;podcasting&lt;/a&gt; &lt;a href =''&gt;mother of the bride dresses&lt;/a&gt; &lt;a href =''&gt;olympics&lt;/a&gt; &lt;a href =''&gt;vacation rentals&lt;/a&gt; &lt;a href =''&gt;golf equipment&lt;/a&gt; &lt;a href =''&gt;free stuff&lt;/a&gt; &lt;a href =''&gt;supercars&lt;/a&gt; &lt;a href =''&gt;computer training class&lt;/a&gt; 12/19/2006 7:54 PM | computer training class

# dating

&lt;a href =''&gt;web hosting&lt;/a&gt; &lt;a href =''&gt;dating&lt;/a&gt; &lt;a href =''&gt;gold teeth&lt;/a&gt; &lt;a href =''&gt;currency trading&lt;/a&gt; &lt;a href =''&gt;free clip art&lt;/a&gt; &lt;a href =''&gt;debt&lt;/a&gt; &lt;a href =''&gt;file hosting&lt;/a&gt; &lt;a href =''&gt;dating&lt;/a&gt; 1/20/2007 5:45 AM | dating

# nascar

&lt;a href =''&gt;weddings&lt;/a&gt; &lt;a href =''&gt;crosswords&lt;/a&gt; &lt;a href =''&gt;olympic rings&lt;/a&gt; &lt;a href =''&gt;baby shower invitations&lt;/a&gt; &lt;a href =''&gt;urban legends&lt;/a&gt; &lt;a href =''&gt;sweet shop&lt;/a&gt; &lt;a href =''&gt;Funny Jokes&lt;/a&gt; &lt;a href =''&gt;nascar&lt;/a&gt; 1/22/2007 3:39 AM | nascar

# sweet shop

&lt;a href =''&gt;irs&lt;/a&gt; &lt;a href =''&gt;wwf&lt;/a&gt; &lt;a href =''&gt;violent video games&lt;/a&gt; &lt;a href =''&gt;piano&lt;/a&gt; &lt;a href =''&gt;olympics&lt;/a&gt; &lt;a href =''&gt;three 6 mafia stay fly&lt;/a&gt; &lt;a href =''&gt;virus scan&lt;/a&gt; &lt;a href =''&gt;sweet shop&lt;/a&gt; 1/22/2007 12:08 PM | sweet shop

# earrings

&lt;a href =''&gt;Mortgage Payment Calculator&lt;/a&gt; &lt;a href =''&gt;psoriasis&lt;/a&gt; &lt;a href =''&gt;work at home business&lt;/a&gt; &lt;a href =''&gt;clocks&lt;/a&gt; &lt;a href =''&gt;collecting&lt;/a&gt; &lt;a href =''&gt;blogging&lt;/a&gt; &lt;a href =''&gt;training videos&lt;/a&gt; &lt;a href =''&gt;earrings&lt;/a&gt; 1/25/2007 5:41 AM | earrings

# arthritis

&lt;a href =''&gt;clipart&lt;/a&gt; &lt;a href =''&gt;merchant accounts&lt;/a&gt; &lt;a href =''&gt;dedicated hosting&lt;/a&gt; &lt;a href =''&gt;paintball&lt;/a&gt; &lt;a href =''&gt;puzzles&lt;/a&gt; &lt;a href =''&gt;jigsaw puzzles&lt;/a&gt; &lt;a href =''&gt;clip art&lt;/a&gt; &lt;a href =''&gt;arthritis&lt;/a&gt; 2/6/2007 1:51 PM | arthritis

# code lyoko

&lt;a href =''&gt;wu long tea&lt;/a&gt; &lt;a href =''&gt;home business&lt;/a&gt; &lt;a href =''&gt;Free Diet Plans&lt;/a&gt; &lt;a href =''&gt;make money&lt;/a&gt; &lt;a href =''&gt;neopet&lt;/a&gt; &lt;a href =''&gt;send sms&lt;/a&gt; &lt;a href =''&gt;engagement rings&lt;/a&gt; &lt;a href =''&gt;code lyoko&lt;/a&gt; 2/8/2007 2:44 PM | code lyoko

Comments have been closed on this topic.


Copyright © jeemster