終於成功配置了sendmail為本地使用者轉發郵件
From: Mail Delivery Subsystem <MAILER-DAEMON>
To: [email protected]
To: postmaster
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
[-- 附件 #1 --]
[-- 形態: textplain, 編碼: 7bit, 大小: 0.4K --]
The original message was received at Tue, 4 Apr 2006 22:09:59 +0800
from localhost.localdomain [127.0.0.1]
----- The following addresses had permanent fatal errors -----
[email protected]
(reason: 553 5.3.5 system config error)
----- Transcript of session follows -----
553 5.3.5 mail.student6.org. config error: mail loops back to me (MX problem?)
554 5.3.5 Local configuration error
整了好長時間都沒有整好,根據上面提示內容“loops back to me”,覺得應該是sendmail沒有意識到student6.org是本地的域,開始不相信,因為我已經在/etc/mail/local-host-names中填寫了student6.org這一行。後來實在不行,在/etc/mail/sendmail.mc加入一行:
LOCAL_DOMAIN(`student6.org')
來確保這個域被sendmail認為是本地域,終於成功了!SIGN~~~~~~~