[ossec-list] ossec-maild not sending out any alerts (relaying through ssmtp)

2015-07-03 Thread theresa mic-snare
hi ossec'ers, my problem is I can't send out any emails/alert notifications with the ossec-maild process. I'm relaying my emails through ssmtp, the configuration is valid because I'm able to send out mails to external addresses through mailx for instance. But for some reason OSSEC just won'

Re: [ossec-list] ossec-maild not sending out any alerts (relaying through ssmtp)

2015-07-04 Thread Daniil Svetlov
Hello, Theresa! First of all check spam folder in your gmail account. Probably gmail just in it mail from OSSEC, because they not look valid. If you use SMTP server on localhost, check logs of MTA. It must be in /var/log/maillog. пт, 3 июля 2015 г. в 19:19, theresa mic-snare : > hi ossec'ers,

Re: [ossec-list] ossec-maild not sending out any alerts (relaying through ssmtp)

2015-07-04 Thread theresa mic-snare
Hi Daniil, I've already done that. The maillog doesn't show the mail being sent, but there isn't an error either. It seems that the ossec-maild isn't even relaying it to the local smtp mta (ssmtp) because as said before I can send out mails with mailx just fine. The ossec.log doesn't even ment

Re: [ossec-list] ossec-maild not sending out any alerts (relaying through ssmtp)

2015-07-04 Thread theresa mic-snare
i've also tried disabling iptables, but that didn't help either... but then again i can send out emails with mailx just find, so i don't think it's iptables blocking anyway... any ideas? Am Samstag, 4. Juli 2015 16:41:47 UTC+2 schrieb theresa mic-snare: > > Hi Daniil, > > I've already done that

Re: [ossec-list] ossec-maild not sending out any alerts (relaying through ssmtp)

2015-07-05 Thread Daniil Svetlov
Theresa, try to issue command /var/ossec/bin/ossec-control enable debug. It will increase log verbosity. Then restart OSSEC, and check /var/ossec/log/ossec.log. Also after restart try to issue command "ps aux | grep ossec", and check, that ossec-maild process is running. сб, 4 июля 2015 г. в 19:13

Re: [ossec-list] ossec-maild not sending out any alerts (relaying through ssmtp)

2015-07-06 Thread theresa mic-snare
OK, managed to fix this and face-palming myself i've tweaked the postfix config a bit, enabled the service and there we go... ossec-maild is now officially sending out alerts to my email address. theresa happy :) Am Sonntag, 5. Juli 2015 14:02:29 UTC+2 schrieb Daniil Svetlov: > > Theresa, t

Re: [ossec-list] ossec-maild not sending out any alerts (relaying through ssmtp)

2015-07-06 Thread theresa mic-snare
Hi Daniil, thank you very much for the advice with enabling debug!! I've now looked into the ossec.log and it says: *2015/07/05 03:34:02 ossec-maild(1223): ERROR: Error Sending email to 127.0.0.1 (smtp server)* 2015/07/05 15:03:18 ossec-syscheckd: INFO: Starting syscheck scan. 2015/07/05 15:16:3

Re: [ossec-list] ossec-maild not sending out any alerts (relaying through ssmtp)

2015-07-07 Thread Daniil Svetlov
Nice to see that you find solution! пн, 6 июля 2015 г. в 20:35, theresa mic-snare : > OK, managed to fix this and face-palming myself > > i've tweaked the postfix config a bit, enabled the service and there we > go... > ossec-maild is now officially sending out alerts to my email address. > >

Re: [ossec-list] ossec-maild not sending out any alerts (relaying through ssmtp)

2016-09-28 Thread Laura Herrera
Hi Theresa, Please can i ask how did you solve this problem? Thanks a lot, Laura On Monday, 6 July 2015 18:35:50 UTC+1, theresa mic-snare wrote: > > OK, managed to fix this and face-palming myself > > i've tweaked the postfix config a bit, enabled the service and there we > go... > ossec-ma

Re: [ossec-list] ossec-maild not sending out any alerts (relaying through ssmtp)

2016-09-28 Thread dan (ddp)
On Sep 28, 2016 6:42 AM, "Laura Herrera" wrote: > > Hi Theresa, > > Please can i ask how did you solve this problem? > If you're having issues, you could post details and we could try to help. > Thanks a lot, > Laura > > > On Monday, 6 July 2015 18:35:50 UTC+1, theresa mic-snare wrote: >> >> OK,

Re: [ossec-list] ossec-maild not sending out any alerts (relaying through ssmtp)

2016-09-28 Thread Laura Herrera
Hi Dan, Yes, thank you, i have been trying to get this working all day. I am running ossec on an ubuntu 14.04 server and i need to be able to email alerts of course. I saw in a separate post that ossec actually needs smtp listening on the local server, and so i decided to use postfix as a rela

Re: [ossec-list] ossec-maild not sending out any alerts (relaying through ssmtp)

2016-09-28 Thread Laura Herrera
Hi Dan, Changing subject a bit, do you know if it's possible to have alerts in ossec calling a script instead of sending an email directly? Ta Laura On Wednesday, 28 September 2016 16:37:57 UTC+1, Laura Herrera wrote: > > Hi Dan, > > Yes, thank you, i have been trying to get this working all d

Re: [ossec-list] ossec-maild not sending out any alerts (relaying through ssmtp)

2016-09-29 Thread dan (ddp)
On Wed, Sep 28, 2016 at 12:56 PM, Laura Herrera wrote: > Hi Dan, > > Changing subject a bit, do you know if it's possible to have alerts in > ossec calling a script instead of sending an email directly? > Other than active response, no. > Ta > Laura > > > On Wednesday, 28 September 2016 16:37:5

Re: [ossec-list] ossec-maild not sending out any alerts (relaying through ssmtp)

2016-09-29 Thread dan (ddp)
On Wed, Sep 28, 2016 at 11:37 AM, Laura Herrera wrote: > Hi Dan, > > Yes, thank you, i have been trying to get this working all day. > > I am running ossec on an ubuntu 14.04 server and i need to be able to email > alerts of course. > > I saw in a separate post that ossec actually needs smtp liste