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

向邮箱地址发送邮件后,docker容器报错退出 #18

Open
xiaojiedev opened this issue Nov 20, 2023 · 3 comments
Open

向邮箱地址发送邮件后,docker容器报错退出 #18

xiaojiedev opened this issue Nov 20, 2023 · 3 comments

Comments

@xiaojiedev
Copy link

基本信息:
CentOS7
Docker version 1.13.1, build 7d71120/1.13.1

报错内容:

[root@warma forsaken-mail]# docker logs cb5673affa92
> [email protected] start
> node ./bin/www
warn: Python is not available. Dkim and spf checking is disabled.
warn: Either spamassassin or spamc are not available. Spam score computation is disabled.
info: Mailin Smtp server listening on port 25
(node:17) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
/forsaken-mail/node_modules/smtp-server/lib/smtp-stream.js:38
    this.closed = false;
                ^
TypeError: Cannot set property closed of #<Writable> which has only a getter
    at new SMTPStream (/forsaken-mail/node_modules/smtp-server/lib/smtp-stream.js:38:17)
    at new SMTPConnection (/forsaken-mail/node_modules/smtp-server/lib/smtp-connection.js:54:20)
    at SMTPServer.connect (/forsaken-mail/node_modules/smtp-server/lib/smtp-server.js:95:22)
    at SMTPServer.<anonymous> (/forsaken-mail/node_modules/smtp-server/lib/smtp-server.js:84:14)
    at Server.emit (node:events:514:28)
    at TCP.onconnection (node:net:2157:8)
Node.js v20.9.0
@xiaojiedev
Copy link
Author

向邮箱地址发送的邮件为Xshell应用的注册邮件。

@bafflingbug
Copy link

bafflingbug commented Feb 19, 2024

我通过将mailin包更换为node-mailin解决了相关问题。

"node-mailin": "npm:@umpacken/node-mailin@^2.6.1",

修改方式参考

@GitSarp
Copy link

GitSarp commented Mar 5, 2024

我通过将mailin包更换为node-mailin解决了相关问题。

"node-mailin": "npm:@umpacken/node-mailin@^2.6.1",

修改方式参考

对我没用

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