Re: Flushing Queue
On Sun, Oct 22, 2000 at 08:15:25AM -, [EMAIL PROTECTED] wrote: > MaD dUCK <[EMAIL PROTECTED]> wrote: > > > how does it get these??? i mean, once remote/13/145994 is removed, how can > > qmail know of it's existence? does it keep track in memory then? > > Okay, I guess that you cannot really flush the queue. Here is what I did to > remove all messages and get a working qmail queue: > # svc -d /service/qmail-send /service/qmail-smtp > # cd /var/qmail > # mv queue queue.bad > # cd /usr/local/src/qmail-1.03 > # make setup check > # svc -u /service/qmail-send /service/qmail-smtp That works, but is not necessary. Try using queue-fix from qmail.org. RC -- +--- | Ricardo Cerqueira | PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42 | Novis - Engenharia ISP / Rede Técnica | Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal | Tel: +351 2 1010 - Fax: +351 2 1010 4459 PGP signature
Re: Flushing Queue
MaD dUCK <[EMAIL PROTECTED]> wrote: > how does it get these??? i mean, once remote/13/145994 is removed, how can > qmail know of it's existence? does it keep track in memory then? Okay, I guess that you cannot really flush the queue. Here is what I did to remove all messages and get a working qmail queue: # svc -d /service/qmail-send /service/qmail-smtp # cd /var/qmail # mv queue queue.bad # cd /usr/local/src/qmail-1.03 # make setup check # svc -u /service/qmail-send /service/qmail-smtp --Tom Jackson
Re: Flushing Queue
> @400039f1f8a0211d498c warning: trouble opening remote/18/146022; will try > again later > @400039f1f8a2211df954 warning: trouble opening remote/13/145994; will try > again later how does it get these??? i mean, once remote/13/145994 is removed, how can qmail know of it's existence? does it keep track in memory then? martin [EMAIL PROTECTED] (greetings from the heart of the sun)
Re: Flushing Queue
MaD dUCK <[EMAIL PROTECTED]> wrote: > i haven't noticed that yet. where else does qmail keep queue info other than > in the files??? Here are some nice messages in /var/log/qmail/qmail-send/current: @400039f1f8a0211d498c warning: trouble opening remote/18/146022; will try again later @400039f1f8a2211df954 warning: trouble opening remote/13/145994; will try again later
Re: Flushing Queue
On Sat, Oct 21, 2000 at 03:27:51PM -0400, MaD dUCK wrote: > thus spake Ricardo Cerqueira (on Sat, 21 Oct 2000 08:15:21PM +0100): > > P.S. - I've realized my original message looked like a reply to the > > "rm'ing" part of yours. Sorry about that. I was talking about moving them. > > AFAIK, removing them is safe, unless you have the misfortune of moving > > something which is being processed at that exact moment. > > but since i moved them outside the /var/qmail/queue directory, in the scope of > the qmail dir, it is as if i had removed them. Yes, but what's the purpose of moving them if you don't intend to re-queue them later? :-) RC -- +--- | Ricardo Cerqueira | PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42 | Novis - Engenharia ISP / Rede Técnica | Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal | Tel: +351 2 1010 - Fax: +351 2 1010 4459 PGP signature
Re: Flushing Queue
thus spake Ricardo Cerqueira (on Sat, 21 Oct 2000 08:15:21PM +0100): > P.S. - I've realized my original message looked like a reply to the > "rm'ing" part of yours. Sorry about that. I was talking about moving them. > AFAIK, removing them is safe, unless you have the misfortune of moving > something which is being processed at that exact moment. but since i moved them outside the /var/qmail/queue directory, in the scope of the qmail dir, it is as if i had removed them. martin [EMAIL PROTECTED] (greetings from the heart of the sun)
Re: Flushing Queue
On Sat, Oct 21, 2000 at 02:52:52PM -0400, MaD dUCK wrote: > > Sure it will. And, as a bonus, it'll fill your log files of nasty queue > > consistency errors, and possibly mess up your future queueing. > > i haven't noticed that yet. where else does qmail keep queue info other than > in the files??? It doesn't, AFAIK. The filenames themselves match the inode of mess/. And the mtime of info/ is used to measure the queue-lifetime of the message. Moving the files would blow up the queue (or at least mess it up a little) RC P.S. - I've realized my original message looked like a reply to the "rm'ing" part of yours. Sorry about that. I was talking about moving them. AFAIK, removing them is safe, unless you have the misfortune of moving something which is being processed at that exact moment. -- +--- | Ricardo Cerqueira | PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42 | Novis - Engenharia ISP / Rede Técnica | Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal | Tel: +351 2 1010 - Fax: +351 2 1010 4459 PGP signature
Re: Flushing Queue
> Sure it will. And, as a bonus, it'll fill your log files of nasty queue > consistency errors, and possibly mess up your future queueing. i haven't noticed that yet. where else does qmail keep queue info other than in the files??? martin [EMAIL PROTECTED] (greetings from the heart of the sun)
Re: Flushing Queue
On Sat, Oct 21, 2000 at 01:47:27PM -0400, MaD dUCK wrote: > > What the *hell* are you trying to accomplish? > > flush the queue. i must admit though that while my mv command was supposed to > enable backups, it won't work like that since the three files associated with > a message have the same name. but rm'ing all files in the subdirectories given > will flush the queue. Sure it will. And, as a bonus, it'll fill your log files of nasty queue consistency errors, and possibly mess up your future queueing. RC -- +--- | Ricardo Cerqueira | PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42 | Novis - Engenharia ISP / Rede Técnica | Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal | Tel: +351 2 1010 - Fax: +351 2 1010 4459 PGP signature
Re: Flushing Queue
> What the *hell* are you trying to accomplish? flush the queue. i must admit though that while my mv command was supposed to enable backups, it won't work like that since the three files associated with a message have the same name. but rm'ing all files in the subdirectories given will flush the queue. martin [EMAIL PROTECTED] (greetings from the heart of the sun)
Re: Flushing Queue
On Fri, Oct 20, 2000 at 06:48:24PM -0400, MaD dUCK wrote: > this is probably going to make people cry. > > %> cd /var/qmail/ > %> mkdir queue.flushed > %> mv `find queue/info queue/local queue/remote queue/mess -type f` \ >queue.flushed What the *hell* are you trying to accomplish? Greetz, Peter -- dataloss networks '/ignore-ance is bliss' - me 'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me
Re: Flushing queue
MaD dUCK <[EMAIL PROTECTED]> wrote: > this is probably going to make people cry. But It worked! About qmail-tcpok, this didn't remove anything from the queue, it seems that it might speed up re-delivery attempts, or is this incorrect?
Re: Flushing Queue
On 20 Oct 2000 [EMAIL PROTECTED] wrote: > Is there any way to flush messages from the qmail queue? > > --Tom Jackson > /var/qmail/bin/qmail-tcpok kill -ALRM jvz.
Re: Flushing Queue
this is probably going to make people cry. %> cd /var/qmail/ %> mkdir queue.flushed %> mv `find queue/info queue/local queue/remote queue/mess -type f` \ queue.flushed you cannot move to another partition because of inode numbers. martin [EMAIL PROTECTED] (greetings from the heart of the sun)
Flushing Queue
Is there any way to flush messages from the qmail queue? --Tom Jackson
Re: flushing queue
On Tue, Dec 29, 1998 at 02:17:57PM +0100, Rask Ingemann Lambertsen wrote: # On 28-Dec-98 22:54:49, Samuel Dries-Daffner wrote something about "flushing queue". I just couldn't help replying to it, thus: # > I have lots of mail that seems stuck in my queue...how can I flush? # #The first thing to do is, of course, to find out why it is stuck, and fix # that problem. Once you've done that, use # # killall -ALRM qmail-send assuming they are running Linux under solaris this is: killall(1M) Maintenance Commandskillall(1M) NAME killall - kill all active processes SYNOPSIS /usr/sbin/killall [ signal ] -- /- [EMAIL PROTECTED] --- [EMAIL PROTECTED] -\ |Justin Bell NIC:JB3084| Time and rules are changing. | |Simon & Schuster A&AT | Attention span is quickening.| |Programmer | Welcome to the Information Age. | \ http://www.superlibrary.com/people/justin/ --/
Re: flushing queue
On 28-Dec-98 22:54:49, Samuel Dries-Daffner wrote something about "flushing queue". I just couldn't help replying to it, thus: > I have lots of mail that seems stuck in my queue...how can I flush? The first thing to do is, of course, to find out why it is stuck, and fix that problem. Once you've done that, use killall -ALRM qmail-send to tell qmail to try to deliver it now. Regards, /¯¯T¯\ | Rask Ingemann Lambertsen | [EMAIL PROTECTED] | | Registered Phase5 developer | WWW: http://www.gbar.dtu.dk/~c948374/ | | A4000, 775 kkeys/s (RC5-64) | "ThrustMe" on XPilot and EFnet IRC | | Hard work may not kill me, but why take chances? |
Re: flushing queue
On Mon, 28 Dec 1998, Samuel Dries-Daffner wrote: > > I have lots of mail that seems stuck in my queue...how can I flush? > > Samuel Daffner > Mills College ITS > > > > a) ps -aux |grep qmails ; kill -ALRM pid_of_qmail-send b)use Michel Beltrame's qmHandle package look www.qmail.org regards Abel Lucano [EMAIL PROTECTED]
RE: flushing queue
Samuel Dries-Daffner wrote/schrieb/scribsit: > I have lots of mail that seems stuck in my queue...how can I flush? First off all, you should see _why_ it's stuck. Network problems maybe? Another thing might be to check the permissions on lock/trigger. prw--w--w- qmail:qmail is right. To tell qmail to hurry up, run qmail-tcpok and send qmail-send an ALRM signal. Stefan
flushing queue
I have lots of mail that seems stuck in my queue...how can I flush? Samuel Daffner Mills College ITS