Citadel 550收件人无效

我试图在debian压缩机上安装citadel。

到目前为止,我所做的是:

  1. 从回购安装城堡
  2. 创build一个用户testuser并为其分配地址[email protected]
  3. 添加2 mxlogging到cloudflare

    3A。 mail.mydomain.com 1.2.3.4

    3B。 MX:mydomain.com mail.mydomain.com 40

  4. 编辑我的/ etc / hosts文件,并添加myIP mydomain.com \ n myIP mail.mydomain.com

然后,我可以发送一封电子邮件到我的Gmail帐户,我可以看到从收件人:[email protected]

但是,当从我的Gmail帐户发送邮件到[email protected],我有这个错误消息:

Delivery to the following recipient failed permanently: [email protected] Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the server for the recipient domain mydomain.com by mail.mydomain.com. [1.2.3.4]. The error that the other server returned was: 550 Invalid recipient: testusermydomain.com 

不是说'@'消失了:testusermydomain.com而不是[email protected]

当我尝试发送邮件到[email protected]时,我收到了一个不同的错误信息:

 The error that the other server returned was: 551 <[email protected]> - relaying denied 

我对邮件服务器设置过程相对来说比较陌生,而且我的chosoe城堡简单。 有没有人知道什么是错的?

在此链接上的build立,使设置正确工作。

http://www.ducky-pond.com/posts/2012/Jul/installing-citadel-on-rpi/

 sudo mkdir /etc/citadel/netconfigs sudo chown citadel:citadel /etc/citadel/netconfigs sudo service citadel restart sudo /usr/lib/citadel-server/setup 

然后你需要编辑/etc/init.d/webcit,并把它放在#/ bin / sh之后(如果缺失)

 ### BEGIN INIT INFO # Provides: webcit # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start daemon at boot time # Description: Enable service provided by daemon. ### END INIT INFO