Exim不发送电子邮件到我们自己的电子邮件地址

这是一种情况。

我们使用谷歌应用程序的电子邮件。 我们的应用程序托pipe在另一个主机,这个应用程序发送电子邮件。 除了我们自己的电子邮件地址,来自应用程序的电子邮件正在被正确地发送到每个电子邮件。

比方说,我们的域名是example.com,[email protected]的电子邮件没有收到,但他们只是在本地存储在框中。

我们使用exim作为应用程序部署的邮箱服务器。 我们还设置了dc_relay_domains。

有什么可能丢失? 我们如何确保向我们自己的域名的电子邮件地址发送电子邮件?

man update-exim4.conf dc_other_hostnames is used to build the local_domains list, together with "localhost". This is the list of domains for which this machine should consider itself the final destination. The local_domains list ends up in the macro MAIN_LOCAL_DOMAINS. 

检查自动生成的exim.conf为这样的smth:

 dnslookup: driver = dnslookup domains = ! +local_domains transport = remote_smtp ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 no_more 

这意味着如果rcpt地址中的域与local_domains不同,则通过远程传递(remote_smtp传输)路由邮件。 如果没有的话,消息会发送到另一个路由器,一些路由器会接受它,在您的情况下,它会在本地交付传输中结束。

我很抱歉,但在你的情况下,你应该全力以赴,并学习手动configurationExim。 update-exim4.conf是典型的情况。

听起来就像你本地的eximconfiguration不正确,你的域名是一个应该被认为是最终目的地的域名(如前面的回复详细描述的那样)。如果你正在使用自动生成的configuration在Debian服务器上使用exim,您应该使用以下命令重新configuration:

 dpkg-reconfigure exim4-config 

并且(最好)指定不存在本地邮件并使用智能主机发送,请参阅:

http://wiki.debian.org/GmailAndExim4

或者可以select:

 internet site; mail is sent and received directly using SMTP 

并确保在问及时不要指定自己的域名。

 Please enter a semicolon-separated list of recipient domains for which this machine should consider itself the final destination. These domains are commonly called 'local domains'. The local hostname and 'localhost' are always added to the list given here. 

这里有一个替代,截图,这应该可以帮助你实现你所需要的:

http://library.linode.com/email/exim/send-only-mta-debian-6-squeeze