LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2285|回复: 4

在线等sendmail邮件在队列中不能发送的问题

[复制链接]
发表于 2005-7-14 14:43:04 | 显示全部楼层 |阅读模式
我在RHEL AS3上配的sendmail,但是有foxmail发送的邮件不能接收,使用mailq查看邮件队列,输出如下:
                /var/spool/mqueue (6 requests)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
j5EL2E4k002588      204 Wed Jun 15 05:02 <test1@192.168.0.202>
                 (Deferred: Connection timed out with pjn.qsrch.net.)
                                         <test2@192.168.0.202>
j5EL1c4m002583      241 Wed Jun 15 05:02 <admin@example.com>
                 (Deferred: Connection timed out with pjn.qsrch.net.)
                                         <test11@pjn.qsrch.net>
j5EKvF6I002505      204 Wed Jun 15 04:57 <test1@192.168.0.202>
                 (Deferred: Connection timed out with pjn.qsrch.net.)
                                         <test2@192.168.0.202>
j5EKYf9P002105      204 Wed Jun 15 04:34 <test1@192.168.0.202>
                 (Deferred: Connection timed out with pjn.qsrch.net.)
                                         <test1@192.168.0.202>
j5EJixUg002081      204 Wed Jun 15 03:45 <test1@192.168.0.202>
                 (Deferred: Connection timed out with pjn.qsrch.net.)
                                         <test2@192.168.0.202>
j5EJhcUg002070        1 Wed Jun 15 03:43 <test1@192.168.0.202>
                 (Deferred: Connection timed out with pjn.qsrch.net.)
                                         <test2@192.168.0.202>
                Total requests: 6
高人们给看看是怎么回事?
急呀!
发表于 2005-7-15 14:41:35 | 显示全部楼层
fa bu chu you jian you hen duo zhong yuan yin .ni kan kan ri zhi
#tail /var/log/maillog
回复 支持 反对

使用道具 举报

发表于 2005-7-15 15:05:08 | 显示全部楼层

sendmail与DNS关系

这个我问题我也碰到,好象就是可以发出,用OUTLOOK接收的时候也不提示错误,但MAIL就是收不下来,这个问题好象在SENDMAIL SERVER上配置一下USER@DOMAIN 里后的DOMAIN就可以了,但是OUTLOOK的电脑DNS并不用指向MAIL SERVER,所以我现在还不明白SENDMAIL 与DNS的关系是怎么样的..而且MAIL SERVER里不用做其它记录,只要有这个DOAMIN就中以,我看其它资料好象说也MX记录..不明白这与SENDMAIL有什么关系..
另.不知道两个MAIL SERVER之间的MAIL互发有什么特别的,我这里配置就是配不出来,还请高手指点一二...
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-18 08:23:35 | 显示全部楼层
这是我的 /var/log/maillog 日志内容:
Jun 15 07:58:19 localhost sendmail[2885]: j5EL2E4k002588: to=<test2@192.168.0.202>, delay=02:55:52, xdelay=00:01:14, mailer=esmtp, pri=480455, relay=pjn.qsrch.net. [64.94.29.14], dsn=4.0.0, stat=Deferred: Connection timed out with pjn.qsrch.net.
Jun 15 07:58:37 localhost sendmail[2885]: j5EL1c4m002583: to=<test11@pjn.qsrch.net>, delay=02:56:34, xdelay=00:00:11, mailer=esmtp, pri=480783, relay=pjn.qsrch.net., dsn=4.0.0, stat=Deferred: Connection timed out with pjn.qsrch.net.
Jun 15 07:58:39 localhost sendmail[2885]: j5EKvF6I002505: to=<test2@192.168.0.202>, delay=03:01:22, xdelay=00:00:00, mailer=esmtp, pri=570454, relay=pjn.qsrch.net., dsn=4.0.0, stat=Deferred: Connection timed out with pjn.qsrch.net.
Jun 15 07:58:39 localhost sendmail[2885]: j5EKYf9P002105: to=<test1@192.168.0.202>, delay=03:23:50, xdelay=00:00:00, mailer=esmtp, pri=660454, relay=pjn.qsrch.net., dsn=4.0.0, stat=Deferred: Connection timed out with pjn.qsrch.net.
Jun 15 07:58:39 localhost sendmail[2885]: j5EJixUg002081: to=<test2@192.168.0.202>, delay=04:13:20, xdelay=00:00:00, mailer=esmtp, pri=930453, relay=pjn.qsrch.net., dsn=4.0.0, stat=Deferred: Connection timed out with pjn.qsrch.net.
Jun 15 07:58:39 localhost sendmail[2885]: j5EJixUg002081: j5ENuuRW002885: sender notify: Warning: could not send message for past 4 hours
Jun 15 07:58:39 localhost sendmail[2885]: j5ENuuRW002885: to=<test1@192.168.0.202>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=31694, relay=pjn.qsrch.net., dsn=4.0.0, stat=Deferred: Connection timed out with pjn.qsrch.net.
Jun 15 07:58:39 localhost sendmail[2885]: j5EJhcUg002070: to=<test2@192.168.0.202>, delay=04:14:45, xdelay=00:00:00, mailer=esmtp, pri=930462, relay=pjn.qsrch.net., dsn=4.0.0, stat=Deferred: Connection timed out with pjn.qsrch.net.
Jun 15 07:58:39 localhost sendmail[2885]: j5EJhcUg002070: j5ENuuRX002885: sender notify: Warning: could not send message for past 4 hours
Jun 15 07:58:39 localhost sendmail[2885]: j5ENuuRX002885: to=<test1@192.168.0.202>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=31500, relay=pjn.qsrch.net., dsn=4.0.0, stat=Deferred: Connection timed out with pjn.qsrch.net.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-18 08:35:14 | 显示全部楼层
我在/etc/mail/access文件中配置了
192.168.0                       RELAY
还是不行?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表