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.

Is there a way to monitor live email activity on the whm....

Discussion in 'E-mail Discussions' started by tommytx, Aug 12, 2013.

  1. tommytx

    tommytx Member

    Joined:
    Mar 30, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Is there a way to monitor live email activity on the whm.. so I can watch a while to see if I can see any particular domain having unusual high activity...
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    There is no particular inbuilt options to monitor LIVE exim logs through WHM but you can install log view plugin and monitor your all server logs through WHM
     
  3. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    If you have access to a root shell you can

    tail -f /var/log/exim_mainlog

    Depending on the volume you may or may not be able to spot anything useful! If you know what you're looking for try exigrep.

    Along with many other tails and command line tools it is however great to leave running on a second monitor if you have someone non technical coming by your office...
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, the best way to monitor Exim activity is to view the /var/log/exim_mainlog file with the following command:

    Code:
    tail -f /var/log/exim_mainlog
    Thank you.
     
  5. tommytx

    tommytx Member

    Joined:
    Mar 30, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    IF I am reading your right.. sounds like a great idea.. I have snuck around my server a few times using PUTTY... will that work...
    Been awhile but I used to play with Putty a lot... at least if I blow it up all the 126 domains are mine.. so that reduces the liability when a neophyte wanders around where they should not be and screws it up... wish me luck.. LOL.

    then using the command.... tail -f /var/log/exim_mainlog

    Are am I lost again?

    The WhM is on my VPS.. so yes I have access to all those dangerous areas.. LOL.
    thanks again.
     
  6. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    Putty should be fine, that command only follows the mail log for the server so you shoudn't be able to do any damage (at least with that!). When you're done you can simply control+c to close tail and then logout.
     
Loading...

Share This Page