Permission denied to view exim log

psytanium

Well-Known Member
Jun 6, 2014
183
8
18
Lebanon
cPanel Access Level
Root Administrator
Hi,

I logged to the server WHM interface, and run /var/log/exim_mainlog in Terminal.
But I received : Bash: /var/log/exim_mainlog: Permission denied.

am i doing something wrong ?

Regards,
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,543
208
343
Chesapeake, VA
cPanel Access Level
DataCenter Provider
That's a log file, its not an executable, you can't run it like a program. You could use cat to dump all the contets of it (cat /var/log/exim_mainlog)
 
  • Like
Reactions: psytanium

psytanium

Well-Known Member
Jun 6, 2014
183
8
18
Lebanon
cPanel Access Level
Root Administrator
I was afraid to use cat, i though dump mean delete or through away all exim content. Yes I'm good now, and learning how to search exim to spot spams. Still have a lot to learn. Thank you and hope im not posting questions out of topic of slightly breaking some rules.
 
  • Like
Reactions: cPanelLauren