I have started using Nagios and I have some problems for configuring the mail notifications.
First I configured Postfix and I checked it works receiving successfully the following mail:
/usr/bin/printf “text” | /bin/mail -s “subject” myMail@gmail.com
After I installed and configured Nagios following the Nagios Quickstart Installation Guides adding my mail as the email of nagiosadmin contact (default).
When I login in Nagios web interface I check an expected service problem (critical) which supposedly runs 'notify-service-by-email 'command but I never receive the email.
I’m sure there should be a standard answer for this newbie question… any idea?