- 论坛徽章:
- 0
|
在配置监控,但是报警发不出去 最简单的测试如下,sendmail服务开着,防火墙已关闭
mailx -s "test mail" root@10.8.211.166 <test.txt
The original message was received at Fri, 14 Aug 2015 10:11:24 +0800
from test-liunx [127.0.0.1]
----- The following addresses had permanent fatal errors -----
<root@10.8.211.166>
(reason: 550 5.7.1 anonymous client does not have permissions to send as this sender (by tpa))
----- Transcript of session follows -----
... while talking to rb-smtp-int.xxx.com.:
>>> DATA
<<< 550 5.7.1 anonymous client does not have permissions to send as this sender (by tpa)
554 5.0.0 Service unavailable
--t7E2BWsR017960.1439518292/test-linux
Content-Type: message/delivery-status
Reporting-MTA: dns; test-linux
Received-From-MTA: DNS; test-liunx
Arrival-Date: Fri, 14 Aug 2015 10:11:24 +0800
Final-Recipient: RFC822; root@10.8.211.166
Action: failed
Status: 5.7.1
Remote-MTA: DNS; rb-smtp-int.xxx.com
Diagnostic-Code: SMTP; 550 5.7.1 anonymous client does not have permissions to send as this sender (by tpa)
Last-Attempt-Date: Fri, 14 Aug 2015 10:11:32 +0800
--t7E2BWsR017960.1439518292/test-linux
Content-Type: message/rfc822
Return-Path: <root@test-linux>
Received: from test-linux (test-liunx [127.0.0.1])
by test-linux (8.13.8/8.13. with ESMTP id t7E2BOsR017958
for <root@10.8.211.166>; Fri, 14 Aug 2015 10:11:24 +0800
Received: (from root@localhost)
by test-linux (8.13.8/8.13.8/Submit) id t7E2BOO4017952
for root@10.8.211.166; Fri, 14 Aug 2015 10:11:24 +0800
Date: Fri, 14 Aug 2015 10:11:24 +0800
From: root <root@test-linux>
Message-Id: <201508140211.t7E2BOO4017952@test-linux>
To: root@10.8.211.166
Subject: test mail
test mail
--t7E2BWsR017960.1439518292/test-linux-- |
|