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.

Exim alerts to service like Pushover for iOS

Discussion in 'E-mail Discussions' 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:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  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:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    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.
     
  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