My colleague mentioned the other day that our Nagios monitoring was very quiet for the last couple of days. I checked the maillog on the Nagios server, to see that all the mails were in status ‘Sent’. A closer look at one of the records showed that Sendmail was still using the old MX record for the target domain. This record had been changed about a week ago and a [root@Nagios ~]# dig MX company.domain.com
came up with the new SMTP server. I thought that a restart of Sendmail would fix the problem, but it did not. Bummer!!
The only way to force Sendmail to use the new MX server was to add the following line into the /etc/mail/mailertable:
company.domain.com esmtp:[IP]
Where IP stands for the IP address of the mailserver in the MX record.
A Quote from qotd.org
Parents rarely let go of their children, so children let go of them.
Mitch AlbomTags
Archives
- September 2017
- June 2017
- February 2017
- June 2016
- December 2015
- September 2015
- July 2015
- June 2015
- January 2015
- November 2014
- August 2014
- June 2014
- May 2014
- April 2014
- February 2014
- January 2014
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- March 2013
- February 2013
- January 2013
- November 2012
- August 2012
- June 2012
- February 2012
- January 2012
- December 2011
UserOnline
Meta
Recent comments