DynDNS和邮件服务器

我已经build立了一个EXIM4的Ubuntu盒子来处理我的电子邮件,现在我只关心发送的电子邮件。 我的路由器pipe理我的DynDNS.com psuedo静态IP寻址。 端口25的端口转发是打开的,并通过端口扫描显示。 盒子上的firestarter防火墙显示访问尝试,并添加了一个许可规则。

传出的电子邮件似乎按我的意愿工作,并configuration为通过我的Gmail帐户发送。 问题是GMail每隔10-20分钟就发一封垃圾邮件,发送一个拒绝连接的传递状态通知消息。 这似乎是谷歌正在试图发送电子邮件我的根@ <dyndns帐户>帐户。

我应该如何克服这个问题? 我怎样才能build立完整的进/出电子邮件访问? 什么是最好的私人网站的行动,需要最less的电子邮件支持(例如我托pipe的MediaWiki等)。

编辑 – 添加了电子邮件的匿名副本

This is an automatically generated Delivery Status Notification THIS IS A WARNING MESSAGE ONLY. YOU DO NOT NEED TO RESEND YOUR MESSAGE. Delivery to the following recipient has been delayed: [email protected] Message will be retried for 2 more day(s) Technical details of temporary failure: The recipient server did not accept our requests to connect. Learn more at http://mail.google.com/support/bin/answer.py?answer=7720 [mydomain.is-a-geek.com (1): Connection refused] ----- Message header follows ----- Received: by 10.210.89.7 with SMTP id m7mr1107333ebb.14.1246185600392; Sun, 28 Jun 2009 03:40:00 -0700 (PDT) Return-Path: <[email protected]> Received: from MyMachine (isp.com [xx.xx.xx.xxx]) by mx.google.com with ESMTPS id 10sm7080189eyz.31.2009.06.28.03.39.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 28 Jun 2009 03:39:59 -0700 (PDT) Received: from smmsp by MyMachine with local (Exim 4.69) (envelope-from <[email protected]>) id 1MKrnl-00075G-Oe for [email protected]; Sun, 28 Jun 2009 11:40:01 +0100 From: Cron Daemon <[email protected]> To: [email protected] Subject: Cron <smmsp@MyMachine> test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp Content-Type: text/plain; charset=UTF-8 X-Cron-Env: <MAILTO=root> X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/var/lib/sendmail> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=smmsp> Message-Id: <E1MKrnl-00075G-Oe@MyMachine> Date: Sun, 28 Jun 2009 11:40:01 +0100 ----- Message body suppressed ----- 

等等…邮件给本地用户发送到gmail的smtp服务器,然后回到你的服务器? 这是你想避免的。 您需要告诉exim,所有到您的域名的邮件都应该在本地交付,然后所有其他邮件可以通过gmail作为智能主机(绝对不作为交付代理)。

编辑: 这些说明可能有帮助。

您是否检查了是否正确设置了您网域的MXlogging?

DynDNS.com支持 – 电子邮件,邮件交换器和DNS

错误的configuration将解释您从外部连接到您的IP地址时“看到”端口25,而不是无法parsing您的域的MXlogging的发送SMTP服务。