Ubuntu传入邮件服务器

我试图设置和configuration一个邮件服务器,我可以收到电子邮件,但是我没有运气与Postfix或Exim4。 我目前已configurationExim4,它发送的邮件很好,但它不能接收。 当试图从我的其他帐户(gmail)发送邮件到我的服务器上的帐户时,我得到这个答复:

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 recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 Unrouteable address (state 14). 

我怎样才能解决这个问题? 是MXlogging问题还是Exim4configuration错误?

通常情况下,只需使用自动configuration即可使Exim4处于可工作状态:

 # dpk-reconfigure exim4-config 

最重要的答案是你设置你想要的交付types(你想要第一个,直接发送/接收消息)和域configuration。 域configuration是一系列的问题,询问服务器将考虑哪些域用于本地交付等。正确回答这些问题将使您的服务器正常工作。

您可以通过直接telnet到邮件服务器来testing天气,这是一个DNS错误或exim问题。 然后手动键入SMTP命令

 telnet youmailserver.net 25 helo server mail from:[email protected] rcpt to:[email protected] data test . 

以上是不是严格有效的SMTP,但应该足以让你testing。