我正在按照一个演练指导您在 ubuntu 机器上设置节点。我正在配置系统以允许节点在端口 80 上运行。它(以及我看过的其他一些指南)建议运行以下命令:
sudo setcap cap_net_bind_service=+ep /usr/local/bin/node
Run Code Online (Sandbox Code Playgroud)
这将返回以下错误:
Failed to set capabilities on file `/usr/local/bin/node' (Invalid argument)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file
Run Code Online (Sandbox Code Playgroud)
知道什么可能导致此错误吗?
所以在遵循 Ubuntu Postfix 教程之后,我尝试了他们推荐的测试
telnet localhost 25
MAIL FROM: person@mydomain.com
RCTP TO: person@gmail.com
DATA
some text here
.
Run Code Online (Sandbox Code Playgroud)
我收到一个成功的 250 OK Queued as C55230429543
但是,当我检查我的 gmail 帐户(包括垃圾邮件文件夹)时,那里没有电子邮件。
我有什么想法可以检查哪里出了问题?
Aug 25 22:34:06 mydomain postfix/cleanup[16130]: 23C20508CA: message-id=<20100825223401.23C20508CA@server1.mydomain.com>
Aug 25 22:34:06 mydomain postfix/qmgr[15822]: 23C20508CA: from=<root@mydomain.com>, size=372, nrcpt=1 (queue active)
Aug 25 22:34:12 mydomain postfix/smtp[16131]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
Aug 25 22:34:13 mydomain postfix/master[15819]: warning: process /usr/lib/postfix/smtp pid 16131 exit status 1
Aug 25 22:34:13 mydomain postfix/master[15819]: warning: …Run Code Online (Sandbox Code Playgroud)