Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

How to check user activity ?

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


info at swwork

Jan 28, 2012, 1:24 PM

Post #1 of 2 (249 views)
Permalink
How to check user activity ?

Hello

I would like to check user activity (all using SMTP AUTH) and be warned
every X messages sent or Y kb sent or Z errors

the idea is to put a call to a perl function into the transport passing
$authenticated_id
$message_size
acl_var

where acl_var is a var that will be set into acl_rcpt using

warn set acl_var =
hosts = +relay_from_hosts
set acl_var = recipient/defer_ok/callout=10s,defer_ok,use_sender



each call to the perl funtion will mean a sent email,
the perl function will then do some test against a list of users and limits
and send warning emails if case


question, is the transport the correct location to put the function ?
also, will all the three parameters ($authenticated_id, $message_size and
acl_var) be visible at that level ?

Thanks in advance for any comment
Best Regards
Flaviano


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


jgh at wizmail

Jan 29, 2012, 6:05 AM

Post #2 of 2 (241 views)
Permalink
Re: How to check user activity ? [In reply to]

On 2012-01-28 21:24, SW & Work SaS wrote:
> I would like to check user activity (all using SMTP AUTH) and be warned
> every X messages sent or Y kb sent or Z errors
[...]
> question, is the transport the correct location to put the function ?
> also, will all the three parameters ($authenticated_id, $message_size and
> acl_var) be visible at that level ?

It could be made to work, but doing it in the data acl might be simpler.
--
Jeremy

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.