[SunHELP] Sendmail

Will Yardley sunhelp at sunhelp.org
Fri Nov 16 02:21:49 CST 2001


Mike's List wrote:

> Make certain that you have the correct MX record setup and don't
> forget to stop/restart sendmail (/etc/init.d/sendmail stop (wait 10
> seconds) /etc/init.d/sendmail start)
 
> i.e. MX is in DNS where your domain resides and MX record.
> 
> domain.com	IN	A	x.x.x.x
> 		IN	MX	mailserver.domain.com

you probably want:
domain.com.	IN	A	x.x.x.x
		IN	MX	 0 mailserver.domain.com.

(note the trailing dots and the metric on the MX record.

you could also do something like:

@		IN	A	x.x.x.x
		IN	MX	mailserver

(where @ represents the $ORIGIN of the zone and mailserver is relative
to the $ORIGIN as well).

the original example would probably give:
domain.com.domain.com. 	x.x.x.x
and the mx would point to mailserver.domain.com.domain.com. (records
without a trailing dot are assumed to be relative to the $ORIGIN.

sorry to be picky :>

w

-- 
GPG Public Key:
http://infinitejazz.net/will/pgp/



More information about the SunHELP mailing list