I just stumbled upon this while spelunking through the code.
 
However, I do not see the logout_script being called immediately after a timeout.  Instead I see it being called (around line 499) when removing sessions that are over 7 *days* old.  That 7 days appears to be hard-coded in miniserv.pl. 
 
The only other call to logout_script I see occurs when the user explicitly click the Logout link.
 
I am running 1.290, in case that makes a difference.
 
Thanks
 
Dave I
-----Original Message-----
From: webadmin-list-bounces@lists.sourceforge.net [mailto:webadmin-list-bounces@lists.sourceforge.net] On Behalf Of Jamie Cameron
Sent: Monday, October 30, 2006 2:30 PM
To: Webmin users list
Subject: Re: [webmin-l] Postfix module and the Webmin Actions Log

This is actually possible, via an un-documented option. Just edit the file /etc/webmin/miniserv.conf and add the line :

logout_script=/path/to/some/script.pl

And then restart Webmin with /etc/webmin/restart . This will be run when a user logs out or times out, with the username, session ID, remote IP and local IP as parameters.
There is also a matching login_script parameter, but it doesn't sound like you need that.

 - Jamie

On 30/Oct/2006 10:06 Dave Isaacs wrote ..
Thanks!  That's great!  Looking forward to it.
 
Unfortunately, our customer want to take this an extra step.  They have in mind some sort of config audit process that will be kicked off whenever a webmin user logs out or a webmin session times out.  Kicking off a process when logging out of webmin seems straightforward enough.  It's the kicking off a process when timing out of webmin that concerns me.  If have no idea how to achieve this.  Any suggestions?
 
Thanks
 
Dave I
-----Original Message-----
From: webadmin-list-bounces@lists.sourceforge.net [mailto:webadmin-list-bounces@lists.sourceforge.net] On Behalf Of Jamie Cameron
Sent: Friday, October 27, 2006 2:26 PM
To: Webmin users list
Subject: Re: [webmin-l] Postfix module and the Webmin Actions Log

On 27/Oct/2006 10:51 Dave Isaacs wrote ..

From inspecting the source of the Postfix module, it appears that the Postfix module does almost no logging to the Webmin Actions Log.  Is this conclusion correct?  If yes, will this ever be remedied?

This is an issue because a customer of ours requires that changes to the Postfix configuration be auditable.  We can roll our own change-auditing process, but it would be nice if Webmin was doing it for us.

Thanks

Dave I

That is (unfortunately) correct .. however, now that you have pointed it out, I do plan to add logging in the next Webmin release.

 - Jamie