Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
email from OPNsense
« previous
next »
Print
Pages: [
1
]
Author
Topic: email from OPNsense (Read 4817 times)
bdario
Jr. Member
Posts: 63
Karma: 2
email from OPNsense
«
on:
May 19, 2017, 04:25:24 pm »
Hello folks,
I just started my experience with OPNsense 17.1.7
Now I would like to receive emails from the firewall when someone connect it using openvpn, or when the firewall is shutted down and so on.
The smtp configuration works good, I receive the test email, but I don't find a list of messages ready to send by email.
Can someone help me?
Best regards
Dario
Logged
faunsen
Full Member
Posts: 102
Karma: 17
Re: email from OPNsense
«
Reply #1 on:
May 19, 2017, 05:59:36 pm »
Hi Dario,
you could try the os-monit plugin. It monitors your system and sends messages on various events.
Unfortunately due to a bug in monit 5.22 it cannot check filesystems.
But you can revert to monit version 5.20 with
Code:
[Select]
opnsense-revert -r 17.1.5 monit
Cheers,
Frank
Logged
bdario
Jr. Member
Posts: 63
Karma: 2
Re: email from OPNsense
«
Reply #2 on:
May 24, 2017, 03:34:46 pm »
Thank you Fausen
I will
Logged
bdario
Jr. Member
Posts: 63
Karma: 2
Re: email from OPNsense
«
Reply #3 on:
May 29, 2017, 02:03:16 pm »
Hi Frank,
I followed your suggestion:
- installed monit 5.22
- reverted it to version 5.20
Now I get the following
/usr/local/etc/monitrc:10: syntax error 'password_ of_ email_ account'
when start monit in: Services / Monit / Settings
Really strange error because email notify works fine so I can assume that the "password_ of_ email_ account" is correct.
Thank you for your help
Dario
Logged
faunsen
Full Member
Posts: 102
Karma: 17
Re: email from OPNsense
«
Reply #4 on:
May 29, 2017, 02:26:03 pm »
Hi Dario,
no idea what
'password_ of_ email_ account'
is.
Is this possibly the password of your email account?
If the password contains spaces it must be enclosed in single quotation marks.
But this only a guess because the monit(1) manual doesn't tell us much about special characters in passwords.
Better omit spaces.
Regards,
Frank
«
Last Edit: May 29, 2017, 02:29:36 pm by faunsen
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
email from OPNsense