Web Hosting Talk







View Full Version : SMTP Logs


hci
02-19-2002, 05:09 PM
Where are they? How do I look at them?

Matt

shortfork
02-19-2002, 05:23 PM
Originally posted by hci
Where are they? How do I look at them?

Matt /var/log/maillog

I think that's what you're looking for.. watch out, if it's a really big log file and you cat it... and don't have a lot of memory, you can bring your machine to its knees..

You can to less /var/log/maillog which will let you see it page by page or tail -f /var/log/maillog which will show it real time from last 10 lines on..

Shortz

hci
02-19-2002, 06:07 PM
So how do I do that? I hadded hopped there was something in the admin interface that would let me look at it.

Matthew

kmurrey
02-19-2002, 06:33 PM
Those are commands that he is telling you to type:

less /var/log/maillog

or

tail -f /var/log/maillog

You have SSH into your box or (I hope not) telnet into it.

I believe these have to be ran as root.
_____________________
Keith

shortfork
02-20-2002, 02:12 PM
Originally posted by hci
So how do I do that? I hadded hopped there was something in the admin interface that would let me look at it.Nope, as kmurry said, these are command line items and if you're not on command line yet.. You'd better get there quick, bone up on all the instructions here and there about security issues or you'll be back here, probably sooner than later, and the subject line of your message will be something like...

"hacked... what next?"

Shortz

mrkanitkar
02-21-2002, 03:11 AM
RAQ : is having finger,smb,& all major services OPEN.

:D