LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-21-2013, 11:02 AM   #1
Frothingdog.ca
LQ Newbie
 
Registered: Jan 2009
Posts: 5

Rep: Reputation: 0
Centos-6.4 + Nagios + Postfix - Email notifications


Setting up a Nagios box at home, but I`m having trouble getting email notifications to send.

Nagios appears to be working fine. It is monitoring devices but alerts are not being sent.

I get the following error in the maillog:

=
Jul 21 11:48:53 nms postfix/pickup[2271]: 3494B7A6D: uid=0 from=<root>
Jul 21 11:48:53 nms postfix/cleanup[2546]: 3494B7A6D: message-id=<20130721154853.3494B7A6D@nms.localdomain>
Jul 21 11:48:53 nms postfix/qmgr[2272]: 3494B7A6D: from=<root@nms.localdomain>, size=434, nrcpt=1 (queue active)
Jul 21 11:48:53 nms postfix/smtp[2548]: 3494B7A6D: to=<myemail@address.com>, relay=mail.cogeco.ca[216.221.81.25]:25, delay=0.31, delays=0.13/0.03/0.12/0.02, dsn=5.0.0, status=bounced (host mail.cogeco.ca[216.221.81.25] said: 553 Postmaster Code 6 - #5.1.8 Domain of sender address <root@nms.localdomain> does not exist. Le domaine <root@nms.localdomain>, utilis?? pour envoyer le courriel, n'existe pas. (in reply to MAIL FROM command))
Jul 21 11:48:53 nms postfix/cleanup[2546]: 911A97A7A: message-id=<20130721154853.911A97A7A@nms.localdomain>
Jul 21 11:48:53 nms postfix/bounce[2549]: 3494B7A6D: sender non-delivery notification: 911A97A7A
Jul 21 11:48:53 nms postfix/qmgr[2272]: 911A97A7A: from=<>, size=2581, nrcpt=1 (queue active)
Jul 21 11:48:53 nms postfix/qmgr[2272]: 3494B7A6D: removed
Jul 21 11:48:53 nms postfix/local[2550]: 911A97A7A: to=<root@nms.localdomain>, relay=local, delay=0.13, delays=0.04/0.03/0/0.05, dsn=2.0.0, status=sent (delivered to mailbox)
Jul 21 11:48:53 nms postfix/qmgr[2272]: 911A97A7A: removed
==

Not sure what this means or how to fix it. Postfix has me confused.

Any help would be greatly appreciated.

Thanks
Brad
 
Old 07-21-2013, 11:37 AM   #2
Frothingdog.ca
LQ Newbie
 
Registered: Jan 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Reason for failure 553 Postmaster Code 6 - #5.1.8 Domain of sender address
Remote mail server mail.cogeco.ca
Reporting mail server nms.localdomain
 
Old 07-22-2013, 05:15 AM   #3
chunglexury
LQ Newbie
 
Registered: May 2013
Posts: 11

Rep: Reputation: Disabled
You must add your own domain’s equivalent of the following lines to the /etc/mail/domaintable database file.
*.example.org example.org
 
Old 07-23-2013, 07:07 PM   #4
Frothingdog.ca
LQ Newbie
 
Registered: Jan 2009
Posts: 5

Original Poster
Rep: Reputation: 0
I don't see a /etc/mail anywhere.
 
Old 08-05-2013, 11:32 AM   #5
Frothingdog.ca
LQ Newbie
 
Registered: Jan 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Does anyone know anything else I can try. This still isn't working. Would appreciate any help here.
 
Old 08-06-2013, 03:46 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Check /etc/postfix/main.cf

http://www.postfix.org/BASIC_CONFIGU....html#myorigin

Hope that works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] help required with nagios email notifications NewtoUbuntu8.1 Linux - Newbie 13 10-13-2011 03:10 PM
send email notifications in nagios LayTech Linux - Newbie 10 07-24-2010 06:34 AM
Nagios email notifications don't get sent, need to configure mailx, how? mitchell7man Linux - Server 3 01-26-2010 01:53 PM
[SOLVED] Nagios and Postfix Email Notifications cazter2 Linux - Networking 18 11-19-2009 02:31 PM
Nagios Email notifications jackie001 Linux - Newbie 3 11-14-2008 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration