Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-11-2009, 01:03 AM
Senior Member
 
Posts: 63
Default Audit

i got a question, is there a way to have a more detailed information about auditing ip address with mail user regarding IMAP and pop3 for
period of Time (example one month), how can i see this?


Thanks
Reply With Quote
  #2 (permalink)  
Old 03-11-2009, 01:04 AM
Moderator
 
Posts: 7,928
Default

Check in /opt/zimbra/log/audit.log ... You will have to parse the file yourself looking for the specific access you wish to report on.
__________________
Reply With Quote
  #3 (permalink)  
Old 03-11-2009, 01:37 AM
Senior Member
 
Posts: 63
Default

- I can see only the logs for March 2009 what about other logs for older dates
- I can see only user name and protocol but not ip inside.
- do you have a script to point out the username + date + IP + protocol

Thanks
Reply With Quote
  #4 (permalink)  
Old 03-11-2009, 01:41 AM
Moderator
 
Posts: 7,928
Default

Look for audit.* as the logs get rotated and gzipped up
__________________
Reply With Quote
  #5 (permalink)  
Old 03-11-2009, 01:47 AM
Senior Member
 
Posts: 63
Default

ls -al audit.*
-rw-r----- 1 zimbra zimbra 400167 Mar 11 10:44 audit.log
-rw-r----- 1 zimbra zimbra 1275754 Mar 2 23:59 audit.log.2009-03-02
-rw-r----- 1 zimbra zimbra 1221143 Mar 3 23:59 audit.log.2009-03-03
-rw-r----- 1 zimbra zimbra 1156610 Mar 4 23:59 audit.log.2009-03-04
-rw-r----- 1 zimbra zimbra 1108097 Mar 5 23:59 audit.log.2009-03-05
-rw-r----- 1 zimbra zimbra 243461 Mar 6 23:59 audit.log.2009-03-06
-rw-r----- 1 zimbra zimbra 279213 Mar 7 23:59 audit.log.2009-03-07
-rw-r----- 1 zimbra zimbra 1138293 Mar 8 23:59 audit.log.2009-03-08
-rw-r----- 1 zimbra zimbra 581126 Mar 9 23:59 audit.log.2009-03-09
-rw-r----- 1 zimbra zimbra 1214172 Mar 10 23:59 audit.log.2009-03-10
Reply With Quote
  #6 (permalink)  
Old 03-11-2009, 01:51 AM
Moderator
 
Posts: 7,928
Default

Hmmm, they must be getting purged then. You could write something in perl using File::Tail to monitor the file and write the key information into another file or database for easy reporting ?
__________________
Reply With Quote
  #7 (permalink)  
Old 03-11-2009, 02:28 AM
Senior Member
 
Posts: 63
Default

how can i stop the purge and keep them for longer time such as three months
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.