Page 1 of 1

[Help] Mail notification still not work 6.0.694  [SOLVED]

Posted: 04 Jul 2025, 02:24
by Redaan
Hi everyone,
after various updates and attempts, I still have the problem with email notifications not working on TOS 6. I see that some have solved it by setting Google as the SMTP server, but in this case, it doesn’t work either. It disconnects me, after clicking “send a test mail”, from the session and prompts me to refresh the page.

From journalctl, I notice this:

Code: Select all

send mail-------------here=========================    1
Jul 03 19:10:33 TNAS TOSDaemon[9804]: ERROR | 2025-07-03 19:10:33 | 200 |   POST |   192.168.1.166 | /smtp/SendEmail? | 50.74907ms | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0 | failed to sn.smtp.SendEmail(HandleSendEmail): Get the mailconfig val fail!: failed to get key: failed to get section key: error when getting key of section "system": key "mailconfig" not exists
Jul 03 19:10:33 TNAS msgcenter[9811]: |-[close] 192.168.1.166, runtime: 8.85891871s
Jul 03 19:10:33 TNAS msgcenter[9811]: 2025-07-03 19:10:33.114 [INFO] Size of Connection Pool:  0
Jul 03 19:10:33 TNAS TOSDaemon[9804]: 1 2025-07-03T19:10:33+02:00 - - TOSDaemon(9804) - [attrs err="websocket: close 3888" ws="rpc"] connection read error, closing...
Jul 03 19:10:47 TNAS TOSDaemon[9804]: Read message fail: websocket: close 1001 (going away)
It cannot connect to the server.

I also tried reinstalling the operating system without any changes.

I add that during the installation phase the initial verification email worked.

I also tried checking for any firewall or iptables blocks, but naturally, I found nothing.
Current configuration:
TOS 6.0.694
Terramaster F2-423.

Re: [Help] Mail notification still not work 6.0.694

Posted: 04 Jul 2025, 04:56
by MikeZhang
Hi, can you try other email address? Is WAN disconnected or not?

Re: [Help] Mail notification still not work 6.0.694

Posted: 04 Jul 2025, 21:07
by Redaan
I have tested the custom configuration with smtp.google.com using other Google email accounts.
Yes, the WAN is connected. I am currently connected on a single port directly to the router with a 1Gbps connection. Static DHCP.
I would also add that, after reinstalling TOS6 and before restoring the configuration from the backup, I tested the notification system and it wasn’t working in that case either.
My net config:

Code: Select all

# LAN 1

- Status: ✅ Connected
- IP Address: 192.168.1.167
- IP Configuration: DHCP
- Subnet Mask: 255.255.255.0
- Gateway: 192.168.1.254
- IPv6:
  - redacted/64
- MAC: redacted
- MTU Value: 1500
- Bandwidth: 1000 Mbps

I wonder if there’s a system service I can inspect that’s responsible for managing the notification system.

Re: [Help] Mail notification still not work 6.0.694

Posted: 05 Jul 2025, 16:29
by GevinKe
Redaan wrote: 04 Jul 2025, 21:07 I have tested the custom configuration with smtp.google.com using other Google email accounts.
Yes, the WAN is connected. I am currently connected on a single port directly to the router with a 1Gbps connection. Static DHCP.
I would also add that, after reinstalling TOS6 and before restoring the configuration from the backup, I tested the notification system and it wasn’t working in that case either.
My net config:

Code: Select all

# LAN 1

- Status: ✅ Connected
- IP Address: 192.168.1.167
- IP Configuration: DHCP
- Subnet Mask: 255.255.255.0
- Gateway: 192.168.1.254
- IPv6:
  - redacted/64
- MAC: redacted
- MTU Value: 1500
- Bandwidth: 1000 Mbps

I wonder if there’s a system service I can inspect that’s responsible for managing the notification system.
Hello,

We sincerely apologize for the less-than-ideal experience you've had. Based on your description, we recommend that you contact our customer support team via the Live Chat on the TerraMaster official website and schedule a remote support session. This will allow us to more efficiently diagnose the issue and provide a targeted solution.

When scheduling the session, please consider sharing the link to this forum thread with our support staff. Doing so will help them quickly understand your situation and offer more precise assistance.

Thank you for your understanding and support — we look forward to resolving your issue as soon as possible!

Re: [Help] Mail notification still not work 6.0.694

Posted: 05 Jul 2025, 22:23
by Gremlin
I have tested the custom configuration with smtp.google.com using other Google email accounts.
Maybe double check the server details. As in:
what is correct server address for google email accounts and which ports are used?
For Gmail, the outgoing SMTP server address is smtp.gmail.com. You can use either port 465 for SSL or port 587 for TLS encryption. The incoming mail server for POP access is pop.gmail.com with port 995 and SSL, while for IMAP it's imap.gmail.com with port 993 and SSL.

Re: [Help] Mail notification still not work 6.0.694

Posted: 08 Jul 2025, 19:02
by Redaan
I followed this guide: https://tmnascommunity.eu/2025/01/08/ho ... l-in-tos6/

A small gif of the issue:

Image

Re: [Help] Mail notification still not work 6.0.694

Posted: 09 Jul 2025, 04:06
by Redaan
Finally, I solved it:

Using developer tools (google chrome), I forced the "Apply" button to unlock.

I entered the following data:

Server: smtp.gmail.com
Port: 587
Email: ---
Password: Google app password
TLS/SSL.

When clicking "Apply," the password disappears, but I still tested sending the email and it arrived :D :D :D