question from a beginner

Alain Spineux aspineux at gmail.com
Thu Sep 27 13:12:13 EDT 2007


On 9/27/07, Toschi Pietro <Pietro.Toschi at actalis.it> 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


More information about the Info-cyrus mailing list