LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 02-28-2011, 10:14 PM   #1
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Rep: Reputation: 30
Undeliverable M ail from Nagios


I run Nagios Core 3.2.3 and running postfix as mt mta agent in Ubuntu 10.4.

I have setup nagios alerts to send to me and to send to our ticketing system which is ticket@csaa.com.

My ticketing system has a auto responder which responds to end users so with that basically whenever Nagios sends alerts to ticket@csaa.com it auto responds to nagios - unfortunately it fails:

Your message could not be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can delete your own text from the attached returned message.
The mail system
<nagios@monitor22.csaa.local>: Host or domain name not found. Name service error for name=monitor22.csaa.local type=A: Host not found

My question is, how can I make Nagios/Postfix receive emails within?

Pls kindly advise mates.
Cheers,
DB
 
Old 03-02-2011, 07:44 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by deibertine View Post
I have setup nagios alerts to send to me and to send to our ticketing system which is ticket@csaa.com.
- Make sure your Postfix works first (using Telnet)
- Post the detailed steps and related configuration files?
- Have a look at the Nagios log.
 
Old 03-02-2011, 12:47 PM   #3
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by quanta View Post
- Make sure your Postfix works first (using Telnet)
- Post the detailed steps and related configuration files?
- Have a look at the Nagios log.

Im getting access denied when testing postfix:
root:~# telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
ehlo csaa.com
250-monitor22.csaa.local
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from: admin@csaa.com
250 2.1.0 Ok
rcpt to: administratoremail@csaa.com
Relay access denied
 
Old 03-02-2011, 09:11 PM   #4
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
Take a look at some parameters such as: mydestination, smtpd_recipient_restrictions, relay_domains, ... on the Postfix documentation.

Last edited by quanta; 03-02-2011 at 09:15 PM.
 
  


Reply

Tags
nagios, postfix


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
Sendmail setting: undeliverable timing Sheridan Linux - Server 2 02-11-2008 02:58 PM
undeliverable mail !!! gabsik Linux - Networking 4 06-01-2006 10:54 AM
(SENDMAIL) all undeliverable mail routed to Postmaster outtabox Linux - Software 0 07-13-2004 04:08 PM
Postfix: warning when undeliverable for x hours nielchiano Linux - Software 2 04-23-2004 10:04 AM
Postfix's default undeliverable mail message objorkum Linux - Networking 0 04-15-2004 10:46 AM


All times are GMT -5. The time now is 03:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration