The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Get number of messages in mail queue

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

  1. simonpearce

    simonpearce Well-Known Member

    Joined:
    Jun 20, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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
     
  3. simonpearce

    simonpearce Well-Known Member

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

    Cheers

    Simon
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    more detail
    use
    exim -bp | exiqsumm
     
Loading...

Share This Page