We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
启动参数
docker run --name tmp --rm -it -p 25:25 -p 81:81 -p 443:443 -p 465:465 -v /root/mail/config:/work/config ghcr.red-notes.com/jinnrry/pmail:latest ./pmail -p 81
log
2024/07/16 17:02:25 [INFO] [pmail.red-notes.com] Server responded with a certificate. [info][2024-07-16 17:02:25][/work/services/setup/ssl/ssl.go:203]证书校验通过! [info][2024-07-16 17:02:25][/work/http_server/setup_server.go:71]Setup End! [info][2024-07-16 17:02:25][/work/hooks/base.go:181][telegram_push] Plugin Load [telegram_push] Plugin Start! PID:11[info][2024-07-16 17:02:26][/work/hooks/base.go:213][telegram_push] Plugin Load Success! [info][2024-07-16 17:02:26][/work/hooks/base.go:181][web_push] Plugin Load [web_push] Plugin Start! PID:15[info][2024-07-16 17:02:27][/work/hooks/base.go:213][web_push] Plugin Load Success! [info][2024-07-16 17:02:27][/work/hooks/base.go:181][wechat_push] Plugin Load [wechat_push] Plugin Start! PID:19[info][2024-07-16 17:02:28][/work/hooks/base.go:213][wechat_push] Plugin Load Success! [warning][2024-07-16 17:02:28][/work/res_init/init.go:52]Config File Info: {"logLevel":"","domain":"red-notes.com","domains":["red-notes.com"],"webDomain":"pmail.red-notes.com","dkimPrivateKeyPath":"config/dkim/dkim.priv","sslType":"2","SSLPrivateKeyPath":"config/ssl/private.key","SSLPublicKeyPath":"config/ssl/public.crt","dbDSN":"./config/pmail.db","dbType":"sqlite","httpsEnabled":0,"spamFilterLevel":0,"httpPort":0,"httpsPort":0,"weChatPushAppId":"","weChatPushSecret":"","weChatPushTemplateId":"","weChatPushUserId":"","tgBotToken":"","tgChatId":"","isInit":true,"webPushUrl":"","webPushToken":""} [info][2024-07-16 17:02:28][/work/pop3_server/pop3server.go:27]POP3 With TLS Server Start On Port :995 [info][2024-07-16 17:02:28][/work/smtp_server/smtp.go:175]Starting Smtp Server Port: :25 [info][2024-07-16 17:02:28][/work/smtp_server/smtp.go:147]Starting Smtp With SSL Server Port: :465 [info][2024-07-16 17:02:28][/work/http_server/https_server.go:50]Https Server Start On Port :443 [info][2024-07-16 17:02:28][/work/pop3_server/pop3server.go:46]POP3 Server Start On Port :110
我用的是 SSL 自动 + DNS验证模式,日志显示证书通过,Setup End! 写的 log 端口都是 0,是不是通过启动参数指定的端口不会持久化到配置文件
{"logLevel":"","domain":"red-notes.com","domains":["red-notes.com"],"webDomain":"pmail.red-notes.com","dkimPrivateKeyPath":"config/dkim/dkim.priv","sslType":"2","SSLPrivateKeyPath":"config/ssl/private.key","SSLPublicKeyPath":"config/ssl/public.crt","dbDSN":"./config/pmail.db","dbType":"sqlite","httpsEnabled":0,"spamFilterLevel":0,"httpPort":0,"httpsPort":0,"weChatPushAppId":"","weChatPushSecret":"","weChatPushTemplateId":"","weChatPushUserId":"","tgBotToken":"","tgChatId":"","isInit":true,"webPushUrl":"","webPushToken":""}
前端一直卡着
The text was updated successfully, but these errors were encountered:
是的,启动参数没有写到文件,改端口的话需要手动改文件然后重启
Sorry, something went wrong.
那前端怎么一直卡着,日志显示成功了。 是不是生成了新的配置文件,然后热加载,端口变了
是的,生成新配置文件后端口变了。
No branches or pull requests
启动参数
log
我用的是 SSL 自动 + DNS验证模式,日志显示证书通过,Setup End!
写的 log 端口都是 0,是不是通过启动参数指定的端口不会持久化到配置文件
前端一直卡着
The text was updated successfully, but these errors were encountered: