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

SMTP connect() failed #41

Open
linmuqin opened this issue Jun 1, 2021 · 2 comments
Open

SMTP connect() failed #41

linmuqin opened this issue Jun 1, 2021 · 2 comments
Labels

Comments

@linmuqin
Copy link

linmuqin commented Jun 1, 2021

2021/05/31 09:28:35 [error] 1928#1928: *1 FastCGI sent in stderr: "PHP message: Send reset URL https://ssp:8089/index.php?action=resetbytoken&token=3vUCAG8MEQmsO5ExZQaXvCLZA1ccdar4h8bZvPIoI%2Fsggg7Z%2BgQfEi1drcAuBlGEn8D0VfLqWJj%2BMjbwynades5yG2hObRpHVcErjkM7bSFZi3sQ3rE5Y9yiKTpofMOjvV0UWbIrLCO4e8mwSOGC%2B%2Fo%3DPHP message: send_mail: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/TroubleshootingPHP message: Error while sending token to [email protected] (user linmuqin)" while reading response header from upstream, client: 119.139.198.161, server: , request: "POST /?action=sendtoken HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "ssp:8089", referrer: "http://ssp:8089/?action=sendtoken"

@linmuqin linmuqin added the bug label Jun 1, 2021
@linmuqin
Copy link
Author

linmuqin commented Jun 1, 2021

I can access the mail server, but the mailbox has not been able to receive emails. I turned on debug=4, but I didn’t see any logs. Please help. The compose configuration is as follows
version: '3'

services:
self-service-password:
image: 'tiredofit/self-service-password:latest'
container_name: 'self-service-password'
ports:
- '8089:80'
environment:
- LDAP_SERVER=ldap://ldap-server:389
- LDAP_BINDDN=cn=admin,dc=xxx,dc=com
- LDAP_BINDPASS=xxxxxx
- LDAP_BASE_SEARCH=ou=xxxx,dc=xxx,dc=com
- MAIL_FROM=[email protected]
- SMTP_DEBUG=4
- SMTP_HOST=smtp.qq.com
- SMTP_USER=[email protected]
- SMTP_PASS=xxxxxxxx
- SMTP_PORT=465
- SMTP_SECURE_TYPE=ssl
- SMTP_AUTH_ON=true
- IS_BEHIND_PROXY=true
volumes:
- ./srv/self-service-password/data:/www/ssp
- ./srv/self-service-password/logs:/www/logs

@linmuqin
Copy link
Author

linmuqin commented Jun 1, 2021

I can't open the resetURL in the nginx log,But I think this shouldn’t affect receiving mail

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

No branches or pull requests

1 participant