Re: re-process mail queue

2003-12-10 Thread Zhang Weiwu
Doug Hardie wrote:

sendmail -q

Depending on how your environment is setup you may have specify the full 
path to sendmail.

Okay. The problem is solved. It is becaues the DNS server failed to
handle MX type of query.
Changing a DNS server solved the problem.

_
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: re-process mail queue

2003-12-10 Thread Zhang Weiwu
Doug Hardie wrote:

sendmail -q

Depending on how your environment is setup you may have specify the full 
path to sendmail.

I just tried sendmail -q, I don't know why I still have "host name lookup 
failure" problem.

AFAIK the hostnames' ip address should be cached for furture reference, so, 
say I lookup hotmail.com, if I access hotmail.com right after that lookup, 
my box should use the cached ip address without lookup DNS again.

Here is what I did:

#nslookup hotmail.com; sendmail -v -q
Server:  modem.realss
Address:  10.0.0.138
Non-authoritative answer:
Name:hotmail.com
Addresses:  64.4.33.7, 64.4.52.7, 64.4.32.7
Running /var/spool/mqueue/hBB4UpWD050471 (sequence 1 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: alobbs.com.: host name lookup 
failure

Running /var/spool/mqueue/hBB4mcWD050542 (sequence 2 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: xmu.edu.cn.: host name 
lookup failure

Running /var/spool/mqueue/hBB4oqWD050549 (sequence 3 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: xmu.edu.cn.: host name lookup 
failure

Running /var/spool/mqueue/hBB3h5WD009741 (sequence 4 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: hotmail.com.: host name 
lookup failure

Running /var/spool/mqueue/hB9KvAi4002520 (sequence 5 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: hotmail.com.: host name 
lookup failure

Running /var/spool/mqueue/hB9KvAi5002520 (sequence 6 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: hotmail.com.: host name 
lookup failure

Running /var/spool/mqueue/hB9Gbhi3001046 (sequence 7 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: 
lists.sourceforge.net.: host name lookup failure

Running /var/spool/mqueue/hB9Gdti3001049 (sequence 8 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: kneschke.de.: host name lookup 
failure

_
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


re-process mail queue

2003-12-10 Thread Zhang Weiwu
Hello. I'm using dial-up ADSL, So my notebook isn't always on-line. I have 
sendmail enabled.

Now the problem is, mailq showed that

#mailq
   /var/spool/mqueue (6 requests)
-Q-ID- --Size-- -Q-Time- 
Sender/Recipient---
hBB4UpWD050471  834 Thu Dec 11 12:30 <[EMAIL PROTECTED]>
(Deferred: Name server: alobbs.com.: host name lookup 
failure)

hBB3h5WD00974119817 Thu Dec 11 11:43 <[EMAIL PROTECTED]>
(host map: lookup (hotmail.com): deferred)

hB9KvAi4002520 3597 Wed Dec 10 04:57 MAILER-DAEMON
(host map: lookup (hotmail.com): deferred)
<[EMAIL PROTECTED]>
hB9KvAi5002520 5007 Wed Dec 10 04:57 MAILER-DAEMON
(host map: lookup (hotmail.com): deferred)
<[EMAIL PROTECTED]>
hB9Gbhi3001046 1663 Wed Dec 10 00:37 <[EMAIL PROTECTED]>
(host map: lookup (hotmail.com): deferred)

<[EMAIL PROTECTED]
hB9Gdti3001049 2966 Wed Dec 10 00:40 <[EMAIL PROTECTED]>
(host map: lookup (hotmail.com): deferred)

   Total requests: 6

I already know my ICP's DNS server has some problems these days, that about 
1/3 dns request fails for unknown reasons (retry serveral times fixes). Now 
the emails are seriously delayed, but how to ask sendmail to try to re-send 
all these emails? Yes, sendmail will try to send it some time that it will 
decide, but that can be a time when I'm lucky to have no ADSL connection. I 
want sendmail to send them "right now", how to do it?

_
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"