Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with ssl #126

Closed
lokize opened this issue Dec 23, 2022 · 8 comments
Closed

Problem with ssl #126

lokize opened this issue Dec 23, 2022 · 8 comments

Comments

@lokize
Copy link

lokize commented Dec 23, 2022

I am not able to make ssl work, I tried to create my own certificate by letsencrypt but every time I restart the container it recreates the certificate and removes the ones I created, which it automatically generates is invalid, is there any way to fix this or disable iredmail to generate a certified every time loaded?

@koklyk
Copy link

koklyk commented Dec 27, 2022

Help, the problem is that I changed the certificate, but it does not work

Dec 27 19:25:02 mail postfix/submission/smtpd[1140]: connect from unknown[23.106.39.47] Dec 27 19:25:02 mail postfix/submission/smtpd[1140]: SSL_accept error from unknown[23.106.39.47]: -1 Dec 27 19:25:02 mail postfix/submission/smtpd[1140]: warning: TLS library problem: error:0A000418:SSL routines::tlsv1 alert unknown ca:../ssl/record/rec_layer_s3.c:1584:SSL alert number 48: Dec 27 19:25:02 mail postfix/submission/smtpd[1140]: lost connection after STARTTLS from unknown[23.106.39.47] Dec 27 19:25:02 mail postfix/submission/smtpd[1140]: disconnect from unknown[23.106.39.47] ehlo=1 starttls=0/1 commands=1/2

Mail is sent through mail clients, but does not work through Laravel

how do i set up a mail server?

@iredmail
Copy link
Owner

Is the ssl cert valid when you visit website?

@koklyk
Copy link

koklyk commented Dec 28, 2022

Yes, everything is fine with the certificate and it is valid

@iredmail
Copy link
Owner

What's smtp config in your Laravel app?

@koklyk
Copy link

koklyk commented Dec 28, 2022

OWNSERVER_MAIL_DRIVER=smtp
OWNSERVER_MAIL_HOST=mail.domain.su
OWNSERVER_MAIL_PORT=587
OWNSERVER_MAIL_USERNAME=no-reply@domain.su
OWNSERVER_MAIL_PASSWORD=*********************
OWNSERVER_MAIL_FROM_ADDRESS=no-reply@domain.su
OWNSERVER_MAIL_FROM_NAME=no-reply
OWNSERVER_MAIL_ENCRYPTION=tls
OWNSERVER_MAIL_CHUNK_SIZE=50

@lokize
Copy link
Author

lokize commented Dec 28, 2022

???

@koklyk
Copy link

koklyk commented Dec 28, 2022

this is laravel config
Didn't leave real email and password.

@lokize lokize closed this as completed Dec 28, 2022
@koklyk
Copy link

koklyk commented Dec 29, 2022

The problem was not solved, why was it closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants