Mail server setup

Hi,
My discourse (new forum) can’t send email for register admin account.
i don’t see error on mail.log
Any help, please?
Thanks!

I recommend starting here:

2 Likes

thanks Arman.
I run discourse-doctor en show this error:

Reason: 553 5.7.1 noreply@xyz: Sender address rejected: not owned by user do-not-reply@zyx

any help, please?
thanks

Your SMTP user does not have permission to send email as noreply@xyz

You might want to change the notification email address in app.yml and rebuild or check with your email provider on how to allow sending as other alias.

It seems like you’re using an email provider that doesn’t allow bulk emails so you might want to consider that as well.

2 Likes

Thanks Bhanu.
I install a postfix server on the same server.
I have this error now:

Sending mail to foro@example.net. . . 
Testing sending to foro@example.net using server.example:587, username:foro with plain auth.

======================================== ERROR ========================================
                                    UNEXPECTED ERROR

SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate)

====================================== SOLUTION =======================================
This is not a common error. No recommended solution exists!

any idea, please?
thanks!

this is the postfix log:

May 19 19:48:03 server postfix/smtpd[31730]: connect from unknown[172.17.0.2]
May 19 19:48:03 server postfix/smtpd[31730]: SSL_accept error from unknown[172.17.0.2]: -1
May 19 19:48:03 server postfix/smtpd[31730]: warning: TLS library problem: error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:../ssl/record/rec_layer_s3.c:1544:SSL alert number 48:
May 19 19:48:03 server postfix/smtpd[31730]: lost connection after STARTTLS from unknown[172.17.0.2]
May 19 19:48:03 server postfix/smtpd[31730]: disconnect from unknown[172.17.0.2] ehlo=1 starttls=0/1 commands=1/2
1 Like

thanks!
Now is working!

What did you do?
Thanks

I made a mistake with the e-mail address.
Now, the new forum is on-line!
Thanks!