终于成功配置了sendmail为本地用户转发邮件
2006-04-04 22:24
501 查看
在ubuntu中安装了sendmail,通过bind在本地管理域student6.org的域名。在给本地用户mailtest发送邮件时,总会收到这样的邮件内容:
From: Mail Delivery Subsystem <MAILER-DAEMON>
To: windy@student6.org
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 -----
mailtest@student6.org
(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~~~~~~~
From: Mail Delivery Subsystem <MAILER-DAEMON>
To: windy@student6.org
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 -----
mailtest@student6.org
(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~~~~~~~
相关文章推荐
- 配置sendmail转发邮件
- Linux系统下使用mail发送一封简单的Internet邮件【以及验证邮件是否发送成功sendmail -bp,必须是root用户才可以使用此命令查看邮件消息队列中的内容】
- Lotus配置之三:IBM Lotus Note邮件下载到本地
- 配置hMailServer成功,完成邮件异步群发
- CentOS6下配置本地用户访问vsftpd,并赋予写权限
- RHEL4- FTP服务(四)配置本地用户访问VSFTP服务器
- 本地多用户下git使用ssh管理配置
- 基于RPM的sendmail邮件系统安装与配置
- 如何实现自动转发邮件并还可以在用户邮箱库里保留一份拷贝?
- 易宝典文章——怎样配置TMG能够使外部用户成功访问Outlook Anywhere?
- 在自己机器上配置.text95终于成功了
- rhce 第7题 配置本地邮件服务
- 用户能够在下次登录系统时被重新配置---或win10早期更新不成功的bug就需要删除多余的登陆用户
- zz LAB_RHEL5下sendmail+dovecot+openwebmail邮件系统配置(图片链接已失效 2010/11/08)
- Git本地多用户配置
- JS中使用mailto实现将用户在网页中输入的内容传递到本地邮件客户端
- 本地用户配置文件转换到域用户
- 疑难问题解决备忘录(3)——ubuntu12.04配置vsftp本地用户登录
- linux下安装vsftpd(本地用户配置)
- [原创]Sendmail的邮件用户与系统用户分离