这里是普通文章模块栏目内容页
sendmail发送邮件失败的解决过程

From: =?utf-8?B?5b2x6KeG5L+x5LmQ6YOo?= <webmaster@m.wokan.cc>
X-Priority: 3
X-Mailer: UCENTER_HOME 2.0
MIME-Version: 1.0
Content-type: text/html; charset=utf-8
Content-Transfer-Encoding: base64
Message-Id: <20100513073621.1981D20E333@linux-qebs.site>
Date: Thu, 13 May 2010 15:36:20 +0800 (CST)
PHRhYmxlIGNlbGxzcGFjaW5nPSIwIiBjZWxscGFkZGluZz0iMjAiPg0KPHRyPjx0ZD4NCjx0YWJs
ZSB3aWR0aD0iNTAwIiBjZWxsc3BhY2luZz0iMCIgY2VsbHBhZGRpbmc9IjEiPg0KPHRyPjx0ZCBi
Z2NvbG9yPSIjRkY4RTAwIiBhbGlnbj0ibGVmdCIgc3R5bGU9ImZvbnQtZmFtaWx5OidsdWNpZGEg
Z3JhbmRlJyx0YWhvbWEsJ2JpdHN0cmVhbSB2ZXJhIHNhbnMnLGhlbHZldGljYSxzYW5zLXNlcmlm
O2xpbmUtaGVpZ2h0OjE1MCU7Y29sb3I6I0ZGRjtmb250LXNpemU6MjRweDtmb250LXdlaWdodDpi
b2xkO3BhZGRpbmc6NHB4Ij4mbmJzcDsg5b2x6KeG5L+x5LmQ6YOoPC90aD48L3RyPg0KPHRyPjx0
ZCBiZ2NvbG9yPSIjRkY4RTAwIj4NCjx0YWJsZSB3aWR0aD0iMTAwJSIgY2VsbHNwYWNpbmc9IjAi
IGJnY29sb3I9IiNGRkZGRkYiIGNlbGxwYWRkaW5nPSIyMCI+DQo8dHI+PHRkIHN0eWxlPSJmb250
LWZhbWlseTonbHVjaWRhIGdyYW5kZScsdGFob21hLCdiaXRzdHJlYW0gdmVyYSBzYW5zJyxoZWx2
ZXRpY2Esc2Fucy1zZXJpZjtsaW5lLWhlaWdodDoxNTAlO2NvbG9yOiMwMDA7Zm9udC1zaXplOjE0
cHg7Ij4NCuS6sueIseeahOaci+WPi++8mg0KPGJsb2NrcXVvdGU+PGJyPjxzdHJvbmc+5Y+W5Zue
5a+G56CB6YKu5Lu2PC9zdHJvbmc+PGJyPuaCqOWPqumcgOWcqOaPkOS6pOivt+axguWQjueahOS4
ieWkqeS5i+WGhe+8jOmAmui/h+eCueWHu+S4i+mdoueahOmTvuaOpemHjee9ruaCqOeahOWvhueg
ge+8mjxiciAvPmh0dHA6Ly92Lndva2FuLmNjL2hvbWUvZG8ucGhwP2FjPWxvc3RwYXNzd2QmYW1w
O29wPXJlc2V0JmFtcDt1aWQ9MTgmYW1wO2lkPUNHMGk3QjxiciAvPijlpoLmnpzkuIrpnaLkuI3m
mK/pk77mjqXlvaLlvI/vvIzor7flsIblnLDlnYDmiYvlt6XnspjotLTliLDmtY/op4jlmajlnLDl
nYDmoI/lho3orr/pl64pPGJyIC8+5LiK6Z2i55qE6aG16Z2i5omT5byA5ZCO77yM6L6T5YWl5paw
55qE5a+G56CB5ZCO5o+Q5Lqk77yM5LmL5ZCO5oKo5Y2z5Y+v5L2/55So5paw55qE5a+G56CB55m7
5b2V5LqG44CCPGJyPjxicj48L2Jsb2NrcXVvdGU+DQo8YnI+DQo8YnI+5b2x6KeG5L+x5LmQ6YOo
PGJyPjxhIGhyZWY9Imh0dHA6Ly92Lndva2FuLmNjL2hvbWUvIiB0YXJnZXQ9Il9ibGFuayI+aHR0
cDovL3Yud29rYW4uY2MvaG9tZS88L2E+DQo8YnI+MjAxMC0wNS0xMyAxNTozNjxicj4NCjxicj7m
raTpgq7ku7bkuLrns7vnu5/oh6rliqjlj5Hlh7rnmoTpgq7ku7bvvIzor7fli7/nm7TmjqXlm57l
pI3jgIINCjwvdGQ+PC90cj48L3RhYmxlPg0KPC90ZD48L3RyPjwvdGFibGU+DQo8L3RkPjwvdHI+
DQo8L3RhYmxlPg==

显然不行,肯定有问题

找原因中

没有找到,对它的配置也不熟悉,网上没有找到方法

运行yast删除了,重新安装

linux-qebs:/srv/www/htdocs # rpm -qa | grep sendmail
sendmail-8.14.3-51.5.1.i586

sendmail -bd -q12h

vi /etc/sendmail.cf

修改配置

原来为

Timeout.ident=5s

修改后

Timeout.ident=0s

/etc/init.d/sendmail status

没有自动启动

/etc/init.d/sendmail restart

sendmail 'aaaa' xhq6632@126.com

呵呵,收到,而且正常了。

看下面的

发件人:root <root@linux-qebs.site> 查看 添加 拒收

时   间:2010年5月13日(星期四) 下午4:28
纯文本 |





给邮件添加备注

该封邮件未写标题
您可以添加备注,便于您以后的管理。

我知道了



收件人:

undisclosed-recipients:

附   件:0 个 ( )

大   小:1.5K
打印 | 显示邮件原文 | 导出为eml文件 | 邮件有乱码? | 转发到群邮件 | 保存到记事本 | 作为附件转发

备 注:

编辑 删除

请在此输入备注...

取消


标记:已将此邮件标记为待办邮件。 取消待办

xcheatcode:0

asdfasd
fasd
fasdf
asdf
asdf
asdf
asd