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!

Exim alerts to service like Pushover for iOS

Discussion in 'E-mail Discussion' started by Paul Cullen, Nov 13, 2015.

  1. Paul Cullen

    Paul Cullen Member

    Joined:
    Nov 13, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    Hey

    We have a server that from time to time gets hit with spam, sometimes its an open script, sometimes its a user with a weak password. We've all been there.

    The mail queue can fill up quite fast, i dont feel mail alerts are the best method as it relies on the same process thats having issues (not catching this in time has caused me issues in the past).

    Does anyone know of a way to ping a service like pushover, or any notification service that i can send a curl or wget request to in order to notify my mobile device that for example the mail queue is over 50.

    Thanks for any help in advance.

    Regards
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,961
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Paul Cullen

    Paul Cullen Member

    Joined:
    Nov 13, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    Hey, yes thats what i was thinking, do you know of a way to get the current number of emails in the exim queue?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,961
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    The following command will provide a count of the number of emails in the queue:

    Code:
    exim -bpc
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Paul Cullen

    Paul Cullen Member

    Joined:
    Nov 13, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    Thanks Michael
     
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