Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
sinkak
Posts: 158 Joined: Thu Jul 30, 2015 1:30 pm
Post
by sinkak » Tue Dec 08, 2015 3:52 pm
i did reboot
still have the same error with old hostname
Code: Select all
ubuntu@nagios:/var/mail$ hostname
nagios.website.com
Code: 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
hsmith
Agent Smith
Posts: 3539 Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:
Post
by hsmith » Tue Dec 08, 2015 4:53 pm
Former Nagios Employee.
me.
sinkak
Posts: 158 Joined: Thu Jul 30, 2015 1:30 pm
Post
by sinkak » Wed Dec 09, 2015 12:18 pm
this post on postfix helped
i changed the hostname in /etc/postfix/main.cf
its working i am getting email to both my critical and warning email.
Thank You for your help.
Please close this thread
rkennedy
Posts: 6579 Joined: Mon Oct 05, 2015 11:45 am
Post
by rkennedy » Wed Dec 09, 2015 12:31 pm
I will now close this thread out!
Feel free to open a new one if you need assistance in the future.
Former Nagios Employee