[hobbit] hobbit alerts
Rob MacGregor
rob.macgregor at gmail.com
Tue Jul 17 13:54:57 CEST 2007
On 7/17/07, Ryan Jay B. Lapuz <rlapuz at fcpp.fujitsu.com> wrote:
>
>
> this is the output of tail /var/log/maillog:
>
> Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: from=root, size=48, class=0, nrcpts=1, msgid=<2007
> 07171059.l6HAxdVN005428 at localhost.localdomain>, relay=root at localhost
> Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: to=rlapuz at fcpp.fujitsu.com, delay=00:00:00, mailer
> =esmtp, pri=30048, dsn=4.4.3, stat=queued
>
> the status says it is queued by i never receive them.. any ideas?
> I already edited /etc/hosts file
You need to tell Sendmail what to do with the email. By default it
looks up the MX record for the relevant domain, obviously with no DNS
that won't work :)
So, what you need to do is configure a "Smart Host" and put that value
in square brackets to tell Sendmail not to do any DNS lookups. Put
the following in your sendmail.mc file (replacing the word
"mailserver" with the name of the server in /etc/hosts), rebuild
sendmail.cf and then restart sendmail:
define(`SMART_HOST', `[mailserver]')
Note that you'll want to copy and paste - the quotes used are
significant. The sendmail documentation details more:
http://www.sendmail.org/doc/sendmail-current/cf/README
--
Please keep list traffic on the list.
Rob MacGregor
Whoever fights monsters should see to it that in the process he
doesn't become a monster. Friedrich Nietzsche
More information about the Xymon
mailing list