#1  
Old 27th November 2007, 11:21
kassie kassie is offline
Senior Member
 
Join Date: May 2007
Location: Johannesburg, South Africa
Posts: 136
Thanks: 13
Thanked 0 Times in 0 Posts
Default Mail Log file

Hi guys

I know how to view the mail log file, but it only shows the current days log. How do I view previous days?

thanks and love your guys work
Reply With Quote
Sponsored Links
  #2  
Old 27th November 2007, 18:23
catdude catdude is offline
Senior Member
 
Join Date: Jun 2007
Posts: 178
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Quote:
Originally Posted by kassie
Hi guys

I know how to view the mail log file, but it only shows the current days log. How do I view previous days?

thanks and love your guys work
logrotate is most likely rotating your logs for you. To view yesterday's log, use "more /var/log/mail.log.0". To view, for example the log from the day before yesterday, try "zcat /var/log/mail.log.1.gz | more".
Reply With Quote
  #3  
Old 28th November 2007, 07:50
kassie kassie is offline
Senior Member
 
Join Date: May 2007
Location: Johannesburg, South Africa
Posts: 136
Thanks: 13
Thanked 0 Times in 0 Posts
Default

Thanks that worked great.

Now the next question. How can I see:

1) When a user downloaded mail

2) If there was any mail downloaded

3) What mail was downloaded.

Thanks
Reply With Quote
  #4  
Old 28th November 2007, 15:01
catdude catdude is offline
Senior Member
 
Join Date: Jun 2007
Posts: 178
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Quote:
Originally Posted by kassie
Thanks that worked great.

Now the next question. How can I see:

1) When a user downloaded mail

2) If there was any mail downloaded

3) What mail was downloaded.

Thanks
1) You can see when user's downloaded mail by looking for entries like:

Nov 28 06:25:23 gx courierpop3login: LOGIN, user=dan@smurgle.net, ip=[::ffff:69.66.44.241]

followed by a line like:

Nov 28 06:25:24 gx courierpop3login: LOGOUT, user=dan@smurgle.net, ip=[::ffff:69.66.44.241], top=0, retr=4091, time=1


2) There's really no way that I'm aware of to tell if any messages were downloaded, or which ones were downloaded. I suppose you could look at the time difference between the LOGIN and LOGOUT, and assume that if the connect period was only a second then the user probably didn't download 10 MB of messages, but even that vague assumption would be unprovable.
Reply With Quote
  #5  
Old 29th November 2007, 05:47
kassie kassie is offline
Senior Member
 
Join Date: May 2007
Location: Johannesburg, South Africa
Posts: 136
Thanks: 13
Thanked 0 Times in 0 Posts
 
Default

Thanks catdude
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix delivery problem erebus Installation/Configuration 7 26th June 2014 14:33
directories in /home/admispconfig/ispconfig renamed? Spudchat General 10 12th April 2007 19:37
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 03:40
No ftp login for ispconfig-webuser agri Installation/Configuration 12 19th March 2007 10:06
BIND broke adamluz Installation/Configuration 4 2nd June 2006 21:31


All times are GMT +2. The time now is 16:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.