Re: IMAP rfc : FETCH and ALL

2004-11-10 Thread Ken Murchison
<:::.. Teresa_II ..:::> wrote:
Hi,
i tryed new evolution mail client from cvs with new imap4rev1 plugin and
found some strange thing on fetching messages from INBOX on server.
Do Cyrus support ALL, and probably FAST macro in FETCH command as it is
described in RFC-3501 ?
Yes.

Bug described here was posted to Evolution Bugzilla too:
http://bugzilla.ximian.com/show_bug.cgi?id=69341
This is most likely a bug in Evolution as I just stated in bugzilla.
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
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


IMAP rfc : FETCH and ALL

2004-11-10 Thread <:::.. Teresa_II ..:::>
Hi,

i tryed new evolution mail client from cvs with new imap4rev1 plugin and
found some strange thing on fetching messages from INBOX on server.

Do Cyrus support ALL, and probably FAST macro in FETCH command as it is
described in RFC-3501 ?

Bug described here was posted to Evolution Bugzilla too:
http://bugzilla.ximian.com/show_bug.cgi?id=69341

thanks for any answer.

-- 
Teresa Kalitowska

---
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 + LDAP Suggestions/Help

2004-11-10 Thread Andrew Morgan
On Tue, 9 Nov 2004, Michael Nguyen wrote:
'Course, every message IS stored in a plain text file, and folder
indexes are easy to rebuild using the reconstruct tool if you need to
manually fiddle with a mailbox. Though doing this is NOT "officially
recommended," I've never had a problem doing it.
Our current setup is mbox as well and it works fine for us.  This part
wouldn't be the issue with Cyrus.  The issue is being able to easily specify
where the mail goes.  We have about 45,000 users and we're growing at a
brisk pace.  Currently we use a commercial SMTP/IMAP/POP3 daemon, but we're
looking towards the future and unfortunately what we have is not it.  It's a
somewhat common request for a customer to want to change their username or
common that we'll want to migrate a user to a different server.  Doing these
tasks is very simple in our commercial solution and also using some of the
other IMAP packages we're looking at.
We use some simple perl scripts to "rename" a user in Cyrus:
http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/CopyMailbox
Then we just delete the old mailbox.  The other step is changing the 
username in LDAP as well, obviously.

We have about 35,000 users right now, and while we discourage frivolous 
changes to usernames, we do allow changes for obscene usernames (happens!) 
and legal name changes.  I wouldn't call username changes "common" here, 
but we do at least one a week.

Andy
---
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: Can cyrus use a "-" the same as a "+" in username?

2004-11-10 Thread Andrzej Adam Filip
Ken Murchison wrote:
Derrick J Brashear wrote:
On Tue, 9 Nov 2004, Dan Delaney wrote:
Can cyrus be configured so that "[EMAIL PROTECTED]" works the same as 
"[EMAIL PROTECTED]"?  Not use the - INSTEAD of +, but rather, use either.
+ as a detail separator is typically done in the config file for your 
mta and not in anything cyrus-specific. so it's (typically) a question 
of how to tweak config files for your particular mta. the sendmail 
macros we use have a class in which possible detail separator 
characters are listed (and i think we use # and + for historical reasons)
But lmtpd is hard-coded to split user and mailbox on '+'.
It is possible to make sendmail replace '-' in user part of recipient address 
by '+' using regex (regular expression) map.

--
Andrzej [en:Andrew] Adam Filip [EMAIL PROTECTED] [EMAIL PROTECTED]
Home Page http://anfi.homeunix.net/ [ PageRank 6 ]
---
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: Can cyrus use a "-" the same as a "+" in username?

2004-11-10 Thread Derrick J Brashear
On Wed, 10 Nov 2004, Cyrus Daboo wrote:
What about SIEVE - the subaddress extension is also hard-coded to use '+', 
right?
well, the rfc doesn't specify it must be, and provides an example with a 
#, so one would assume you either need an option to permute it there also, 
or to rewrite it to what sieve expects before passing it in.

in particular there is no justification for the code to assume it *must 
be* a +.

---
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


resutl from quota() funciton in Cyrus:imap:admin is different to cyradm.

2004-11-10 Thread sam wun
Hi,
I don't know how to  use the quota() function from the Cyrus::imap:admin 
module.
The result returned from the quota() function  is different from running 
lq command in cyradm.
Please see below for illustration.

In cyradm:
> lq user/[EMAIL PROTECTED]
STORAGE 0/512000 (0%)
Cyrus::IMAP:Admin:
my %quota;
 my $e;
 my $r;
 my $mailbox = 'user/[EMAIL PROTECTED]';
 ($e, %quota, $r) = $cyrus->quota($mailbox);
 print "E: ".$e."\n";
 print "%quota: ".%quota."\n";
E: STORAGE
%quota: 1/8
I total feel confused with this value from the quota() function. What is  1/8 
stands for? how come it's not 0/512000 ?
Thanks
Sam
---
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


(dead)locking ...

2004-11-10 Thread Jure Pe_ar

Hi all,

Today I've expirienced for the first time on our production server the
locking issue mentioned on this mailing list.

I found about 25 problematic mailboxes, all belonging to users matching the
user/sta* pattern. Even reconstruct would hang on these, waiting for the
stat() of cyrus.header.

Without touching anything, I just restarted cyrus. But the problem came back
after a couple of hours, so I went into a little lock hunt, reconstructing
problematic mailboxes immediately after fuser -k on their cyrus.header.

Half an hour after that the situation seems normal.


Is this problem on just user/sta* mailboxes a coincidence? Or can it point
to something with one of the databases?


-- 

Jure Pečar
http://jure.pecar.org/

---
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


shared folders between domains

2004-11-10 Thread Alexandru N. Barloiu
I was wondering is it posible in to share a folder between domains. I've
read in the docs that this option is not available, so now I am
wondering if it is planned to available any time soon or at all. Patches
or hacks would also be ok :)

-- 
Alexandru N. Barloiu <[EMAIL PROTECTED]>
Dale Systems

---
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