Page 1 of 1
Cant get postfix to send message from nagios
Posted: Thu Mar 30, 2017 8:04 am
by mfrycke
Finally i get Nagios 4.3.1 up on unbuntu 14.
I have install postfix an bsd-mailx but unbuntu dont send ane mail from the server.
i have tro to send mail from the command line
echo "xxxxxxxxxx" | mailx-s "yyyyyyyyyyy"
[email protected]
but no mail is arraived to my mailbox
Can someone please help me
Re: Cant get postfix to send message from nagios
Posted: Thu Mar 30, 2017 10:18 am
by cdienger
Greetings,
We can't really offer too much support directly for postfix, but have you tried:
echo "xxxxx" | mail -s "yyyyyyyy" root@localhost ?
You can then check to see if it's arrived by running "mail" as the root user.
Re: Cant get postfix to send message from nagios
Posted: Fri Mar 31, 2017 1:48 am
by mfrycke
yes i have try that i nothing come in roots mailbox
Re: Cant get postfix to send message from nagios
Posted: Fri Mar 31, 2017 4:41 am
by mfrycke
now iam avaible to send mail from ubuntu command line but i dont get any alets mail from Nagios
Re: Cant get postfix to send message from nagios
Posted: Fri Mar 31, 2017 8:28 am
by mfrycke
i have fix it

case can be closed
Re: Cant get postfix to send message from nagios
Posted: Fri Mar 31, 2017 9:51 am
by cdienger
Awesome! I'll close the thread as requested. Hopefully it's smooth sailing from here on out : )