Re: shared \seen flags on shared folders

2010-09-02 Thread Gavin McCullagh
Hi,

sorry for the very late reply.

On Thu, 12 Aug 2010, Wesley Craig wrote:

> On 12 Aug 2010, at 09:17, Gavin McCullagh wrote:
> >I gather courier shares the \seen flag between users sharing a
> >folder.  Is it possible to do this on cyrus?
> 
> I believe "sharedseen" does what you're looking for.  See "man cyradm":

>   "sharedseen"
>Enables the use of a shared \Seen flag on messages rather than
>a per-user \Seen flag.  The ’s’ right in the mailbox ACL still
>controls whether a user can set the shared \Seen flag.

Brilliant, thanks.  I hadn't noticed that.

> The Kolab client may have direct support for managing sharedseen, so
> you might take a look at that, as well.

It has a sufficiently new cyradm to support sharedseen, but it doesn't seem
to have a web-based way to do this.  

Gavin


-- 
Gavin McCullagh
Senior System Administrator
IT Services
Griffith College 
South Circular Road
Dublin 8
Ireland
Tel: +353 1 4163365
http://www.gcd.ie
http://www.gcd.ie/brochure.pdf
http://www.gcd.ie/opendays

This E-mail is from Griffith College.
The E-mail and any files transmitted with it are confidential and may be
privileged and are intended solely for the use of the individual or entity
to whom they are addressed. If you are not the addressee you are prohibited
from disclosing its content, copying it or distributing it otherwise than to
the addressee. If you have received this e-mail in error, please immediately
notify the sender by replying to this e-mail and delete the e-mail from your
computer.

Bellerophon Ltd, trades as Griffith College (registered in Ireland No.
60469) with its registered address as Griffith College Campus, South
Circular Road, Dublin 8, Ireland.


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

Admin API? [Was: Re: shared \seen flags on shared folders]

2010-09-02 Thread Adam Tauno Williams
On Thu, 2010-09-02 at 10:59 +0100, Gavin McCullagh wrote:
> Hi,
> sorry for the very late reply.
> On Thu, 12 Aug 2010, Wesley Craig wrote:
> > On 12 Aug 2010, at 09:17, Gavin McCullagh wrote:
> > >I gather courier shares the \seen flag between users sharing a
> > >folder.  Is it possible to do this on cyrus?
> > I believe "sharedseen" does what you're looking for.  See "man cyradm":
> > "sharedseen"
> >Enables the use of a shared \Seen flag on messages rather 
> > than
> >a per-user \Seen flag.  The ’s’ right in the mailbox ACL 
> > still
> >controls whether a user can set the shared \Seen flag.
> Brilliant, thanks.  I hadn't noticed that.
> > The Kolab client may have direct support for managing sharedseen, so
> > you might take a look at that, as well.
> It has a sufficiently new cyradm to support sharedseen, but it doesn't seem
> to have a web-based way to do this.  

This is a constant pain (cyradm isn't very help-desk friendly).

Does anyone know of a, even abandoned, project to implement the cyradm
capabilities as a network API?  SOAP, XML-RPC, REST, whatever  It
would be really nice to be able to manage a Cyrus server via an API (and
make building clients for that task way easier).
-- 
Adam Tauno Williams  LPIC-1, Novell CLA

OpenGroupware, Cyrus IMAPd, Postfix, OpenLDAP, Samba


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

Re: shared \seen flags on shared folders

2010-09-02 Thread André Schild

Adam Tauno Williams schrieb:

On Thu, 2010-09-02 at 10:59 +0100, Gavin McCullagh wrote:
  

Hi,
sorry for the very late reply.
On Thu, 12 Aug 2010, Wesley Craig wrote:


On 12 Aug 2010, at 09:17, Gavin McCullagh wrote:
  

I gather courier shares the \seen flag between users sharing a
folder.  Is it possible to do this on cyrus?


I believe "sharedseen" does what you're looking for.  See "man cyradm":
"sharedseen"
   Enables the use of a shared \Seen flag on messages rather than
   a per-user \Seen flag.  The ’s’ right in the mailbox ACL still
   controls whether a user can set the shared \Seen flag.
  

Brilliant, thanks.  I hadn't noticed that.


The Kolab client may have direct support for managing sharedseen, so
you might take a look at that, as well.
  

It has a sufficiently new cyradm to support sharedseen, but it doesn't seem
to have a web-based way to do this.  



This is a constant pain (cyradm isn't very help-desk friendly).

Does anyone know of a, even abandoned, project to implement the cyradm
capabilities as a network API?  SOAP, XML-RPC, REST, whatever  It
would be really nice to be able to manage a Cyrus server via an API (and
make building clients for that task way easier).
  


I started a small project a few years ago for this in java...

https://sourceforge.net/projects/jcyrusapi/

It still does what we need (And we don't needed much at that time...)

additionally a search on SF returns a list:

https://sourceforge.net/search/?words=cyrus&type_of_search=soft&words=cyrus&search=Search



André





smime.p7s
Description: S/MIME Cryptographic Signature

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

Re: Admin API? [Was: Re: shared \seen flags on shared folders]

2010-09-02 Thread OBATA Akio
On Thu, 02 Sep 2010 21:47:42 +0900, Adam Tauno Williams 
 wrote:

> On Thu, 2010-09-02 at 10:59 +0100, Gavin McCullagh wrote:
>> Hi,
>> sorry for the very late reply.
>> On Thu, 12 Aug 2010, Wesley Craig wrote:
>> > On 12 Aug 2010, at 09:17, Gavin McCullagh wrote:
>> > >I gather courier shares the \seen flag between users sharing a
>> > >folder.  Is it possible to do this on cyrus?
>> > I believe "sharedseen" does what you're looking for.  See "man cyradm":
>> >"sharedseen"
>> >Enables the use of a shared \Seen flag on messages rather 
>> > than
>> >a per-user \Seen flag.  The ?s? right in the mailbox ACL 
>> > still
>> >controls whether a user can set the shared \Seen flag.
>> Brilliant, thanks.  I hadn't noticed that.
>> > The Kolab client may have direct support for managing sharedseen, so
>> > you might take a look at that, as well.
>> It has a sufficiently new cyradm to support sharedseen, but it doesn't seem
>> to have a web-based way to do this.
>
> This is a constant pain (cyradm isn't very help-desk friendly).
>
> Does anyone know of a, even abandoned, project to implement the cyradm
> capabilities as a network API?  SOAP, XML-RPC, REST, whatever  It
> would be really nice to be able to manage a Cyrus server via an API (and
> make building clients for that task way easier).

I believe the protocol is IMAP.
(cyradm is just a IMAP client focused to manage cyrus IMAP Server).

-- 
OBATA Akio / ob...@lins.jp

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


Re: Admin API? [Was: Re: shared \seen flags on shared folders]

2010-09-02 Thread Adam Tauno Williams
On Thu, 2010-09-02 at 14:58 +0200, André Schild wrote:
> >> It has a sufficiently new cyradm to support sharedseen, but it doesn't seem
> >> to have a web-based way to do this.  
> > This is a constant pain (cyradm isn't very help-desk friendly).
> > Does anyone know of a, even abandoned, project to implement the cyradm
> > capabilities as a network API?  SOAP, XML-RPC, REST, whatever  It
> > would be really nice to be able to manage a Cyrus server via an API (and
> > make building clients for that task way easier).
> I started a small project a few years ago for this in java...
> https://sourceforge.net/projects/jcyrusapi/
> It still does what we need (And we don't needed much at that time...)

Interesting,  I'll probably poke at it.

> additionally a search on SF returns a list:
> https://sourceforge.net/search/?words=cyrus&type_of_search=soft&words=cyrus&search=Search

Yep; most of which are completely worthless.  And so many go straight to
building a WebUI that ends up tied into a myriad other things [LDAP,
MySQL, etc...] which ends up not being very general-purpose.


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

Re: Admin API? [Was: Re: shared \seen flags on shared folders]

2010-09-02 Thread Adam Tauno Williams
On Thu, 2010-09-02 at 22:02 +0900, OBATA Akio wrote:
> On Thu, 02 Sep 2010 21:47:42 +0900, Adam Tauno Williams 
>  wrote:
> > On Thu, 2010-09-02 at 10:59 +0100, Gavin McCullagh wrote:
> >> Hi,
> >> sorry for the very late reply.
> >> On Thu, 12 Aug 2010, Wesley Craig wrote:
> >> > On 12 Aug 2010, at 09:17, Gavin McCullagh wrote:
> >> > >I gather courier shares the \seen flag between users sharing a
> >> > >folder.  Is it possible to do this on cyrus?
> >> > I believe "sharedseen" does what you're looking for.  See "man cyradm":
> >> >  "sharedseen"
> >> >Enables the use of a shared \Seen flag on messages rather 
> >> > than
> >> >a per-user \Seen flag.  The ?s? right in the mailbox ACL 
> >> > still
> >> >controls whether a user can set the shared \Seen flag.
> >> Brilliant, thanks.  I hadn't noticed that.
> >> > The Kolab client may have direct support for managing sharedseen, so
> >> > you might take a look at that, as well.
> >> It has a sufficiently new cyradm to support sharedseen, but it doesn't seem
> >> to have a web-based way to do this.
> > This is a constant pain (cyradm isn't very help-desk friendly).
> > Does anyone know of a, even abandoned, project to implement the cyradm
> > capabilities as a network API?  SOAP, XML-RPC, REST, whatever  It
> > would be really nice to be able to manage a Cyrus server via an API (and
> > make building clients for that task way easier).
> I believe the protocol is IMAP.
> (cyradm is just a IMAP client focused to manage cyrus IMAP Server).

Understood; but that doesn't really change the question.

mybinding.mailboxInfo(mailbox), just like "cyradm> info mailbox", is
much more approachable than...

17 GETANNOTATION user.adam.fred "*" "value.shared"
* ANNOTATION "user.adam.fred"
"/vendor/cmu/cyrus-imapd/duplicatedeliver" ("value.shared" "false")
* ANNOTATION "user.adam.fred"
"/vendor/cmu/cyrus-imapd/sharedseen" ("value.shared" "false")
* ANNOTATION "user.adam.fred"
"/vendor/cmu/cyrus-imapd/condstore" ("value.shared" "false")
* ANNOTATION "user.adam.fred"
"/vendor/cmu/cyrus-imapd/pop3newuidl" ("value.shared" "true")
* ANNOTATION "user.adam.fred"
"/vendor/cmu/cyrus-imapd/lastpop" ("value.shared" " ")
* ANNOTATION "user.adam.fred"
"/vendor/cmu/cyrus-imapd/lastupdate" ("value.shared" " 2-Sep-2010
09:17:54 -0400")
* ANNOTATION "user.adam.fred"
"/vendor/cmu/cyrus-imapd/size" ("value.shared" "0")
* ANNOTATION "user.adam.fred"
"/vendor/cmu/cyrus-imapd/partition" ("value.shared" "default")
17 OK Complete


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


Action on move to folder

2010-09-02 Thread Julien Vehent
Hello cyrus folks,

I would like to find a solution to easily feed dspam, and I was 
wondering if there would be an elegant way to trigger an action when a 
message is moved to a specific folder. ie:

move message 'm' to folder 'spam' triggers 'send m to 
s...@mydomain.net' (or even better, launch an external program with 'm' 
as an argument).

Can imapd do that ? Sieve maybe ?


Thanks,

Julien


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


Re: Action on move to folder

2010-09-02 Thread Adam Tauno Williams
On Thu, 2010-09-02 at 22:17 +0200, Julien Vehent wrote:
> Hello cyrus folks,
> I would like to find a solution to easily feed dspam, and I was 
> wondering if there would be an elegant way to trigger an action when a 
> message is moved to a specific folder. ie:
> move message 'm' to folder 'spam' triggers 'send m to 
> s...@mydomain.net' (or even better, launch an external program with 'm' 
> as an argument).
> Can imapd do that ? Sieve maybe ?

I haven't found a way.  

It would be great; we use RabbitAMQ extensively and I've looked for a
way to *reliably* pop a message append-to-folder-XYZ into the queue.
You can scrape the logs or fad the filesystem folder, but neither ends
up being terribly *reliable*.

-- 
Adam Tauno Williams  LPIC-1, Novell CLA

OpenGroupware, Cyrus IMAPd, Postfix, OpenLDAP, Samba


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