Help - Search - Members - Calendar
Full Version: How do I check the mail queue on my server?
The Planet Forums > Operating Systems > Red Hat Linux > Red Hat HOWTOs
mahiraminc
Basically, I am running Dada Mail (formerly mojo mail) list program and I send out mailing lists with newsletters. This causes a delay in me receiving my emails. I want to check the mail queue on the server and I was wondering how would I do it?

I got RH 9.0. Thanks...
z3roon3
hmm basically this is not a how to....rolleyes.gif


whatever...to check mail queue

#mailq


icon_smile.gif
mahiraminc
Yes, that is exactly what I did on the rackshack server

[root@srv1 log]# mailq
-bash: mailq: command not found

I ran the exact same command on my other Fedora server..

[root@srv1 httpd]# mailq
/home/virtual/FILESYSTEMTEMPLATE/services/sendmail/mqueue is empty
Total requests: 0


This is what I didn't understand icon_biggrin.gif Any thoughts?
z3roon3
sendmail -bp doesn't work either?
mahiraminc
that prints a list of emails...

what does that mean?
z3roon3
QUOTE
Originally posted by mahiraminc
that prints a list of emails...

what does that mean?

this is your mail queue, which has been your question in your first post
mahiraminc
i mean what does this show me?

emails sent out?

being sent out?

or waiting to be sent out...
z3roon3
it's the QUEUE
mahiraminc
Yes, I guess so. Just don't know if that is the queue of emails going out of the server or is it the queue of emails waiting to be checked by me?

Btw, the command of check the number of messages waiting to be sent on the server is:

/var/qmail/bin/qmail-qstat

How to force qmail to process all messages in queue immediately?

If you send ALRM signal to the qmail-send process, Qmail will try to process all messages in queue again immediately.

# ps ax | grep qmail-send

# kill -ALRM

Credit to

http://faq.sw-soft.com/index.php?ToDo=view...tId=93&catId=17
mahiraminc
Yes, I guess so. Just don't know if that is the queue of emails going out of the server or is it the queue of emails waiting to be checked by me?

Btw, the command of check the number of messages waiting to be sent on the server is:

/var/qmail/bin/qmail-qstat

How to force qmail to process all messages in queue immediately?

If you send ALRM signal to the qmail-send process, Qmail will try to process all messages in queue again immediately.

# ps ax | grep qmail-send

# kill -ALRM

Credit to

http://faq.sw-soft.com/index.php?ToDo=view...tId=93&catId=17
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.