R: R: question from a beginner

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

 






-----Messaggio originale-----
Da: Alain Spineux [mailto:aspineux@xxxxxxxxx] 
Inviato: giovedì 27 settembre 2007 19.41
A: Toschi Pietro
Cc: info-cyrus@xxxxxxxxxxxxxxxxxxxx
Oggetto: Re: R: question from a beginner

On 9/27/07, Toschi Pietro <Pietro.Toschi@xxxxxxxxxx> wrote:
> Thanks for your answer, but I posted my question here because it's related to how to make that using cyrus: unfortunately I would like to monitor all the mailboxes (or at least a large subset of them) of my server, so writing a client application that polls every mailbox is not admitted (I don't have user passwords indeed!)

The cyrus user can access all mailbox with his credential like if they
are sub-folders.
cyradm is a simple imap client (written in perl), and when you do a
"listmailbox" it just use
the imap LIST command.
[Toschi Pietro] yes, I tested that feature, but it still requires that I write a client application that polls EVERY mailbox and I'm going to have thousands of boxes.

> I figured there is a way of hookig those events at server processes level, and manage the way you like, more or less like those application that notify you with a SMS message when you receive a new message in you mailbox (it's not my case nor may goal, but it's a very similar case) or the way that a milter application hooks to sendmail for messages pipeline management.

Maybe someone else will answer this way. But APPEND and DELETE are 2
unusual events for monitoring application.
[Toschi Pietro] I agree, but it's a customer requirement.

[Toschi Pietro] For example, our previous imap server, Sun Messenger, currently features an Event Notification System (http://docs.sun.com/source/816-6418-10/introens.html#18902) that's similar to what I'm looking for.


> Thanks
> Pietro
>
>
>
> -----Messaggio originale-----
> Da: Alain Spineux [mailto:aspineux@xxxxxxxxx]
> Inviato: giovedì 27 settembre 2007 19.12
> A: Toschi Pietro
> Cc: info-cyrus@xxxxxxxxxxxxxxxxxxxx
> Oggetto: Re: question from a beginner
>
> On 9/27/07, Toschi Pietro <Pietro.Toschi@xxxxxxxxxx> wrote:
> >
> >
> >
> >
> > Hello list
> >
> > I'm a beginner in cyrus imapd and mailing in general so I am quite confused.
> >
> > I'm wandering which is the best method or best practice to have an external
> > process informed about a message being:
> >
> > a)       delivered into mailbox by MTA (via LMTP), and
> >
> > b)       deleted from mailbox (usually by MUA via IMAP), and
> >
> > c)       appended or copied to mailbox (usually by MUA via IMAP)
> >
> > I suspect that SIEVE and/or notifyd may do that job. Is that Right? Are
> > there other solutions?
>
> I dont thing sieve and notify will handle delete and append !
>
> Write a script in python, perl, php (they have all 3 good imap
> support) to monitor the mailbox.
> Imap protocol is very powerfull, and if you just connect to an account
> and select a folder,
> the server can notify you about some (depend of the server) changes in
> the folder.
> This is not a mandatory feature, just a posibility of the protocol,
> that some imap server provide.
> I dont thing named above library don't handle this kind of callback,
> and then you should
> regularly check yourself for change in the forlder.
> If you want more support about imap protocol you should post your
> request on imap-protocol mailing list.
>
> Regards
>
> >
> >
> >
> > I am using Cyrus 2.3.9 with sendmail
> >
> >
> >
> > Thanks
> >
> >
> >
> > Pietro
> > ----
> > 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
> >
>
>
> --
> Alain Spineux
> aspineux gmail com
> May the sources be with you
>


-- 
Alain Spineux
aspineux gmail com
May the sources be with you
----
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