docker-self-service-password icon indicating copy to clipboard operation
docker-self-service-password copied to clipboard

SMTP connect() failed

Open linmuqin opened this issue 3 years ago • 2 comments

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 avatar Jun 01 '21 02:06 linmuqin

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 - [email protected] - SMTP_DEBUG=4 - SMTP_HOST=smtp.qq.com - [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 avatar Jun 01 '21 02:06 linmuqin

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

linmuqin avatar Jun 01 '21 02:06 linmuqin