cat /var/log/maillog| grep pop3| grep phoenix | grep "Jun  6" | wc -l

This would give howmany time phoenix logged in pop3 on Jun 6th (notice two
spaces between Jun and 6)

regards,
alok sinha

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Amit Sharma
Sent: Wednesday, June 09, 2004 2:36 PM
To: The Linux-Delhi mailing list
Subject: [ilugd] is it possible to get POP history of a user in
SendmailLog(s)?


i want to know if there is a way to know how many times a particular user
have done POP access?

/var/log/maillog has this log, but how to extract it?

amit
----------------------------------------------------------------------------
-------------------------------------
I, Me and Myself are always together  --- (kinda a world record i guess!!)
_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[EMAIL PROTECTED]/


_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to