Email-Notification
Posted: Wed Apr 03, 2013 9:33 am
Hi there,
now i'm searching a bunch of hours to get mail notification working.
I want to get notified by mail when a service alert appears.
For that i created an contact with my mail address as recipient and and bound it into nagios.
I altered the notify-service-by-email command by appending " -- -r myFromAccount@myDomain".
After that I unfornunally saw that neither "/usr/bin/mail" nor "/usr/bin/mailx" are able to hand over a password to my NON-open-relay smtp-server.
Please correct me if i'm wrong, but i think the only way to get this working is via telnet command, right?
If it's so, please can u give me a short example with an account and a password?
KR
Andre
now i'm searching a bunch of hours to get mail notification working.
I want to get notified by mail when a service alert appears.
For that i created an contact with my mail address as recipient and and bound it into nagios.
I altered the notify-service-by-email command by appending " -- -r myFromAccount@myDomain".
After that I unfornunally saw that neither "/usr/bin/mail" nor "/usr/bin/mailx" are able to hand over a password to my NON-open-relay smtp-server.
Please correct me if i'm wrong, but i think the only way to get this working is via telnet command, right?
If it's so, please can u give me a short example with an account and a password?
KR
Andre