Re: Problems with :matches in sieve-script

2006-01-25 Thread Markus Rebensburg
Ken Murchison schrieb:
 Markus Rebensburg wrote:
 Hello,

 I have a problem with the following sieve-script, running on cyrus
 2.1.12:

 I want to match against a header containing '*', e.g.:  Subject:
 Bla*.  RFC 3028 tells me to escape the '*' using two backslashes, so I
 used the following sieve-script:

   require [fileinto];
   if header :matches subject Bla\\* { fileinto test; }

 Unfortunately it doesn't work, so did I miss something or is it a bug?

 It might be a bug, but if you don't need '*' for globbing, why not
 just use:

 :contains subject Bla*

I will use :regex for now because I don't want to search a substring in
the subject but something like '^Bla\\*.*' in regex to scan for  Bla*
Bla, 'Bla* Blubb' etc. (not for real, it's just an example :-) ). But it
seems to be a bug indeed.

Markus

-- 
Markus Rebensburg   |Email: [EMAIL PROTECTED]
Rechenzentrum Uni Kiel  |Tel.:  (++49)-431-880-3582
D-24098 Kiel - Germany  |Fax:   (++49)-431-880-1523 


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


Re: Cyrus imapd : ACL of a subdirectory

2006-01-25 Thread Benoit Guguin
Le Mardi 24 Janvier 2006 21:09, Huaqing Zheng a écrit :
 On 1/24/06, Benoit Guguin [EMAIL PROTECTED] wrote:
  Hi,
 
  I use cyrus 2.1 on debian sarge. I'm working with shared imap folders.
 
  So when a user create a sub directory in a shared imap folders, I would
  (want ?) that the sub directory got the same ACL that the parent
  directory ... (multiple user etc...)
 
  Is there any way to force this  ?

 That should be the default behavior.  Are you seeing something different?

Thank you for your answer. 

With Thunderbird and Outlook when I move a user sub directory (a directory 
directly under the user acount) in a shared imap folder, the ACL is 
incorrect ...  The sub directory doesn't take the acl of his parent (the 
shared imap folder)...

With Kmail acl are good  ...

So I'd like to force thoses alc on the server side.

Any idea ?

(I hope that I was clear)


 --
 Huaqing Zheng
 Beer and Code Wrangler at Large
 
 Cyrus Home Page: http://asg.web.cmu.edu/cyrus
 Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

-- 
Guguin Benoit
Société Alixen 2 rue Jean Rostand 91 893 Orsay Cedex France
Tel : 01 69 85 24 13, Fax : 01 69 85 24 10

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


cyrus imap viewing user's mails

2006-01-25 Thread Andrzej Kwiatkowski
Hello..

I've got one client who wants to view his employers
e-mails... Is this possible with Cyrus Imapd ?

I've got any idea how to do this ?

Maybe You can help me :-)

thanks in advance
AK

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


Re: Cyrus IMAPd 2.3.1 RPM for RedHat/Fedora Core Released

2006-01-25 Thread Simon Matter
 Simon Matter pravi:
 The rpms are using the mail facility, so you may put mail.* something
 in
 syslog.conf.

 I tried using deliver on RHEL4 now with the autocreate feature and it
 has
 worked fine. What is the exact deliver command line which fails?

 postfix's master.cf:
 cyrus unix  -   n   n   -   -   pipe
   user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m
 ${extension} ${user}

 Okay, 'deliver -l' works fine in my tests on RedHat 7.2 and RHEL4 but
 deliver without '-l' works only on RedHat 7.2 but segfaults on RHEL4. My
 first idea was that it has something to do with the fact that LDAP
 support
 is only included on RHEL4, but a build without LDAP resulted in the same
 segfault.

 Opened a bug report for it, this is really an issue for all those using
 deliver instead of LMTP.
 https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2786

Okay, this patch works and will be in the next rpm.
https://bugzilla.andrew.cmu.edu/attachment.cgi?id=414action=view

Ken, this one is for you.

Simon

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


Re: cyrus imap viewing user's mails

2006-01-25 Thread Joseph Brennan



--On Wednesday, January 25, 2006 11:56 +0100 Andrzej Kwiatkowski 
[EMAIL PROTECTED] wrote:



Hello..

I've got one client who wants to view his employers
e-mails... Is this possible with Cyrus Imapd ?

I've got any idea how to do this ?



Set the ACLs on the mailbox(es) to allow the snooper to read.

Joseph Brennan
Columbia University Information Technology



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


Cyrus + gcc-3.4 + Gentoo PPC64 and sizeof(time_t)

2006-01-25 Thread Stephen L. Ulmer

We've been getting our tails kicked by our Cyrus implementation on
AIX, so we're looking into running Linux on our Power4 hardware. Our
preferred distribution is Gentoo. We are running cyrus-imapd 2.2.12[1].

During our testing, we noticed that every time master forked a daemon,
that our mailboxes.db (skiplist) would be rebuilt.  After much wailing
and gnashing of teeth, we traced this to the fact that
sizeof(time_t)=8. The cyrusdb_skiplist.c:myinit() specifically
writes/reads 4 bytes to/from skipstamp. This of course uses the upper
four bytes -- which are always zero -- thus the continual
reconstruction.  We're working around this by read/writing
sizeof(time_t) bytes for now.

Since Cyrus seems to work on other 64-bit platforms (sparc, amd64, et
cetera). We're thinking that the size of time_t changing is either a
recent thing, like gcc-3.4 or recent glibc, or an error.

Do any Cyrus implementers have an opinion? Do any of the developers
want to comment on a better way to fix this, or possibly other places
we might need to look?

Thanks for your time!


[1] This is a recent upgrade from the 2.1 branch for us, we'll have
some comments about running a mixed 2.{1,2} environment in the next
few weeks. Not worthy of bug reports, since you're not supposed to run
that way, but some funnies.

-- 
Stephen L. Ulmer  [EMAIL PROTECTED]
Senior Systems Programmer http://www.ulmer.org/
Computing and Networking Services   VOX: (352) 392-2061
University of Florida   FAX: (352) 392-9440


pgp0QmASIiBoA.pgp
Description: PGP signature

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

reconstruct for folders after restore to new machine

2006-01-25 Thread Chad A. Prey
I am running cyrus-imap version 2.2.12 and have a question about
reconstruct. In attempting to reconstruct a users mailbox, reconstruct -
rf username successfully finds all the messages in the inbox but does
not find email in any subfolders. It does however list all the
subfolders but they appear to be empty until I get on the file system
and do an ls directly on the folder.

TIA

Chad Prey
-- 


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


Cyrus imapd LDAP connection without saslauthd?

2006-01-25 Thread Patrick T. Tsang



Hello,

I have seen there are some parameters in 
/etc/imapd.conf for LDAP connection.
However I cannot see any for user password 
login.

How can I connect to LDAP server without 
saslauthd?

Regards
Patrick



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