cyr_expire (2.3.16) problem

2013-02-13 Thread Frank Elsner
Hello,

from time to time we have this type of problem during the nightly cyr_expire:

Feb 10 04:01:50 mailbackend-4 cyrus-backend/cyr_expire[15569]: IOERROR: 
user.username zero index/expunge record 299/301
Feb 10 04:01:50 mailbackend-4 cyrus-backend/cyr_expire[15569]: failure expiring 
user.username: System I/O error
Feb 11 04:01:48 mailbackend-4 cyrus-backend/cyr_expire[2010]: IOERROR: 
user.username zero index/expunge record 299/301
Feb 11 04:01:48 mailbackend-4 cyrus-backend/cyr_expire[2010]: failure expiring 
user.username: System I/O error
Feb 12 04:02:19 mailbackend-4 cyrus-backend/cyr_expire[27580]: IOERROR: 
user.username zero index/expunge record 299/301
Feb 12 04:02:19 mailbackend-4 cyrus-backend/cyr_expire[27580]: failure expiring 
user.username: System I/O error
Feb 13 04:03:15 mailbackend-4 cyrus-backend/cyr_expire[19753]: IOERROR: 
user.username zero index/expunge record 299/301
Feb 13 04:03:15 mailbackend-4 cyrus-backend/cyr_expire[19753]: failure expiring 
user.username: System I/O error

This leaves cyrus.*.NEW files in the mailbox directory of the user and 
requires a reconstruct.

What's behind? And how can we avoid this problem?


--Frank Elsner

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


HasChildren flag on two mailboxes with similar name

2013-02-13 Thread Tobias Riekeberg
Hi.

I have two users, named joe and joe-doe, each with subfolders 
drafts and sent.

When I do lm user.joe in cyradm I get:

user.joe (\HasChildren)

But when I do lm user.joe* I get:

user.joe (\HasNoChildren)
user.joe-doe (\HasChildren)
user.joe-doe.Drafts (\HasNoChildren)
user.joe-doe.Sent (\HasNoChildren)
user.joe.Drafts (\HasNoChildren)
user.joe.Sent (\HasNoChildren)


So the user.joe has the flag \HasNochildren instead of 
\HasChildren. This happens whenever I have two users of which one's 
name is the first part of the other users name. Result of this seem to 
be, that I cannot access user.joe in Thunderbird.

Is this a known problem?


Regards,
Tobias.


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


Replication and TLS

2013-02-13 Thread Per olof Ljungmark
Hi all,

Could someone please tell how to enforce encryption for replication?

We authenticate users through
allowplaintext: 1
sasl_mech_list: plain
sasl_pwcheck_method: saslauthd

Certificates are installed and SSL/TLS work fine but some of our users
require that allowplaintext: yes is set.

I have looked at the sync traffic and it is definitely not encrypted.

So the question is, what additional steps are required to make
replication use TLS as well without complicating things too much? Sorry
for not being able to figure it out myself...

Imapd 2.4.17 and sasl-2.1.26 and FreeBSD.

//per

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


Re: HasChildren flag on two mailboxes with similar name

2013-02-13 Thread Joseph Brennan


--On February 13, 2013 18:08:56 +0100 Tobias Riekeberg t...@trs-computer.de 
wrote:

 So the user.joe has the flag \HasNochildren instead of
 \HasChildren. This happens whenever I have two users of which one's
 name is the first part of the other users name. Result of this seem to
 be, that I cannot access user.joe in Thunderbird.

 Is this a known problem?


Yes, but it's a Thunderbird problem. We saw one case of it here.

Telnet to the imap port and give the list query, to verify that cyrus gives 
the correct response.


Joseph Brennan
Columbia University Information Technology



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


Re: Need guidelines on how to migrate a Cyrus-Imapd server

2013-02-13 Thread David Carter
On Fri, 1 Feb 2013, Thibault Le Meur wrote:

 I'll go the rsync way then... pity I would have loved to understand what 
 kind of file is to be fed to the sync_client -u -f command, in order 
 to give it a try..

It is just a list of userids, one per line, in a file rather than
specified on the command line.

-- 
David Carter Email: david.car...@ucs.cam.ac.uk
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.

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


Re: HasChildren flag on two mailboxes with similar name

2013-02-13 Thread David Carter
On Wed, 13 Feb 2013, Tobias Riekeberg wrote:

 I have two users, named joe and joe-doe, each with subfolders
 drafts and sent.

 [...]

 So the user.joe has the flag \HasNochildren instead of
 \HasChildren. This happens whenever I have two users of which one's
 name is the first part of the other users name. Result of this seem to
 be, that I cannot access user.joe in Thunderbird.

Do you have improved_mboxlist_sort set?

We hit the same problem a long time back. If I recall correctly the 
problem is the order that '-' and '.' occur with a simple ASCII sort.

('-' is the only commonly used character which sorts before '.').

-- 
David Carter Email: david.car...@ucs.cam.ac.uk
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.

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


Single sign on with NT Login

2013-02-13 Thread Ram
I need to implement NT Login such a way that if a user is logged in to 
the desktop , he is also automatically logged in to the email server ( 
when using outlook / thunderbird etc)
I need to replicate how outlook works with Exchange. The users may use 
windows login from any desktop and he is auto logged in to his own email 
account


Thanks
Ram




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