在Windows域中为电子邮件警报configurationNagios

我有一个在EBS 2008 Windows域中运行的Lucid Ubuntu服务器。 此服务器正在运行Nagios,我希望它将电子邮件通知发送到Exchange 2007服务器。 我已经安装了mailutils并运行dpkg-reconfigure exim4-config,但是我仍然没有正确设置它。

我一直试图通过命令行发送电子邮件作为Nagios命令的概念validation,但exim4日志文件说:

2010-09-23 11:29:32 Start queue run: pid=8248 2010-09-23 11:29:53 1OySgu-0002xV-5N internet.domain.com.au [**my external IP**] Connection timed out 2010-09-23 11:29:53 1OySgu-0002xV-5N == [email protected] R=dnslookup T=remote_smtp defer (110): Connection timed out 2010-09-23 11:29:53 End queue run: pid=8248 2010-09-23 11:59:32 Start queue run: pid=9958 2010-09-23 11:59:32 1OySgu-0002xV-5N == [email protected] R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host 

我可以通过交换机IP通过25远程login交换服务器。

我想正确configuration一个简单的内部networking直接发送到我的交换服务器。 从看日志看来,它似乎想先上网,而不是呆在内部。

有什么build议么?

您需要将您的exim4安assembly置为智能主机设置。 这可以通过重新运行dpkg-reconfigure并select正确的选项来完成。 然后input您的Exchange Server的名称(或IP地址)作为智能主机。

确保智能主机实际上已经为您要使用的电子邮件地址设置了一个帐户(或联系人)。 您可能还需要进行身份validation(取决于您的Exchange服务器configuration)。