-
Hi Guys, server: "smtp.gmail.com" but doing this and restarting the service on the linux server shows the same error. I have found that in 6.2 it is possible to configure the mail plugin completely from VQL, but I am an extreme novice at VQL and dont begin to know how that would be done, and the plugin info from the doucmentation site just states what the arg fields are for the mail plugin, without any examples or info on where to put those args. This may sound like a really novice issue, but I am stuck, I have an artifact that successfully monitors USB writes, and then should theoretically email the event, and everything is working except the email. Below is the VQL for that monitor that is producing the error of no server specified: The VQL query that is getting the server not specified error is: name: Custom.Server.Alerts.ThumbDriveUse type: SERVER_EVENT parameters:
sources:
If someone could give me instructions with kid gloves on how to configure the mail plugin I would very much appreciate it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You need to specify the mail server to connect to (over port 445) to actually send the email. If you have a local mail agent for example (exim or sendmail) it would be localhost, but more than likely it will be and external relay server - like for example smtp.gmail.com See https://developers.google.com/gmail/imap/imap-smtp#protocol and if you want to use gmail you will need an application password see here |
Beta Was this translation helpful? Give feedback.
The VQL should something like (You do not need to skip verify because gmail has a proper cert).