sieve problem

2008-03-21 Thread Christoph Kaminski
Hi!

Why this rule doesnt work?

IF 'From:' contains '[EMAIL PROTECTED]' AND 'From:' contains 
'[EMAIL PROTECTED]' AND 'From:' contains '[EMAIL PROTECTED]' 
AND 'From:' contains '[EMAIL PROTECTED]' THEN file into 
'INBOX.Informationen.Foren.DVB'

It is created with smartsieve...

other rules works...

Greetz



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: sieve problem

2008-03-21 Thread Joseph Brennan


--On Friday, March 21, 2008 13:12 +0100 Christoph Kaminski [EMAIL PROTECTED] 
wrote:

 Hi!

 Why this rule doesnt work?

 IF 'From:' contains '[EMAIL PROTECTED]' AND 'From:' contains
 '[EMAIL PROTECTED]' AND 'From:' contains '[EMAIL PROTECTED]'
 AND 'From:' contains '[EMAIL PROTECTED]' THEN file into
 'INBOX.Informationen.Foren.DVB'

 It is created with smartsieve...


I've never seen a 'From:' with four addresses in it.  Use OR.

Joseph Brennan
Lead Email Systems Engineer
Columbia University Information Technology


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: Fedora 8 cyrus-imap install w/ cyrus admin cm permission errors (long post)

2008-03-21 Thread Alain Spineux
On Mon, Mar 17, 2008 at 12:50 AM, Flash [EMAIL PROTECTED] wrote:


 Greetings,

 I have two freshly installed Fedora 8 systems exhibiting the same behaviour,
 cyrus admin permission error when creating a mailbox, this may be only
 coincidental because of the operator.

 After several days of research reading and reviewing multiple cyrus
 installation howtos, then IMAP RFC, installing and uninstalling, and
 following threads in discussion forums, I am unable to find the persistant
 cause of the permission error.

You forgot to give us your imap.conf :-)

Depending on your configuration (unixhierachy and virtualdomain) the
good notation for your mailbox could be

user/[EMAIL PROTECTED]
user/roboeb

or (but I have not the use of this format, and I'm not sure)

user.roboeb
yourdomain.com!user.roboeb (realy not sure)



 Please direct me to some debugging method to solve the permission complaint.
 -system information
 - cyrus is admin in imapd.conf
 - user cyrus and group mail have permissions in directories /var/spool/imap
 and /var/lib/imap
 - cyradm and imtest connections are authenticated
 - cyrus authenticates via sasl_sql
 - perl modules are current
 - no error reporting in /var/log within messages, auth.log, or cyrus.log

 Sample imtest session:



 # imtest -u cyrus -a cyrus localhost

 S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN
 AUTH=LOGIN SASL-IR] mysmtp.mydomain.net Cyrus IMAP4
 v2.3.9-Fedora-RPM-2.3.9-7.fc8 server ready

 C: C01 CAPABILITY

 S: * CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN AUTH=LOGIN
 SASL-IR ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS
 NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ
 THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE IDLE
 LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH

 S: C01 OK Completed

 Please enter your password:

 C: A01 AUTHENTICATE PLAIN *SOMESTRING*

 S: A01 OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID LOGINDISABLED ACL
 RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME
 UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT
 THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE IDLE LISTEXT
 LIST-SUBSCRIBED X-NETSCAPE URLAUTH] Success (no protection)

 Authenticated.

 Security strength factor: 0

 . create user.roboeb

 . NO Permission denied

 . logout

 * BYE LOGOUT received

 . OK Completed

 Connection closed.
 -- Directory structures


 ls -ld /var/lib/imap/

 drwxr-x--- 18 cyrus mail 4096 2008-03-16 12:36 /var/lib/imap/

 --

 ls -ld /var/spool/imap/

 drwx-- 4 cyrus mail 4096 2008-03-15 15:50 /var/spool/imap/

 --

 ls -lR /var/spool/imap

 /var/spool/imap:

 total 16

 drwxr-xr-x 2 cyrus mail 4096 2008-03-15 15:50 stage.

 drwxr-xr-x 2 cyrus mail 4096 2008-03-15 15:50 sync.

 /var/spool/imap/stage.:

 total 0

 /var/spool/imap/sync.:

 --

 ls -lR /var/lib/imap

 /var/lib/imap:

 total 160

 -rw--- 1 cyrus mail 144 2008-03-16 06:11 annotations.db

 drwx-- 2 cyrus mail 4096 2007-09-25 02:21 backup

 drwx-- 2 cyrus mail 4096 2008-03-16 12:36 db

 drwx-- 2 cyrus mail 4096 2008-03-16 12:12 db.backup1

 drwx-- 2 cyrus mail 4096 2008-03-16 11:42 db.backup2

 -rw--- 1 cyrus mail 144 2008-03-16 12:36 deliver.db

 drwx-- 2 cyrus mail 4096 2007-09-25 02:21 log

 -rw--- 1 cyrus mail 144 2008-03-16 06:11 mailboxes.db

 drwx-- 2 cyrus mail 4096 2007-09-25 02:21 md5

 drwx-- 2 cyrus mail 4096 2007-09-25 02:21 meta

 drwx-- 2 cyrus mail 4096 2007-09-25 02:21 msg

 drwx-- 2 cyrus mail 4096 2008-03-15 18:04 proc

 drwx-- 2 cyrus mail 4096 2007-09-25 02:21 ptclient

 drwx-- 2 cyrus mail 4096 2007-09-25 02:21 quota

 drwx-- 2 cyrus mail 4096 2008-03-16 12:36 rpm

 drwx-- 2 cyrus mail 4096 2007-09-25 02:21 sieve

 drwxr-x--- 2 cyrus mail 4096 2008-03-16 06:11 socket

 drwx-- 2 cyrus mail 4096 2007-09-25 02:21 sync

 -rw--- 1 cyrus mail 144 2008-03-16 12:36 tls_sessions.db

 drwx-- 2 cyrus mail 4096 2007-09-25 02:21 user

 /var/lib/imap/backup:

 total 0

 /var/lib/imap/db:

 total 8

 -rw--- 1 cyrus mail 4 2008-03-16 06:11 skipstamp

 /var/lib/imap/db.backup1:

 total 10276

 -rw--- 1 cyrus mail 144 2008-03-16 12:12 annotations.db

 -rw--- 1 cyrus mail 10485760 2008-03-16 12:12 log.01

 -rw--- 1 cyrus mail 144 2008-03-16 12:12 mailboxes.db

 /var/lib/imap/db.backup2:

 total 10276

 -rw--- 1 cyrus mail 144 2008-03-16 11:42 annotations.db

 -rw--- 1 cyrus mail 10485760 2008-03-16 11:42 log.01

 -rw--- 1 cyrus mail 144 2008-03-16 11:42 mailboxes.db

 /var/lib/imap/log:

 total 0

 /var/lib/imap/md5:

 total 0

 /var/lib/imap/meta:

 total 0

 /var/lib/imap/msg:

 total 0

 /var/lib/imap/proc:

 total 0

 /var/lib/imap/ptclient:

 total 0

 /var/lib/imap/quota:

 total 0

 /var/lib/imap/rpm:

 

RE: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
If you are using the unix hierarchy seperator, you need to use 
reconstruct -r user/testuser.

Or user/[EMAIL PROTECTED] if you are using virtual domains.  Also make 
sure that the files are chown cyrus:mail (or whatever uid/guid you are 
using).

You can run strace reconstruct ... that will maybe you give an better 
idea what it is trying to do.

Rudy

Spoke too soon I believe: I see reconstruct do some stuff, but the cyrus.*
files are unaffected. Also, a folder I restored is not processed by
reconstruct.

I used this command:

su cyrus -c /usr/lib/cyrus/bin/reconstruct -rfx
user/[EMAIL PROTECTED]


All files have ownership cyrus:mail

Any idea on why he doesn't touch the restored folders? 

Thx!

B.


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: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
If you are using the unix hierarchy seperator, you need to use 
reconstruct -r user/testuser.

Or user/[EMAIL PROTECTED] if you are using virtual domains.  Also make 
sure that the files are chown cyrus:mail (or whatever uid/guid you are 
using).

Rudy,

It was the virtual domain-thing. You're a lifesaver :-)  Sad it isn't
mentioned in the man-page.


Thx again!


B.



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: reconstruct doing nothing

2008-03-21 Thread Alain Spineux
On Fri, Mar 21, 2008 at 3:27 PM, Bart Coninckx [EMAIL PROTECTED] wrote:
 If you are using the unix hierarchy seperator, you need to use
  reconstruct -r user/testuser.

  Or user/[EMAIL PROTECTED] if you are using virtual domains.  Also make
  sure that the files are chown cyrus:mail (or whatever uid/guid you are
  using).

  You can run strace reconstruct ... that will maybe you give an better
  idea what it is trying to do.

  Rudy

  Spoke too soon I believe: I see reconstruct do some stuff, but the cyrus.*
  files are unaffected. Also, a folder I restored is not processed by
  reconstruct.

  I used this command:

  su cyrus -c /usr/lib/cyrus/bin/reconstruct -rfx
  user/[EMAIL PROTECTED]

You used a ^ instead of a . between first and last name !

try

 su cyrus -c /usr/lib/cyrus/bin/reconstruct -rfx
user/[EMAIL PROTECTED]


Regards


  All files have ownership cyrus:mail

  Any idea on why he doesn't touch the restored folders?

  Thx!

  B.



  
  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

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: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
You used a ^ instead of a . between first and last name !

try

 su cyrus -c /usr/lib/cyrus/bin/reconstruct -rfx
user/[EMAIL PROTECTED]


Hi,

I used ^ because that's how user foldernames are displayed. reconstruct
does run through the folderstructure however with 
hiddenfirstname^hiddenlastname, as it does also when I use your command,
but still the restored folders are disregarded. Very odd ...




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: reconstruct doing nothing

2008-03-21 Thread Rudy Gevaert
Bart Coninckx wrote:
 it's normally user/[EMAIL PROTECTED]
 
 Depending on what you are restoring it is advisable to remove all 
 cyrus.* files in the the folders.  And recreating only the cyrus.header 
 file.  (Mind the  permissions.)
 
 Good luck.
 
 (I always spend to much time on reconstruct too.)
 
 Rudy
 
 Rudy,
 
 Any hints on how to recreate cyrus.header?

touch cyrus.header
:)
chown cyrus:mail cyrus.yeader


-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen Systems group
Universiteit Gent  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

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: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
it's normally user/[EMAIL PROTECTED]

Depending on what you are restoring it is advisable to remove all 
cyrus.* files in the the folders.  And recreating only the cyrus.header 
file.  (Mind the  permissions.)

Good luck.

(I always spend to much time on reconstruct too.)

Rudy

Rudy,

Any hints on how to recreate cyrus.header?

Thx!

B.



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


sieve authentication issue (SASL)

2008-03-21 Thread Phil Haigh
Hi,

 

I have a frustrating issue authenticating with sieveshell. This was all
working until yesterday, where an apt-get upgrade on the machine changed a
couple of things - amoung them, I think, the sasl libraries and some perl
stuff.

 

I can still successfully connect to imap using cyradm, and all users can
happily use imap and pop services on the server.

 

Any help would be greatly appreciated! J

 

I can telnet localhost 2000 and see:

 

pluto:/var/log# telnet localhost 2000

Trying 127.0.0.1...

Connected to localhost.

Escape character is '^]'.

IMPLEMENTATION Cyrus timsieved v2.3.11

SASL LOGIN PLAIN

SIEVE comparator-i;ascii-numeric fileinto reject vacation imapflags
notify envelope relational regex subaddress copy

OK

 

Attempting to log in using sieveshell -u phil -u phil locahost gives this
message:

 

sieve[25752]: badlogin: localhost[127.0.0.1] LOGIN generic failure

 

I am using saslauthd started like this:

 

/usr/local/sbin/saslauthd -a shadow

 

My cyrus.conf



sieve cmd=timsieved -C /etc/imapdlocal.conf
listen=127.0.0.1:sieve prefork=0

 

My imapdlocal.conf

 

postmaster: postmaster

configdirectory: /var/imap

partition-default: /var/spool/imap

admins: cyrus

allowanonymouslogin: yes

allowplaintext: yes

sasl_mech_list: PLAIN LOGIN

servername: mail.mercury1.co.uk

autocreatequota: 1

reject8bit: no

quotawarn: 90

timeout: 30

poptimeout: 10

allowapop: 0

dracinterval: 0

drachost: localhost

sasl_pwcheck_method: saslauthd

sievedir: /usr/sieve

sendmail: /usr/sbin/sendmail

sieve_maxscriptsize: 32

sieve_maxscripts: 5

#unixhierarchysep: yes

 

Testsaslauthd returns ok:



pluto:/var/log# testsaslauthd -u phil -p password sieve localhost

0: OK Success.

 

Cheers

 

phil

 


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: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
touch cyrus.header
:)
chown cyrus:mail cyrus.yeader

:-D

Since other cyrus.header files are binary files, this didn't look obvious to
me ...

Just deleted cyrus.*, touched cyrus.header with the correct ownerships and
did /usr/lib/cyrus/bin/reconstruct -rfx user/[EMAIL PROTECTED], but
nothing.

Two steps away from pulling my server out in the rain  :-) 


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: reconstruct doing nothing

2008-03-21 Thread Rudy Gevaert
Bart Coninckx wrote:
 touch cyrus.header
 :)
 chown cyrus:mail cyrus.yeader
 
 :-D
 
 Since other cyrus.header files are binary files, this didn't look obvious to
 me ...
 
 Just deleted cyrus.*, touched cyrus.header with the correct ownerships and
 did /usr/lib/cyrus/bin/reconstruct -rfx user/[EMAIL PROTECTED], but
 nothing.
 
 Two steps away from pulling my server out in the rain  :-) 

What cyrus version?  I'm using 2.3.10.

Also note that it is not because reconstruct tells you a thing it isn't 
doing a thing.

E.g. if the folders are already in the mailboxes.db file then it won't 
tell you a thing.  It should say 'discovered new folder' for new a new 
folder.

Did you already login for that user?

Rudy

-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen Systems group
Universiteit Gent  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

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: reconstruct doing nothing

2008-03-21 Thread Gabor Gombas
On Fri, Mar 21, 2008 at 03:05:22PM +0100, Rudy Gevaert wrote:

  su cyrus “/usr/lib/cyrus/bin/reconstruct –r user.testuser the cyrus.* 
  files are not changed at all! I tried several things like logging in 
  with the cyrus user first and then issuing the command, or using -rfx 
  but nothing seems to work!!

Try the patch at https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=3028

Gabor

-- 
 -
 MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
 -

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: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
What cyrus version?  I'm using 2.3.10.

cyrus-imapd-2.2.3-83.35
Old stuff, but I'm somewhat reluctant to upgrade ... 

Also note that it is not because reconstruct tells you a thing it isn't 
doing a thing.

Obviously  :-) the verboseness of reconstruct is somewhat shortcoming if you
ask me. 

E.g. if the folders are already in the mailboxes.db file then it won't 
tell you a thing.  It should say 'discovered new folder' for new a new 
folder.

It doesn't. The user had previously deleted the folder in his mailclient, so
I guess mailboxes.db was updated to that. 

Did you already login for that user?

In the mailclient? Yes, nothing there. No folders to see. 


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: reconstruct doing nothing

2008-03-21 Thread Tom Myny
Hi Bart,

I think 
su cyrus -c /usr/lib/cyrus/bin/reconstruct -rfx
user/[EMAIL PROTECTED]

Should be su cyrus -c /usr/lib/cyrus/bin/reconstruct -rfx
user/[EMAIL PROTECTED]

Or su cyrus -c /usr/lib/cyrus/bin/reconstruct -rfx
user/[EMAIL PROTECTED]

Regards,
Tom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bart Coninckx
Sent: vrijdag 21 maart 2008 15:28
To: 'Rudy Gevaert'
Cc: info-cyrus@lists.andrew.cmu.edu
Subject: RE: reconstruct doing nothing

If you are using the unix hierarchy seperator, you need to use 
reconstruct -r user/testuser.

Or user/[EMAIL PROTECTED] if you are using virtual domains.  Also make 
sure that the files are chown cyrus:mail (or whatever uid/guid you are 
using).

You can run strace reconstruct ... that will maybe you give an better 
idea what it is trying to do.

Rudy

Spoke too soon I believe: I see reconstruct do some stuff, but the cyrus.*
files are unaffected. Also, a folder I restored is not processed by
reconstruct.

I used this command:

su cyrus -c /usr/lib/cyrus/bin/reconstruct -rfx
user/[EMAIL PROTECTED]


All files have ownership cyrus:mail

Any idea on why he doesn't touch the restored folders? 

Thx!

B.


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


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: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
What cyrus version?  I'm using 2.3.10.

Also note that it is not because reconstruct tells you a thing it isn't 
doing a thing.

E.g. if the folders are already in the mailboxes.db file then it won't 
tell you a thing.  It should say 'discovered new folder' for new a new 
folder.

Did you already login for that user?

All,

I'm now trying 

su - cyrus -c /usr/lib/cyrus/bin/reconstruct -m

since it seems this forces cyrus to look for new folders, but I get this:

reconstructing mailboxes.db currently not supported


Does that mean that my cyrus installation is too old
(cyrus-imapd-2.2.3-83.35)?


Thx,

B.


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: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
Try the patch at https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=3028

Gabor


Gabor, is this patch relevant when I do get a result onscreen from
reconstruct?

Bart


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: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
Hi Bart,

I think 
su cyrus -c /usr/lib/cyrus/bin/reconstruct -rfx
user/[EMAIL PROTECTED]

Should be su cyrus -c /usr/lib/cyrus/bin/reconstruct -rfx
user/[EMAIL PROTECTED]

Or su cyrus -c /usr/lib/cyrus/bin/reconstruct -rfx
user/[EMAIL PROTECTED]

Regards,
Tom


Tom,

All result into the same: reconstruct seems to do stuff, but doesn not add
the restored folder. 


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: reconstruct doing nothing

2008-03-21 Thread Gabor Gombas
On Fri, Mar 21, 2008 at 04:57:18PM +0100, Bart Coninckx wrote:

 Gabor, is this patch relevant when I do get a result onscreen from
 reconstruct?

Without the patch, reconstruct -r processes only the exact mailbox
given on the command line but does not descend into subfolders, like
when the -r switch was not given at all. At least that's the case with
my configuration.

Gabor

-- 
 -
 MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
 -

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: reconstruct doing nothing

2008-03-21 Thread Rudy Gevaert
Gabor Gombas wrote:
 On Fri, Mar 21, 2008 at 04:57:18PM +0100, Bart Coninckx wrote:
 
 Gabor, is this patch relevant when I do get a result onscreen from
 reconstruct?
 
 Without the patch, reconstruct -r processes only the exact mailbox
 given on the command line but does not descend into subfolders, like
 when the -r switch was not given at all. At least that's the case with
 my configuration.

Some time ago I noticed the same, but some time after that it did 
recurse.  Anyway, doing reconstruct -rfx user/first.lastname/[EMAIL PROTECTED]
reconstructs the sub folders too.

Rudy




-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen Systems group
Universiteit Gent  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

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


sizing cyrus installation and current performance improvements?

2008-03-21 Thread mahecha


I've noticed that sometimes I get some error like imap server not
reponding...

I now things are woking ok if you wait a
few seconds and try to repeat the action, then it is executed with no
error...

I run sendmail and cyrus in the same box (dell 2850,
8GB of ram, 2 dual core xeon @ 2GHz) with 1TB of space; mailstore is in
xfs, on centos 4.4 64bit).


I have about 30k accounts, 19k
getting emails and about 4k loging in regular basis... 

I
was wondering if there is anything I can do to improve performance in
cyrus... maybe more forks, increase ram start thinking about migrating
to gmail ;-)  ?

I know this might off topic/group, but if
there is anyone out there that knows the answers for the same questions
but for sendmail?

Thanks for your help, guys

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