Qmail stores references to messages in multiple locations in the queue. What
this error likely means is that there are references to messages in the todo
directory that don't exist in the mess directory. Find the messages via
something like find /var/qmail/queue -name '*MESSAGEID*' where MESSAGEID is
the id number of the message. Delete every instance of the troublesome
message ID's.

-K

"Do not meddle in the affairs of dragons, because you are crunchy and taste
good with ketchup."


> From: Charles Cazabon <[EMAIL PROTECTED]>
> Date: Wed, 24 Jan 2001 16:11:12 -0600
> To: [EMAIL PROTECTED]
> Subject: queue is empty, but qmail still complains
> 
> Greetings,
> 
> Here's an interesting one.  On one of our lesser-used development boxes, we're
> using an older version of Bruce Guenter's qmail+patches RPMs -- release 7,
> which is mostly qmail, plus Russ Nelson's big-todo, and a few of Bruce's
> convenience patches (like qmail-owners).
> 
> Here's what I don't understand:  my queue is currently empty.  However, qmail
> is still complaining about being unable to stat files in the mess/
> subdirectories, even after a fresh start.  I've run queue-fix (with the
> big-todo patch) on the queue, and it reports no problems.  I've included the
> output of a shell session which particularly bothers me.
> 
> Where is qmail getting the idea that these files should exist?
> 
> Charles
> 
> ---output of shell---
> 
> [root@charon queue]# /etc/rc.d/init.d/qmail stop
> Stopping qmail:  done.
> [root@charon queue]# ps auxw | grep qmail
> [root@charon queue]# pwd
> /var/qmail/queue
> [root@charon queue]# find . -type f
> ./lock/sendmutex
> ./lock/tcpto
> [root@charon queue]# /etc/rc.d/init.d/qmail start
> Starting qmail:  done.
> [root@charon queue]# tail /var/log/maillog
> Jan 24 16:02:49 charon qmail: 980373769.839878 warning: unable to stat
> mess/13/13
> Jan 24 16:02:49 charon qmail: 980373769.841153 warning: unable to stat
> mess/14/14
> Jan 24 16:02:49 charon qmail: 980373769.841305 warning: unable to stat
> mess/15/15
> Jan 24 16:02:49 charon qmail: 980373769.841445 warning: unable to stat
> mess/16/16
> Jan 24 16:02:49 charon qmail: 980373769.841572 warning: unable to stat
> mess/17/17
> Jan 24 16:02:49 charon qmail: 980373769.845169 warning: unable to stat
> mess/18/18
> Jan 24 16:02:49 charon qmail: 980373769.845323 warning: unable to stat
> mess/19/19
> Jan 24 16:02:49 charon qmail: 980373769.845463 warning: unable to stat
> mess/20/20
> Jan 24 16:02:49 charon qmail: 980373769.848179 warning: unable to stat
> mess/21/21
> Jan 24 16:02:49 charon qmail: 980373769.851135 warning: unable to stat
> mess/22/22
> 
> And output of qmail-showctl, for completeness:
> 
> [root@charon queue]# qmail-showctl
> qmail home directory: /var/qmail.
> user-ext delimiter: -.
> paternalism (in decimal): 2.
> silent concurrency limit: 120.
> subdirectory split: 23.
> user ids: 101, 102, 103, 0, 104, 105, 106, 107.
> group ids: 16, 11.
> 
> aliasempty: 
> Default delivery target contains: |dot-forward .forward
> Default delivery target contains: |preline procmail
> 
> badmailfrom: (Default.) Any MAIL FROM is allowed.
> 
> bindroutes: (Default.) No binding routes.
> 
> bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
> 
> bouncehost: (Default.) Bounce host name is charon.qcc.sk.ca.
> 
> checkpassword: (Default.) Password checking program is checkpassword.
> 
> concurrencylocal: (Default.) Local concurrency is 10.
> 
> concurrencypop3d: (Default.) POP-3 daemon concurrency is 20.
> 
> concurrencyqmqpd: (Default.) QMQP daemon concurrency is 20.
> 
> concurrencyqmtpd: (Default.) QMTP daemon concurrency is 20.
> 
> concurrencyremote: (Default.) Remote concurrency is 20.
> 
> concurrencysmtpd: (Default.) SMTP daemon concurrency is 20.
> 
> databytes: (Default.) SMTP DATA limit is 0 bytes.
> 
> defaultdomain: Default domain name is qcc.sk.ca.
> 
> defaulthost: Default host name is qcc.sk.ca.
> 
> doublebouncehost: 2B recipient host: qcc.sk.ca.
> 
> doublebounceto: (Default.) 2B recipient user: postmaster.
> 
> envnoathost: Presumed domain name is qcc.sk.ca.
> 
> helohost: (Default.) SMTP client HELO host name is charon.qcc.sk.ca.
> idhost: (Default.) Message-ID host name is charon.qcc.sk.ca.
> 
> localiphost: (Default.) Local IP address becomes charon.qcc.sk.ca.
> 
> locals: 
> Messages for localhost are delivered locally.
> Messages for charon.qcc.sk.ca are delivered locally.
> Messages for skgov.qcc.sk.ca are delivered locally.
> Messages for www.skgov.qcc.sk.ca are delivered locally.
> Messages for search.skgov.qcc.sk.ca are delivered locally.
> Messages for www.search.skgov.qcc.sk.ca are delivered locally.
> 
> logger: (Default.) Logging is done via: splogger.
> 
> me: My name is charon.qcc.sk.ca.
> 
> percenthack: (Default.) The percent hack is not allowed.
> 
> plusdomain: Plus domain name is qcc.sk.ca.
> 
> qmqpservers: (Default.) No QMQP servers.
> 
> queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
> 
> rcpthosts: 
> SMTP clients may send messages to recipients at localhost.
> SMTP clients may send messages to recipients at charon.qcc.sk.ca.
> 
> morercpthosts: (Default.) No effect.
> 
> morercpthosts.cdb: (Default.) No effect.
> 
> smtpgreeting: (Default.) SMTP greeting: 220 charon.qcc.sk.ca.
> 
> smtproutes: (Default.) No artificial SMTP routes.
> 
> timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
> 
> timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
> 
> timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
> 
> ulimitcpu: (Default.) Maximum amount of CPU time in seconds is unlimited.
> 
> ulimitdata: (Default.) Maximum process data size in kbytes is unlimited.
> 
> virtualdomains: (Default.) No virtual domains.
> 
> -- 
> -----------------------------------------------------------------------
> Charles Cazabon                            <[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> -----------------------------------------------------------------------
> 

Reply via email to