XFER problems with 2.4.6

2011-02-11 Thread karavelov
Hello
This week I have installed a second server with Cyrus 2.4.6 (from 
git.debian.org package) and I have found some unexpected behavior - I could 
move users from old installations (2.3.16) to the new servers but I could not 
move users between 2.4.6 servers. Here is an example session:

stor1.internal> info user/0...@.xx
{user/0...@.xx}:
  duplicatedeliver: false
  lastpop:  
  lastupdate: 11-Feb-2011 11:32:26 +0200
  partition: default
  pop3newuidl: true
  sharedseen: false
  size: 96470220
stor1.internal> xfer user/0...@.xx stor5 default
xfermailbox: The remote Server(s) denied the operation
stor1.internal> quit

the log file on the source server has this entry:
Feb 11 14:40:44 stor1 cyrus/imap[16158]: Could not set remote acl on 
mail.bg!user.0666.pay

the log file on the destination server has this:
Feb 11 14:41:09 stor5 cyrus/imap[11569]: login: [10.0.0.130] murder PLAIN User 
logged in
Feb 11 14:41:10 stor5 cyrus/imap[11569]: LOSTQUOTA: unable to record add of 
256951 bytes in quota .xx!user.000
Feb 11 14:41:10 stor5 cyrus/imap[11569]: LOSTQUOTA: unable to record quota file 
.xx!user.000
Feb 11 13:23:47 stor5 cyrus/imap[11445]: Deleted mailbox ^xx!user^000^pay
Feb 11 14:41:10 stor5 cyrus/imap[11569]: Deleted mailbox ^xx!user^000^Sent
Feb 11 14:41:10 stor5 cyrus/imap[11569]: Deleted mailbox ^xx!user^000^SPAM
Feb 11 14:41:10 stor5 cyrus/imap[11569]: Deleted mailbox 
^xx!user^000^Facebook
Feb 11 14:41:10 stor5 cyrus/imap[11569]: Deleted mailbox ^xx!user^000^Drafts
Feb 11 14:41:10 stor5 cyrus/imap[11569]: Deleted mailbox ^xx!user^000^D^V^
Feb 11 14:41:10 stor5 cyrus/imap[11569]: Deleted mailbox ^xx!user^000
Feb 11 14:41:10 stor5 cyrus/imap[11569]: USAGE murder user: 0.00 sys: 
0.05


I do not know if this is a bug or misconfiguration (it's the same with the old 
servers) so I have attached the config file.

Thanks in advance for any suggestions

luben

-- 
"Perhaps, there is no greater love than that of a
revolutionary couple where each of the two lovers is
ready to abandon the other at any moment if revolution
demands it."
Zizek

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

RE: XFER problems with 2.4.6

2011-02-11 Thread karavelov

Ops,
Attaching the config file I missed in the previous messageidlemethod: idled
foolstupidclients: yes
duplicatesuppression: no
configdirectory: /var/lib/cyrus
defaultpartition: default
partition-default: /var/spool/cyrus/mail

allowusermoves: yes
altnamespace: no
unixhierarchysep: yes
munge8bit: no
lmtp_downcase_rcpt: yes

admins: cyrus murder
lmtp_admins: murder service_tester
allowanonymouslogin: no
popminpoll: 0

autocreatequota: 3000
umask: 077

sendmail: /usr/sbin/sendmail

sieveusehomedir: false
sievedir: /var/spool/sieve

mailnotifier: external
notify_external: /home/mm/imap-utils/cyrus-notification-args.php

hashimapspool: true

allowplaintext: yes
sasl_mech_list: PLAIN
allowapop: no
sasl_minimum_layer: 0
sasl_maximum_layer: 256
virtdomains: userid
sasl_pwcheck_method: auxprop saslauthd
sasl_auto_transition: no

quotawarn: 95
timeout: 480

proxyservers: murder
proxy_authname: murder
stor1_password: ***
stor2_password: ***
stor3_password: ***
stor4_password: ***
stor5_password: ***
stor6_password: ***

lmtpsocket: /var/run/cyrus/socket/lmtp
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

RE: XFER problems with 2.4.6

2011-02-15 Thread karavelov



- Цитат от karave...@mail.bg, на 11.02.2011 в 15:14 -  
Hello 
This week I have installed a second server with Cyrus 2.4.6 (from
git.debian.org package) and I have found some unexpected behavior - I could
move users from old installations (2.3.16) to the new servers but I could
not move users between 2.4.6 servers. Here is an example session: 


stor1.internal> info user/0...@.xx 
{user/0...@.xx}: 
 duplicatedeliver: false 
 lastpop: 
 lastupdate: 11-Feb-2011 11:32:26 +0200 
 partition: default 
 pop3newuidl: true 
 sharedseen: false 
 size: 96470220 
stor1.internal> xfer user/0...@.xx stor5 default 
xfermailbox: The remote Server(s) denied the operation 
stor1.internal> quit 


the log file on the source server has this entry: 
Feb 11 14:40:44 stor1 cyrus/imap[16158]: Could not set remote acl on
mail.bg!user.0666.pay 


the log file on the destination server has this: 
Feb 11 14:41:09 stor5 cyrus/imap[11569]: login: [10.0.0.130] murder PLAIN
User logged in 
Feb 11 14:41:10 stor5 cyrus/imap[11569]: LOSTQUOTA: unable to record add of
256951 bytes in quota .xx!user.000 
Feb 11 14:41:10 stor5 cyrus/imap[11569]: LOSTQUOTA: unable to record quota
file .xx!user.000 
Feb 11 13:23:47 stor5 cyrus/imap[11445]: Deleted mailbox
^xx!user^000^pay 
Feb 11 14:41:10 stor5 cyrus/imap[11569]: Deleted mailbox
^xx!user^000^Sent 
Feb 11 14:41:10 stor5 cyrus/imap[11569]: Deleted mailbox
^xx!user^000^SPAM 
Feb 11 14:41:10 stor5 cyrus/imap[11569]: Deleted mailbox
^xx!user^000^Facebook 
Feb 11 14:41:10 stor5 cyrus/imap[11569]: Deleted mailbox
^xx!user^000^Drafts 
Feb 11 14:41:10 stor5 cyrus/imap[11569]: Deleted mailbox
^xx!user^000^D^V^ 
Feb 11 14:41:10 stor5 cyrus/imap[11569]: Deleted mailbox ^xx!user^000 
Feb 11 14:41:10 stor5 cyrus/imap[11569]: USAGE murder user: 0.00 sys:
0.05 


I do not know if this is a bug or misconfiguration (it's the same with the
old servers) so I have attached the config file. 


Thanks in advance for any suggestions 


luben 


Is this a bug or some fault from my side (system ot cyrus-imapd
misconfiguration)? Whan can I do in order to debug the problem? 


Thanks in advance for any help 


luben 


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

Re: XFER problems with 2.4.6

2011-02-15 Thread karavelov



- Цитат от Simon Amor (simon.a...@daily.co.uk), на 15.02.2011
в 17:26 -   On 15 Feb 2011, at 13:42, karave...@mail.bg wrote:


Feb 11 14:41:10 stor5 cyrus/imap[11569]: LOSTQUOTA: unable to record 
quota file .xx!user.000
Feb 11 13:23:47 stor5 cyrus/imap[11445]: Deleted mailbox ^xx! 
user^000^pay   


This looks similar to when I tried to migrate a mailbox from 2.4.6 
back to 2.3.12, there were some weird log entries that had mismatched 
'.' vs '^' substitutions. unixhierarchysep is set to on for both 
servers.   


Yes the same problem occurs for me if I try to move users from 2.4.6 back
to 2.3.16 server, but I decided that there was some compatibility problem
between versions. 


luben
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: XFER problems with 2.4.6

2011-02-15 Thread karavelov



- Цитат от Simon Amor (simon.a...@daily.co.uk), на 15.02.2011
в 17:26 -   
In your example, it says .xx!user.000 for the quota, but then 
deleting ^xx!user^000 - this is the same thing that I had. After 
the XFER failed, dumping the mailboxes.db on the mupdate server 
revealed that there were duplicated mailboxes - one in each format.


The mailbox in question was xx...@.co.uk (masked of course)


cyrus@mupdate $ /usr/lib/cyrus-imapd/cyr_dbtool /var/lib/imap/ 
mailboxes.db skiplist show


^co^uk!user^xx^yy
^co^uk!user^xx^yy^Sent
^co^uk!user^xx^yy^Trash


.co.uk!user.xx^yy
.co.uk!user.xx^yy.Sent
.co.uk!user.xx^yy.Trash


I have looked in the mailbox dbs on the source and destination server but
here is no mismatch. It is not murder setup, so no mupdate server/db. We
have setup standalone IMAP stores with a nginx in front of them to redirect
the clients to the IMAP store where its mailbox resides. 


Thanks for the suggestions  


--
"Perhaps, there is no greater love than that of a
 revolutionary couple where each of the two lovers is
 ready to abandon the other at any moment if revolution
 demands it."
 Zizek
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: ZFS doing insane I/O reads

2012-02-28 Thread karavelov
- Цитат от Ram (r...@netcore.co.in), на 28.02.2012 в 08:13 -
> 
> This is a 16GB Ram server running Linux Centos 5.5 64 bit.
> There seems to be something definitely wrong .. because all the memory 
> on the machine is free.
> (I dont seem to have fsstat on my server ..  I will have to get it 
> compiled )
> 
> 
> Do I need to configure zfs to use some memory chunk and thrash the 
> Drives less
> 
> 
> Thanks
> Ram
> 
> 

Some test I have made 3-4 months ago showed that ZFS on linux is not 
ready for prime time yet. We went with ZFS on FreeBSD 9.0 and we are 
quite happy with the results.


--
Luben Karavelov
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/