Gmail email notific...
 
Notifications
Clear all

Gmail email notification not working (and a feature request)

26 Posts
6 Users
0 Reactions
2,299 Views
(@wfiveash)
Posts: 49
Trusted Member
Topic starter
 

I tried configuring SoftRAID to use the gmail SMTP server and after configuring everything and clicking on send test email, the dialog window shows it busy but never completes.  I found that Google now says that third party apps must now support OAuth to authenticate to gmail servers.  Here are the details from Google: https://support.google.com/a/answer/14114704?sjid=1715043304275611173-NC

Is this something y'all are considering adding support for?  Beyond that, have you thought about providing support for a user to configure Softraid to run an external program/shell script when a notify event occurs?  This would be useful to me as I use the Pushover notification app to send iOS notifications to my Apple devices.  It would be great if I could use that to receive event notifications from Softraid.

 
Posted : 19/04/2024 12:57 pm
(@softraid-support)
Posts: 9200
Member Admin
 

We do support OAuth 2.0. The problem is you must use a "Application specific password" now, to get email working. If you have done this, and stilla have a problem, let me know. We also found a bug in an M1 mini that cannot send, and have a beta that fixes that.

We have a terminal command you can use, "softraidtool status", which we have several users using, including a firm down under that manages all his clients with. Try it. Its not as comprenwive as email notification, but gives status. You can filter out normal, and only pass on alerts for example.

 
Posted : 19/04/2024 4:20 pm
(@wfiveash)
Posts: 49
Trusted Member
Topic starter
 

Posted by: @softraid-support

We do support OAuth 2.0. The problem is you must use a "Application specific password" now, to get email working. If you have done this, and stilla have a problem, let me know. We also found a bug in an M1 mini that cannot send, and have a beta that fixes that.

We have a terminal command you can use, "softraidtool status", which we have several users using, including a firm down under that manages all his clients with. Try it. Its not as comprenwive as email notification, but gives status. You can filter out normal, and only pass on alerts for example.

 

I created a app password for my Google account and I am still unable to get email notifications to work with SoftRAID via gmail.  SR spins forever with Status: connecting to server.

Has this been tested?  If so, I need more explicit instructions on how to do this.

 

Regarding having SR passing notifications to an external program/shell script, I want to have SR execute the program when things like disk certification have finished, which can take days to complete.  How would I use "softraidtool status" to do this?

 

 
Posted : 22/04/2024 2:09 pm
(@softraid-support)
Posts: 9200
Member Admin
 

@wfiveash 

The terminal command is focused on problems, sorry, we do not have a tool for reporting actions. Best you could do is watch the SoftRAID log for certify events.

 

try the SoftRAID beta here: softraid.com/sr_beta see if it works.

 
Posted : 22/04/2024 6:50 pm
(@micheloupatrick)
Posts: 27
Eminent Member
 

Posted by: @wfiveash

I created a app password for my Google account and I am still unable to get email notifications to work with SoftRAID via gmail.  SR spins forever with Status: connecting to server.

Has this been tested?  If so, I need more explicit instructions on how to do this.

 

Same problem here with iCloud : created an app password but still getting the message 'Connecting to server' forever.

 

 
Posted : 23/04/2024 11:43 am
(@softraid-support)
Posts: 9200
Member Admin
 

@micheloupatrick 

same answer:

try the SoftRAID beta here: softraid.com/sr_beta see if it works.

 
Posted : 23/04/2024 11:54 am
(@nikkikom)
Posts: 3
Active Member
 

@softraid-support looks like SoftRAID.com domain is expired or not hosted by some other reason.

 
Posted : 25/04/2024 5:27 pm
(@softraid-support)
Posts: 9200
Member Admin
 

@nikkikom

that link works fine. True, SoftRAID is now being redirected to owc.com, but the domain is still active.

 
Posted : 25/04/2024 5:37 pm
(@nikkikom)
Posts: 3
Active Member
 

@softraid-support Sorry, you're right. I put some ip for softraid.com domain in hosts file long ago. Cannot remember why.

 
Posted : 25/04/2024 6:18 pm
(@envoy510)
Posts: 40
Trusted Member
 

It would be really nice if `softraidtool status` returned a non-zero exit code if there was something wrong.  Does it do that?

It would also be nice if `softraidtool showlog` had an option to `tail -f` the log.  That is, keep the command alive printing new log entries when there are some.  That way, it would be trivial to write a script to receive the log and send emails when there are issues.

I, too, cannot get email notifications to work.  It's frustrating.  I have a local postfix server, but when I test the notifications the dialog stays up forever and there's no error message.

 
Posted : 08/12/2024 4:40 pm
(@softraid-support)
Posts: 9200
Member Admin
 

@envoy510 

On email, did you create an Application specific password? Google requires that to work with third party email systems.

the SoftRAIDtool was written 20 years ago. It did not have extensive error message as a feature at that time. Right now, our priority is RAID 6 code, but I have requested added logging for the tool. Its possible it may happen, but no promises.

 

 

 
Posted : 09/12/2024 12:54 am
(@wfiveash)
Posts: 49
Trusted Member
Topic starter
 

Posted by: @envoy510

It would be really nice if `softraidtool status` returned a non-zero exit code if there was something wrong.  Does it do that?

I agree, see: https://forums.softraid.com/softraid-8-functionality-issues/softraidtool-isnt-returning-a-proper-error-code-on-exit-but-it-should .

 

 
Posted : 09/12/2024 11:23 am
(@softraid-support)
Posts: 9200
Member Admin
 

@wfiveash 

I included this to the feature request. At least it is on a list, sorry we are not able to promise any time.

 
Posted : 09/12/2024 12:28 pm
(@envoy510)
Posts: 40
Trusted Member
 

@softraid-support I have a local SMTP server on my network that has no authentication.  It's Postfix, available via port 25.  It's the most basic setup I can imagine and I was definitely surprised it didn't work.

I will try gmail with an app specific password, to see if that works.

 
Posted : 09/12/2024 5:54 pm
(@softraid-support)
Posts: 9200
Member Admin
 

@envoy510 

that should work. If you want to create a test account for us, we would be happy to test it for you.

 
Posted : 09/12/2024 10:53 pm
Page 1 / 2
Share:
close
open