小编Pau*_*tos的帖子

当远程 rsync 在路径中时,rsync 需要 rsync-path

我很困惑为什么 rsync 需要 --rsync-path 标志,即使远程 rsync 在路径中。

考虑:

$ rsync -avze 'ssh -p 22' --delete public/ pmatos@domain.com:~/public_html
bash: /usr/local/bin/rsync: No such file or directory
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: remote command not found (code 127) at io.c(601) [sender=3.0.7]
Run Code Online (Sandbox Code Playgroud)

然后我尝试添加 --rsync-path

$ rsync -avze 'ssh -p 22' --rsync-path=/usr/bin/rsync  --delete public/ pmatos@domain.com:~/public_html
sending incremental file list
...
Run Code Online (Sandbox Code Playgroud)

因此,第一个 rsync 没有成功,因为它正在 /usr/local/bin 中搜索 rsync,但是一旦我使用 --rsync-path 传递了 rsync 的明显路径,它就会起作用。

为什么是这样?(此命令行是 octopress 中 rake deploy 发出的命令行)

rsync path

11
推荐指数
1
解决办法
2万
查看次数

我未发送的邮件的邮件传递失败

我已经开始收到主题为:"Mail delivery failed: returning message to sender"对于我还没有发送的电子邮件的电子邮件。我在我的域matos-sorge.com(一个 linode)中托管我自己的邮件服务器,我有点担心有人使用我的邮件服务器发送垃圾邮件。

我收到的电子邮件如下所示:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es)
failed:

acoperis@ls12.globehosting.net
  (generated from ppaxylfg510@acoperisexpert.ro)
  mailbox is full: retry timeout exceeded

------ This is a copy of the message, including all the headers. ------

Return-path: <paulo@matos-sorge.com> Received: from [70.45.238.57]
(port=15427 helo=host-70-45-238-57.onelinkpr.net)   by
ls12.globehosting.net with …
Run Code Online (Sandbox Code Playgroud)

email postfix spam

-1
推荐指数
1
解决办法
1万
查看次数

标签 统计

email ×1

path ×1

postfix ×1

rsync ×1

spam ×1