mail notification

Waik

Cadet
Joined
May 26, 2022
Messages
4
Hello. I'm trying to set up email notifications

From email: root@Waik-NAS.local (root user profile shows my real email)
To email: my_domain_email@example.com (not real, example)
Send Mail Method: SMTP (server settings I specify in connection with the documentation of the mail server)
Server: smtp.exampleserver.com (not real, example)
port: 465
Security: SSL
Username: my_domain_email@example.com (not real, example)
Password: my_password

I get an error:
Error: [EFAULT] Failed to send email: (550, b'not local sender over smtp', '=?utf-8?q?my_domain_email=40example=2Ecom?= < root@Waik-NAS.local >')

But when I use similar settings in nextcloud jail - everything works, emails are sent successfully
 

Waik

Cadet
Joined
May 26, 2022
Messages
4
Version TrueNAS - 13.0 REALEASE

I would believe that I am specifying the settings incorrectly, but everything works in the nextcloud jail
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
I don't think an external mail server will just let you fake any old address you want... you probably need to send from your own address (to your address... I know, it seems silly).
 

Waik

Cadet
Joined
May 26, 2022
Messages
4
I don't think an external mail server will just let you fake any old address you want... you probably need to send from your own address (to your address... I know, it seems silly).
I ship from a real address. I registered a domain and coded it to an external mail service.
Sweats of the sender and it turns out real.
With identical settings in Nextcloud, emails are successfully sent
 
Top