LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Undeliverable M ail from Nagios (http://www.linuxquestions.org/questions/linux-networking-3/undeliverable-m-ail-from-nagios-865625/)

deibertine 02-28-2011 11:14 PM

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

quanta 03-02-2011 08:44 AM

Quote:

Originally Posted by deibertine (Post 4274702)
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.

deibertine 03-02-2011 01:47 PM

Quote:

Originally Posted by quanta (Post 4276313)
- 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

quanta 03-02-2011 10:11 PM

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


All times are GMT -5. The time now is 06:42 AM.