Re: SQUATTER script and non English folders

2005-10-28 Thread David Carter

On Thu, 27 Oct 2005, [EMAIL PROTECTED] wrote:


Since you've looked at the code, what about: squatter -r 'user.a*'


That will look for mailboxes matching user.a*.* which would match 
user.abc123.foo2 but not user.abc123.


The code just adds .* to the end of any string that you give it, hence 
the slightly odd wording in the manual page:


 -r: Recursively create indexes for all submailboxes of the mailboxes
 or mailbox prefixes given as arguments.

I'm worried that if I try to squat the entire server every night, the 
I/O from that combined with backups will mean that the squatting never 
finishes in time for active business hours.


I had the same concern. I made a small change to my Cyrus install so that 
it only squats a fraction of the mailboxes each night using some simple 
modulo arithmetic (e.g: squatter -m0 -M5 squats 1/5th of the mailboxes).


--
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.

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: SQUATTER script and non English folders

2005-10-28 Thread David Carter

On Fri, 28 Oct 2005, [EMAIL PROTECTED] wrote:


Interesting, when I use webinterface (IMP or Squirremail) after I've finished 
to run squatter I got this message:
imap[15835]: SQUAT returned 45 messages

But after a while, when I got new messages in this account, I've got 
this message: imap[16924]: SQUAT returned 46 messages


squat is just a first approximation to narrow down the search. After imapd 
gets a list of messages from squat it has to search the messages to find 
out which ones are genuine matches. Any messages appearing after the squat 
index was generated are automatically included as potential matches:


imap/search_engines.c:

  /* Add in any unindexed messages. They must be searched manually. */
  for (i = 0; i  vlen; i++) {
msg_vector[i] |= unindexed_vector[i];
  }

Does it mean that cyrus.squat file has been updated automatically, even 
before I've run squatter -r user again? If so, why should I run 
squatter -r user on regular basis?


The squat indexes are just a snapshot of the state of a given mailbox. As 
that mailbox changes imapd will have to work harder to search messages not 
covered by the index.


--
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.

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


timsieved sasl missing

2005-10-28 Thread Andrew Morgan


I've been trying to setup timsieved on my test cyrus box (v2.2.12), but I 
seem to be missing something, probably obvious.


I have a working installation of cyrus with imap, imaps, and lmtp.  I use 
saslauthd.  I added a stanza for timsieved in cyrus.conf, and I can 
successfully telnet to the sieve port.  sivtest returns the following:


-
[EMAIL PROTECTED] config]# sivtest -a cyrus localhost
S: IMPLEMENTATION Cyrus timsieved v2.2.12
S: SIEVE fileinto reject envelope vacation imapflags notify subaddress 
relational comparator-i;ascii-numeric regex

S: STARTTLS
S: OK
Authentication failed. generic failure
Security strength factor: 0
-

It never asks me for a password, and I appear to be missing a SASL 
capabilities line following the IMPLEMENTATION line.  I don't know why 
sieve isn't detecting my sasl settings from imapd.conf.  Here are my sasl 
settings:


sasl_mech_list: PLAIN
sasl_minimum_layer: 0
sasl_pwcheck_method: saslauthd
sasl_auto_transition: 0

I can post my complete imapd.conf file if that would help.  Does anyone 
have any ideas?


Thanks,
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: timsieved sasl missing

2005-10-28 Thread Craig White
On Fri, 2005-10-28 at 15:02 -0700, Andrew Morgan wrote:
 I've been trying to setup timsieved on my test cyrus box (v2.2.12), but I 
 seem to be missing something, probably obvious.
 
 I have a working installation of cyrus with imap, imaps, and lmtp.  I use 
 saslauthd.  I added a stanza for timsieved in cyrus.conf, and I can 
 successfully telnet to the sieve port.  sivtest returns the following:
 
 -
 [EMAIL PROTECTED] config]# sivtest -a cyrus localhost
 S: IMPLEMENTATION Cyrus timsieved v2.2.12
 S: SIEVE fileinto reject envelope vacation imapflags notify subaddress 
 relational comparator-i;ascii-numeric regex
 S: STARTTLS
 S: OK
 Authentication failed. generic failure
 Security strength factor: 0
 -
 
 It never asks me for a password, and I appear to be missing a SASL 
 capabilities line following the IMPLEMENTATION line.  I don't know why 
 sieve isn't detecting my sasl settings from imapd.conf.  Here are my sasl 
 settings:
 
 sasl_mech_list: PLAIN
 sasl_minimum_layer: 0
 sasl_pwcheck_method: saslauthd
 sasl_auto_transition: 0
 
 I can post my complete imapd.conf file if that would help.  Does anyone 
 have any ideas?

I can never get sieve/sieveshell to work for the user cyrus but the
other users, no problemo.

Inasmuch as you are way far more knowledgeable about all things cyrus, I
am timid to offer the advice but that's been my experience.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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: timsieved sasl missing

2005-10-28 Thread Andrew Morgan



On Fri, 28 Oct 2005, Craig White wrote:


On Fri, 2005-10-28 at 15:02 -0700, Andrew Morgan wrote:

I've been trying to setup timsieved on my test cyrus box (v2.2.12), but I
seem to be missing something, probably obvious.

I have a working installation of cyrus with imap, imaps, and lmtp.  I use
saslauthd.  I added a stanza for timsieved in cyrus.conf, and I can
successfully telnet to the sieve port.  sivtest returns the following:

-
[EMAIL PROTECTED] config]# sivtest -a cyrus localhost
S: IMPLEMENTATION Cyrus timsieved v2.2.12
S: SIEVE fileinto reject envelope vacation imapflags notify subaddress
relational comparator-i;ascii-numeric regex
S: STARTTLS
S: OK
Authentication failed. generic failure
Security strength factor: 0
-

It never asks me for a password, and I appear to be missing a SASL
capabilities line following the IMPLEMENTATION line.  I don't know why
sieve isn't detecting my sasl settings from imapd.conf.  Here are my sasl
settings:

sasl_mech_list: PLAIN
sasl_minimum_layer: 0
sasl_pwcheck_method: saslauthd
sasl_auto_transition: 0

I can post my complete imapd.conf file if that would help.  Does anyone
have any ideas?


I can never get sieve/sieveshell to work for the user cyrus but the
other users, no problemo.

Inasmuch as you are way far more knowledgeable about all things cyrus, I
am timid to offer the advice but that's been my experience.


Just for reference, it doesn't matter which user I specify.  I just used 
cyrus in the example I pasted.  :)


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