How to Log the Sharing of Mail Boxes?

2011-04-08 Thread Victor Silva
Hello folks. I`m working in a environment where I need to keep track of
whose accounts have shared a given mailbox (due to legal issues). I was
unable to find such funcionality in cyrus documentation. I know I can
recover the logs of the people who have accessed the box but this is a bit
different of the info I want. Have any of you ever had such demand?






Regards,
Victor Silva

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: multipart message with pdf file gets truncated

2011-04-08 Thread Joseph Brennan

Julien Vehent jul...@linuxwall.info wrote--

  Now, without being a MIME expert, I assume that the last NextPart
  line not being followed by anything is not a good thing.

No, that last boundary marks the end of the mime part, signfifed by
the two hyphens at the end. In this case it's the end of the whole
message.

That happens to prove that the message is not truncated. Only the
software that created the message would have written that end boundary.

My conclusion is that the message arrived as is. Either the original
PDF was damaged, or the message was created with damage.



Mike Eggleston mikee...@mac.com wrote--

 My truncation problem was happening when the internal server pulled
 the mail, then injected the mail into the internal sendmail. At the
 reinjection time there were a few messages that had a dot (.) in column
 one. Per the RFC a dot (.) in column one is the signal to end the SMTP
 input session (the data command).

No, the end of DATA is signalled by the five-character sequence
CR LF dot CR LF, that is, a dot on a line by itself. So your software
is buggy if it stops at CR LF dot without examining what follows dot.



Joseph Brennan
Lead Email Systems Engineer
Columbia University Information Technology


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: How to Log the Sharing of Mail Boxes?

2011-04-08 Thread Eric Luyten
On Fri, April 8, 2011 3:24 pm, Victor Silva wrote:
 Hello folks. I`m working in a environment where I need to keep track of
 whose accounts have shared a given mailbox (due to legal issues). I was unable
 to find such funcionality in cyrus documentation. I know I can recover the
 logs of the people who have accessed the box but this is a bit different of
 the info I want. Have any of you ever had such demand?


No, but you could periodically create a text dump of mailboxes.db
and work from there.


   /usr/cyrus/bin/ctl_mboxlist -d  mailboxes.`date '+%m%d%H%M'`


Cheers,
Eric Luyten.


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: How to Log the Sharing of Mail Boxes?

2011-04-08 Thread Bron Gondwana
On Fri, 8 Apr 2011 15:38:08 +0200 (CEST)
Eric Luyten eric.luy...@vub.ac.be wrote:

 On Fri, April 8, 2011 3:24 pm, Victor Silva wrote:
  Hello folks. I`m working in a environment where I need to keep track of
  whose accounts have shared a given mailbox (due to legal issues). I was 
  unable
  to find such funcionality in cyrus documentation. I know I can recover the
  logs of the people who have accessed the box but this is a bit different of
  the info I want. Have any of you ever had such demand?
 
 
 No, but you could periodically create a text dump of mailboxes.db
 and work from there.

We do something like this every hour to look for patterns like massive changes 
in
the number of folders... but I think what you're really looking for is a logging
of every ACL change.

Victor: there's nothing like this in Cyrus, but if you put an enhancement 
request
over at bugzilla.cyrusimap.org we can look into it.

Bron.

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


acl

2011-04-08 Thread rosenberger
 Hello

 i start writing a cyradm web frontend in php.
 the old one php-cyradm was from the 2000 year and does not work on 
 newer php version.

 But back to the question
 I read out the acl from a mailbox
 lrswipkxtecda
 man cyradm
 l = Look
 r = Read
 s = Seen
 w = Write
 i = Insert
 p = Post
 k = Create
 x = Delete
 t = Delete Message
 e = Expunge
 c = 
 d = 
 a = admin

 in the cyrus Documentation the acl
 c = The user may create new sub-mailboxes of the mailbox, or delete or 
 rename the current mailbox
 d = The user may store the Deleted flag, and perform expunges.

 know is t and d the same ?
 and c is  k ?

 i'm confused

 BR/Torsten




Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: multipart message with pdf file gets truncated

2011-04-08 Thread Julien Vehent
 On Fri, 08 Apr 2011 09:27:29 -0400, Joseph Brennan wrote:
 Julien Vehent jul...@linuxwall.info wrote--

  Now, without being a MIME expert, I assume that the last NextPart
  line not being followed by anything is not a good thing.

 No, that last boundary marks the end of the mime part, signfifed by
 the two hyphens at the end. In this case it's the end of the whole
 message.

 That happens to prove that the message is not truncated. Only the
 software that created the message would have written that end 
 boundary.

 My conclusion is that the message arrived as is. Either the original
 PDF was damaged, or the message was created with damage.


 Alright, thanks for the analysis.
 I will try to gather more data on the server, and if possible dump the 
 connection before it's handled by postfix.
 Since the client is sending the same email to another mailbox, and it 
 works fine, I would like to make sure my setup works fine before blaming 
 anybody else...


 Thanks,
 Julien

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: acl

2011-04-08 Thread Bron Gondwana
On Fri, Apr 08, 2011 at 06:17:37PM +0200, rosenber...@taoweb.at wrote:
  But back to the question
  I read out the acl from a mailbox
  lrswipkxtecda
  man cyradm
  l = Look
  r = Read
  s = Seen
  w = Write
  i = Insert
  p = Post
  k = Create
  x = Delete
  t = Delete Message
  e = Expunge
  c = 
  d = 
  a = admin
 
  in the cyrus Documentation the acl
  c = The user may create new sub-mailboxes of the mailbox, or delete or 
  rename the current mailbox
  d = The user may store the Deleted flag, and perform expunges.
 
  know is t and d the same ?
  and c is  k ?
 
  i'm confused

c and d were not specific enough, so they got split up:

d == xt
c == ki

pretty much.

Bron



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: acl

2011-04-08 Thread Bron Gondwana
On Fri, Apr 08, 2011 at 08:21:33PM +0200, Bron Gondwana wrote:
 On Fri, Apr 08, 2011 at 06:17:37PM +0200, rosenber...@taoweb.at wrote:
   But back to the question
   I read out the acl from a mailbox
   lrswipkxtecda
   man cyradm
   l = Look
   r = Read
   s = Seen
   w = Write
   i = Insert
   p = Post
   k = Create
   x = Delete
   t = Delete Message
   e = Expunge
   c = 
   d = 
   a = admin
  
   in the cyrus Documentation the acl
   c = The user may create new sub-mailboxes of the mailbox, or delete or 
   rename the current mailbox
   d = The user may store the Deleted flag, and perform expunges.
  
   know is t and d the same ?
   and c is  k ?
  
   i'm confused
 
 c and d were not specific enough, so they got split up:
 
 d == xt
 c == ki
 
 pretty much.

Replying to myself - here's some more information:

http://tools.ietf.org/html/rfc4314#section-2.1.1

Explaining how the rights work in either direction...

Bron.

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Cyrus 2.4.8alpha1 Released

2011-04-08 Thread Bron Gondwana
We are pleased to announce the release of Cyrus IMAPd 2.4.8beta1

You can download it from the snapshots directory:

http://www.cyrusimap.org/releases/snapshots/cyrus-imapd-2.4.8beta1.tar.gz

This is an beta release in the 2.4.x series.  It fixes some bugs that were
introduced with 2.4.8alpha1, and also some bugs that managed to be released
in 2.4.7, or even earlier.

One new piece of behaviour, files called '0.' now get appended rather than
thrown away during reconstruct.

Please send any feedback to the cyrus-devel mailing list.  I'm hoping to have
a stable 2.4.8 out soon.

Regards,

Bron.

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/