我已经设置了一个带有 EXIM4 的 Ubuntu 盒子来处理我的电子邮件,现在我只关心传出的电子邮件。我的路由器管理我的 DynDNS.com 伪静态 IP 寻址。端口 25 的端口转发已打开,并显示为端口扫描。盒子上的firestarter防火墙显示了访问尝试,我添加了一条允许规则。
外发电子邮件似乎可以按我的意愿工作,并且配置为通过我的 gmail 帐户发送。问题是 GMail 每隔 10-20 分钟就会向我发送一次垃圾邮件,其中包含一条投递状态通知消息,抱怨连接被拒绝。似乎 Google 正在尝试通过电子邮件发送我的root@<dyndns-account>帐户。
我应该如何克服这个问题?如何设置完整的输入/输出电子邮件访问权限?对于需要最少电子邮件支持的私人网站(例如,我托管的 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 -----