Exim郵件重發問題

exim4總體上說來是不錯的,不過一直以來都有重發方面的問題:比如說之前有外部服務器斷線了,,但後面服務器好了。都可以ping到,,可是我們的Exim4一直發不出去,,以至數個小時都發不出去,,,,現在找到解決辦法了:

來自 http://www.samlown.com/blog?page=4

Exim: Removing blocked domains from the hints database

 

> exinext berlin.ciudad21.net
R: dnslookup for user@berlin.ciudad21.net
first failed: 02-May-2007 15:57:24
last try:     03-May-2007 07:48:44
next try:     03-May-2007 15:24:21

As can be seen, for mail to be delivered to that domain, we’d have to wait until around half past three in the afternoon.

To speed things up, we can delete this record from the database. First we find out the full ID:

 > exim_dumpdb /var/spool/exim4 retry | grep berlin.ciudad21.net
 T:berlin.ciudad21.net:80.38.36.154 113 65 No route to host

We then run the exim_fixdb and simply enter the ID returned from grep, and enter ‘d’ to delete the last entry found.

 > exim_fixdb /var/spool/exim4 retry
 Modifying Exim hints database /var/spool/exim4/db/retry
 > T:berlin.ciudad21.net:80.38.36.154
 03-May-2007 07:48:44
 0 error number: 113 No route to host
 1 extra data:   65
 2 first failed: 02-May-2007 15:57:24
 3 last try:     03-May-2007 07:48:44
 4 next try:     03-May-2007 15:24:21
 5 expired:      no
 > d
 deleted
> q
按以上的辦法,可解決Exim延時重發的問題。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值