Saturday, 10 January 2009

 

Sending E-Mail Using Sendmail Without A DNS Server

I was struggling with this issue, until I found this post.

If you're building your server in a DMZ without a DNS server, your first step is to update the Smart Host entry (listed as DS on the sendmail.cf file or SMART_HOST in the sendmail.mc file) to show the following

DSsmtp:[123.123.123.123]

OR

dnl define(`SMART_HOST',`smtp:[123.123.123.123]')

Update: 2009-02-09

While trying to implement this on a box, I've noticed that there's a slight addition to make. You'll also need to make this change in the submit.cf file if you're editing the cf files directly.

If you want your e-mails to come from a specific DNS name, search for the line beginning Df (which will probably be commented out) and make your hostname show in there. (This hint found here)

Labels: , , ,


This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]