sendmail一错误解决
前几天在配置完sendmail后测试发信,转发到126.com上,可是发送了以后在maillog里出现了以下错误,见红色部分:
May 22 20:33:48 slave sendmail[4044]: alias database /etc/aliases rebuilt by root
May 22 20:33:48 slave sendmail[4044]: /etc/aliases: 78 aliases, longest 20 bytes, 806 bytes total
May 22 20:33:48 slave sendmail[4049]: starting daemon (8.13.8):
May 22 20:33:48 slave sm-msp-queue[4058]: starting daemon (8.13.8):
May 22 20:34:38 slave sendmail[4062]: m4MCY2D8004062: , size=28, class=0, nrcpts=1, msgid=<>, proto=SMTP, daemon=MSA, relay=localhost.localdomain [127.0.0.1]
May 22 20:34:38 slave sendmail[4065]: m4MCY2D8004062: SYSERR(root): mail.rhel5.com. config error: mail loops back to me (MX problem?)
May 22 20:34:38 slave sendmail[4066]: m4MCYcsc004066: slave.rhel5.com [192.168.1.121] did not issue MAIL/EXPN/VRFY/ETRN during connection to MSA
May 22 20:34:38 slave sendmail[4065]: m4MCY2D8004062: , (501/501), delay=00:00:10, xdelay=00:00:00, mailer=relay, pri=120028, relay=mail.rhel5.com. [192.168.1.121], dsn=5.3.5, stat=Local configuration error
May 22 20:34:38 slave sendmail[4065]: m4MCY2D8004062: m4MCYcD8004065: DSN: Local configuration error
May 22 20:34:38 slave sendmail[4065]: m4MCYcD8004065: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=61369, dsn=2.0.0, stat=Sent
May 22 20:34:38 slave sendmail[4065]: m4MCYcD8004065: , delay=00:00:00, xdelay=00:00:00, mailer=local, pri=61369, dsn=2.0.0, stat=Sent,虽然转发了,可是没有发送到126邮箱里,却发送到本机上, 郁闷了大半天,以前配置完后就很顺利的把邮件发送出去了,这次却出现了这样的错误,让我百思不得其解,从头到尾把配置文件检查了一下,却发现在sendmail.mc里没有把define(`SMART_HOST', `mail.rhel5.com')dnl这行注释掉所致,我把'SMART_HOST'这行注释掉后,就很顺利的把邮件发送到126邮箱里了。
阅读(1868) | 评论(0) | 转发(0) |