we use uw-imap and poprelayd.

we have configured uw-imap to log to /var/adm/uw-imap.log.

poprelayd reads that and constructs a berkeleyDB /var/adm/popip.db.

since squirrelmail uses imap on the local server, we catch all logins
for pop, imap, & squirrelmail. The uw-imap.log is a typical log file
that shows logins and logouts with users and ip addresses. poprelayd is
a perl script that parses it into popip.db so that sendmail can
reference it through berkeleyDB. we also have milter-greylist
referencing it so that users who have logged in don't get grey-listed.

you don't need all that, but it shows a mechanism for getting at the
data you want. once you know the data is there, it is just a question of
deciding what you want and how to manipulate it to get that. a perl
script, or some combination of grep, awk, sed, sort, etc. should do it.


---------------

Chris Hoogendyk

-
   O__  ---- Systems Administrator
  c/ /'_ --- Biology & Geology Departments
 (*) \(*) -- 140 Morrill Science Center
~~~~~~~~~~ - University of Massachusetts, Amherst 

<[EMAIL PROTECTED]>

--------------- 

Erdös 4



Fredrik Jervfors wrote:
>>>> I'd like to have a list of users who have not logged in to my
>>>> Squirrel server, or when they loggin in. I guess I need a bash script
>>>> to scan through the pref files. Any suggestions?
>>>>         
>>> One way of doing this is to use the Show User and IP plugin...
>>>       
>> The more robust way to do this that doesn't rely on an unrelated plugin
>> is here:
>>
>> http://www.squirrelmail.org/plugin_view.php?id=52
>>     
>
>
> I forgot about that plugin. And it only works for end users who solely use
> SquirrelMail, i.e. the same problem as with my suggested solution.
>
> Sincerely,
> Fredrik.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> --
> squirrelmail-users mailing list
> Posting Guidelines: 
> http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
> List Address: squirrelmail-users@lists.sourceforge.net
> List Archives: 
> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>   


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to