Re: Exec'ing a script from Cyrus when imapd has a client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

maybe logsurfer (or something similar) would be of help, you could monitor your cyrus logs with it and run fetchmail accordingly:

http://www.crypt.gen.nz/logsurfer/
http://sourceforge.net/projects/logsurfer/

Regards,
Stephan

Am Dienstag 20 Oktober 2009 19:36:24 schrieb Xavier Bestel:
> Hi,
> 
> I have a small install with cyrus-imapd 2.3.14, which reads some of its
> mails with fetchmail. To limit the delay in mail delivery, fetchmail
> awakes each minute to get mails.
> What I would like is let fetchmail do that only when there's a client
> actually reading its mails, i.e. an MUA actually connected to imapd.
> 
> So, my question: how to hook a script each time a client
> connects/disconnects from imapd ?
> 
> Thanks,
> 	Xav
> 
> 
> 
> 
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
> 

-- 
If a train station is a place where a train stops, what's a workstation?

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux