如何使用nagiosconfigurationsendmail?
我在系统中安装了RHEL 5.4。 我在RHEL 5.4中安装并configuration了nagios,并且nagios工作正常。 当我给nagiosconfiguration文件的contacts.cfg中的gmail的电子邮件地址时,我正在接收邮件。 但是,当我给我公司的域名电子邮件地址,我不接收邮件。 请帮我configuration。 以下是发送邮件时获得的日志消息。 Gmail日志消息: Jan 21 13:55:06 companyname sendmail[21701]: p0L8P6Dv021701: [email protected], ctladdr=nagios (501/501), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30304, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p0L8P6o3021702 Message accepted for delivery) Jan 21 13:55:09 companyname sendmail[21704]: p0L8P6o3021702: to=<[email protected]>, ctladdr=<[email protected]> (501/501), delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=120595, relay=gmail-smtp-in.l.google.com. [74.125.155.27], dsn=2.0.0, stat=Sent (OK 1295598618 x16si20805320anx.100) 我自己的域帐户: Jan 21 15:21:47 […]