LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2009, 11:24 PM   #1
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Rep: Reputation: 15
Checking Last time a user checked their mail? (Postfix)


Hello,

Im trying to figure out the last time a user had checked their email so I can weed out the inactive accounts.

I tried checking the /var/mail/*account* file on an account but wasnt able to see any sort of timestamp.

Im using postfix.

Any suggestions would be greatly appreciated !
 
Old 06-04-2009, 11:38 PM   #2
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Original Poster
Rep: Reputation: 15
quick update:

I just used the following to grab all the logins in var/log/maillog , but not sure if this is correct or not
Code:
grep "imap-login: Login:" maillog
 
Old 06-05-2009, 12:08 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Depends a bit on how long you keeps your logs for.
 
Old 06-06-2009, 02:57 AM   #4
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Original Poster
Rep: Reputation: 15
Yeah sadly it seemed to be only about 7 days...so no luck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Me Please! I'm receiving mail from Postfix with a wrong time... DnDonna Linux - Newbie 1 08-05-2008 12:37 PM
how to forward mail to postfix virtual user justkeny2k Linux - Networking 7 12-22-2006 12:43 AM
prevent user from sending mail in postfix onyangoliech Linux - Networking 2 12-15-2006 07:37 AM
Postfix unable to deliver mail because user@virtualdomain becomes user@hostname azrael808 Linux - Networking 0 04-29-2006 12:35 PM
mail to local user using Postfix hct224 Linux - Newbie 0 03-16-2004 08:08 PM


All times are GMT -5. The time now is 10:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration