Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Our Archives > General Archives > Servers > Where is SMTP log file stored???

 
Where is SMTP log file stored???
Thread Tools
Fresh-Faced Recruit
Join Date: Aug 2003
Status: Offline
Nov 2, 2004, 11:02 AM
 
I'm trying to do some SMTP investigation work (one of our employees is possibly given info to a competitor), however I cannot seem to find the log file for SMTP. I can find the /var/log/mail.log and other mail logs in /var/log, but I cannot seem to find the same file that is displayed in Server Admin under logs:smtp. The log in Server Admin is farely truncated, so I wanted to find the original log files for SMTP. Can someone help?
     
Fresh-Faced Recruit
Join Date: Aug 2003
Status: Offline
Nov 2, 2004, 01:40 PM
 
Ok, I am dumb! It is located in /var/log/mail.log

I guess I didn't notice the "smtpd" line previously so I assumed there was a different file for this. Thanks anyway.

Ok, next question. Does anyone know of a better application for viewing/searching log files other than the built-in Console. I guess what I am looking for in a Console like program is the ability to show the line number, like in "vi". Also, does "vi" give you the ability to read ".gz" files, then I could do all this in "vi".
     
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status: Offline
Nov 2, 2004, 10:23 PM
 
well, zcat reads gz files. You could pipe that into something else.

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
     
Fresh-Faced Recruit
Join Date: Aug 2003
Status: Offline
Nov 4, 2004, 12:44 PM
 
Originally posted by Detrius:
well, zcat reads gz files. You could pipe that into something else.
Great idea. Piping into grep will work great.
     
 
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:09 AM.
All contents of these forums © 1995-2009 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.4 © 2000-2009, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2