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

tommytx

Member
Mar 30, 2006
23
0
151
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...
 

ThinIce

Well-Known Member
Apr 27, 2006
352
9
168
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...
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
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.
 

tommytx

Member
Mar 30, 2006
23
0
151
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.
 

ThinIce

Well-Known Member
Apr 27, 2006
352
9
168
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.