Hello, i have a problem with configuration on /etc/crowdsec/notifications/email.yaml. file
I don’t know if the problem is on the informations i put there.
i created gmail account for my smtp server to use it to send me mails alerts. and i use those credentials as smtp username, smtp password and email sender
Hello,
Can you share the crowdsec.log
file when it tries to send notifications ? It will make it easier to help
A few questions :
- I don’t see email plugin errors : Can you share your config (plugin config and profile.yaml) to be sure it’s enabled ?
- You have a timeout when reaching CAPI : isn’t your machine filtered when reaching internet ?
Hello,
I see in your profile that you do have a profile before the one with notifications that has on_success
set to break
: Format | CrowdSec
So if your alert matches the previous profile, this one won’t be evaluated
hi, i already changed this and no update. unfortunately It didn’t work.
Did you reload your service after your chance ?
Also can you share the full profiles.yaml file with some of crowdsec.log when a decision gets triggered ?
In your previous logs, the notification didn’t even get triggered so it sounds like it might be a profiles.yaml
issue
The error says that the login / password isn’t valid (it’s gmail rejecting it)
okay i got it but do you have any proposal for me?
check your login and password, there might be a typo but the error is outside of crowdsec’s scope it seems