Sending mails - first post

Michael Saldivar mike.saldivar at advocatecreditrepair.com
Tue Nov 17 16:50:07 CET 2009


On Tue, Nov 17, 2009 at 2:36 AM, Cosmin Neagu <cosmin.neagu at omnilogic.ro>wrote:

> Hello everybody,
>  From what i see from commands.cfg, by default it tries to send email
> with: /usr/bin/mail -s.
> But the email ends up in a local folder /var/mail/cosmin.
> Can anyone help me with some documentation or some advice on how can i
> make nagios send emails?
> Thanks.
>
>
Looks like it is sending mail, and that mail is being delivered locally.
When you configured Nagios to send e-mail, what e-mail address did you tell
it to send to?

Also, look for a file called /etc/aliases.  Open it, and see if there is a
line like:

root:          cosmin

The name on the left may match the e-mail address you gave nagios, and the
aliases file is re-directing that mail to the local user cosmin.  Replace
cosmin with an e-mail address on a different domain.  Or modify Nagios to
send to a an e-mail address on a domain different than the local machine.
 Or configure the e-mail client on your computer to check the e-mail account
on your Nagios machine.

-- 
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091117/157c58b5/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list