Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Get number of messages in mail queue

Discussion in 'E-mail Discussion' started by simonpearce, Feb 14, 2006.

  1. simonpearce

    simonpearce Well-Known Member

    Joined:
    Jun 20, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    When you view the mailqueue in whm it shows at the top the number of messages waiting - is there a way to generate this through a normal web page?

    We reckon this would be a good way to check for abnormal issues on the server.

    Cheers

    Simon
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    You can do it from shell and include it in some manner, using:

    exim -bpc

    If you use MailScanner then you can get the additional queue length using:

    exim -bpc -C /etc/exim_outgoing.conf
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. simonpearce

    simonpearce Well-Known Member

    Joined:
    Jun 20, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    156
    Thanks Jonathan - that's great :)

    Cheers

    Simon
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,741
    Likes Received:
    76
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    more detail
    use
    exim -bp | exiqsumm
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice