Re: how to configure nagios sendmail after installing nagios
Posted: Tue Dec 08, 2015 3:52 pm
i did reboot
still have the same error with old hostname
still have the same error with old hostname
Code: Select all
ubuntu@nagios:/var/mail$ hostname
nagios.website.comCode: Select all
echo "test nagios email" | /usr/bin/mail -a "From:[email protected]" -s "Test" [email protected]
Reporting-MTA: dns; nagios-2015
X-Postfix-Queue-ID: DCF014485B
X-Postfix-Sender: rfc822; ubuntu@nagios-2015
Arrival-Date: Tue, 8 Dec 2015 20:43:06 +0000 (UTC)
Final-Recipient: rfc822; [email protected]
Action: failed
Status: 5.5.2
Remote-MTA: dns; smtp17.msoutlookonline.net
Diagnostic-Code: smtp; 504 5.5.2 <ubuntu@nagios-2015>: Sender address rejected:
need fully-qualified address
--DCF014485B.1449607387/nagios-2015
Content-Description: Undelivered Message
Content-Type: message/rfc822