Buffalo Forums

Products => Storage => Topic started by: MikSim on June 04, 2025, 12:55:40 PM

Title: Trying to get email notifications from my NAS device.
Post by: MikSim on June 04, 2025, 12:55:40 PM
I have been trying for several days now to get the email notifications  working on my NAS LinkStation LS220DE but with no luck. The response from "Send Test Email" is always "Because of an error, the following process did not complete:Sending test email notification".

I have tried every combination of settings that seems remotely plausible on the LinkStation settings. On the router I have tried to remove any obstacle: The firewall has been disabled, port forwarding been allowed for any plausible ports and even the DMZ enabled for the Linkstation address. None of these has changed the "Because of an error, Blah, Blah, Blah."

My IP address does not appear on any blacklist.

Two factor authentication is enabled in gmail and I have checked that the app password for is good by using a Windows command:-
curl -v smtps://smtp.gmail.com -u MMMMMMM@gmail.com:PPPPPPPPPPPPPPPP

Replacing MM... and PPP... with my username and password. This gave the result
* Connection #0 to host smtp.gmail.com left intact
showing that the username and app password were O.K.

I have tried my Office365 email account with the same result.

Neither the LinkStation nor my Router have any form of syslog. The Linkstation does not produce any kind or error code, and I can't afford a fiber-optic packet sniffer, so I am at a bit of a loss.

I have contacted my ISP (Virgin Media) but got only what long experiance had led me to expect: Wasted hours and wasted phone calls with people who do not know what a NAS is, who defaulted to thinking I was talking about a mobile phone, and who repeatedly tried to get me to take out a more expensive subscription.

Additional info:-
NAS Buffalo LinkStation LS220DE, firmware Version 1.84-0.01.
    Nas Navigator Version 3.0.4   
HDs, 2 off Seagate IronWolf 2GB
USB drive, Seagate Barracuda 2GB
Router, Virgin Media Hub 2.0

I have heard many similar problems on various forums, none of which seem to have been solved. I am hoping that some magic bullet, or at least some insight as to where to look, may solve this.

Thanks for any assistance you can give.

Mike Simpson
Title: Re: Trying to get email notifications from my NAS device.
Post by: MikSim on June 05, 2025, 09:45:38 AM
O.K., I have confirmed at least that the LinkStation is probably correctly configured. I set up a Raspberry Pi with a MailCatcher SMTP server on my local network, set the LinkStation to send to 192.168.0.12:1025 and sent some test messages, all of which were recieved by the MailCatcher. Not an ideal solution as the mail isn't stored and anyway, I would like notifications to come into my normal gmail account.

So I guess that I am asking if anybody has any ideas. With so many people having had a similar problem, there must be a germ of an idea, a hint of a tool that may help, a memory of where the black hole that swallows my notifications may lurk.

Again, thanks for any assistance.

Mike
Title: Re: Trying to get email notifications from my NAS device.
Post by: Eastmarch on July 25, 2025, 05:04:02 PM
GMail has gotten a heckuvalot more picky about non-OAUTH2 connections. We sort of like to suggest SMPT services these days, ala smtp2go.com

Title: Re: Trying to get email notifications from my NAS device.
Post by: LesG on July 28, 2025, 05:14:30 AM
Quote from: Eastmarch on July 25, 2025, 05:04:02 PMGMail has gotten a heckuvalot more picky about non-OAUTH2 connections. We sort of like to suggest SMPT services these days, ala smtp2go.com

^^^^ This, ime at least. I had to replace app passwords with OAuth on other devices - bit of a pfaff but doable as there's some simple tutorials out there on the web. That was obviously no good for my old NAS box so I tweaked it to use tftp to copy a message text/body to a server that'd then send it. I think the standard maintenance message (disk check etc) is readable as a "dead.letter" file somewhere (root home directory??) but I've yet to confirm that - if so, I'm hoping to add a further tweak and have it sent again as an email 
Title: Re: Trying to get email notifications from my NAS device.
Post by: LesG on August 12, 2025, 07:57:05 AM
Hmmm, mine's working now. After a complete wipe and rebuild (as mentioned elsewhere), it burst into life again. I'm using port 465 with smtp.gmail.com, LOGIN(SMTP-AUTH), SSL/TLS with the same app password that I use with my email client.

...and I spent ages crafting a tftp solution to work around it!
Title: Re: Trying to get email notifications from my NAS device.
Post by: james301 on October 01, 2025, 02:12:17 AM

Use Google SMTP server and port settings "smtp.gmail.com:587" and generate an "app password" using the steps below.
 
ESET Forwarding
Go to your Google Account and choose Security on the left panel.

(https://1drv.ms/i/c/b9b5bcee4d9e5008/Efr736ruSgxAjE9elq8sTisB-_Hk-NWlDHrRE9Vt4LZjvg?e=g7w3Il)

Select 2-Step verification.
 

(https://1drv.ms/i/c/b9b5bcee4d9e5008/EbTCLV8kH3xJtv7BLHLuWGYBBIHcBWeasOKRtK8CNxpHrw?e=94oNdN)

Sign in
 

Select "app password", then follow the instructions to enter the App Password.

(https://1drv.ms/i/c/b9b5bcee4d9e5008/EaTLoMJ6oMBJv6IIJHLLE3kBBVZGJ1WyKoIRG4l-Ptao7A?e=yCqhSy)

My NAS 710 has the settings of:

(https://1drv.ms/i/c/b9b5bcee4d9e5008/Ed09E-l4k4JLqH2_RUgnQV8BPFy87WJxbaKvIR8kG93dFg?e=A85nyw)

https://1drv.ms/i/c/b9b5bcee4d9e5008/Ed09E-l4k4JLqH2_RUgnQV8BPFy87WJxbaKvIR8kG93dFg?e=A85nyw (https://1drv.ms/i/c/b9b5bcee4d9e5008/Ed09E-l4k4JLqH2_RUgnQV8BPFy87WJxbaKvIR8kG93dFg?e=A85nyw)

The sender address and Username are the same Gmail account. I do not know why the images are not showing up. You can right click on them and load them in a different tab/window to see them.

Hope it works for you... Took me a long time to get it to work.

-Jaz








Browser ID: smf (is_webkit)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 74 (show)
Files included: 27 - 1055KB. (show)
Memory used: 724KB.
Tokens: post-login.
Queries used: 14.

[Show Queries]