[Dovecot] Panic: file maildir-uidlist.c: line 1242 (maildir_uidlist_records_drop_expunges): assertion failed

2009-12-23 Thread Anton Dollmaier
Hi all, after inserting another sieve-rule, I get the following backtrace on deliver. The mail gets delivered into the Mailbox, but as deliver does not exit with 0, postfix bounces the mail. The additional rule is the same as all others in my .dovecot-sieve: require [fileinto, include];

Re: [Dovecot] Panic: file maildir-uidlist.c: line 1242 (maildir_uidlist_records_drop_expunges): assertion failed

2009-12-23 Thread David Halik
Looks like you're running 1.2.8, the maildir_uidlist_records_drop_expunge crash was fixed in 1.2.9. Upgrading should fix your problem. On 12/23/2009 5:29 AM, Anton Dollmaier wrote: Hi all, after inserting another sieve-rule, I get the following backtrace on deliver. The mail gets

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-23 Thread David Halik
I switched all of our servers to dotlock_use_excl=no last night, but we're still seeing the errors: Dec 23 08:22:04 gehenna17.rutgers.edu dovecot: imap-login: Login: user=user1, method=PLAIN, rip=xxx.xxx.xxx.xxx, lip=xxx.xxx.xxx.xxx, TLS Dec 23 08:36:21 gehenna11.rutgers.edu dovecot:

Re: [Dovecot] Dovecot quota not working

2009-12-23 Thread Timo Sirainen
On Tue, 2009-12-22 at 17:44 -0300, Bruno GuimarĂ£es Sousa wrote: I'm trying to make quota to work in dovecot 1.0.rc15 in a Debian machine. Setting the limit to 1GB and starting to fill up the mailbox and nothing stopped me. It just kept growing and nothing happened. Restarted the service and

Re: [Dovecot] Dovecot Deliver CPU usage

2009-12-23 Thread Timo Sirainen
On Tue, 2009-12-22 at 10:03 +0530, Aravind Divakaran wrote: Strace with ENOSPC 09:57:39.782569 write(10, T5vfloaIeSOsJdT6IXB146wSWLNKqK\n4v..., 28672) = -1 ENOSPC (No space left on device) .. 09:57:40.708162 unlink(/home/vmail/example.com/user1/tmp/1261456056.M913860P17478.node01) = 0

Re: [Dovecot] qpopper to dovecot migration

2009-12-23 Thread Timo Sirainen
On Mon, 2009-12-21 at 09:15 +0100, Jernej Porenta wrote: But if you don't use that feature from qpopper, than X-UIDLs are missing and there is no way to create the same UIDL values. So, I was wondering if anyone else hit that issue and maybe knows how to address it (writing an extension or

Re: [Dovecot] trouble with expire

2009-12-23 Thread Timo Sirainen
On Sat, 2009-12-19 at 09:21 -0800, b...@electricembers.net wrote: we've got the expire plugin configured, and it's properly inserting rows to the db. But something's slightly wrong with runing the actual expire-tool(.sh) job. It seems to want to find the maildirs in a directory inside our

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-23 Thread Timo Sirainen
On Wed, 2009-12-23 at 11:37 -0500, David Halik wrote: Dec 23 11:05:43 gehenna11.rutgers.edu dovecot: IMAP(user1): Maildir /rci/u1/user1/Maildir: Expunged message reappeared, giving a new UID (old uid=1, file=1231949492.M325236P5922V03E80009I01B6DCA5_0.gehenna9.rutgers.edu,S=4398:2,S) The

Re: [Dovecot] virtual plugin: Broken mailbox list

2009-12-23 Thread Timo Sirainen
On Fri, 2009-12-11 at 18:43 +0100, e-frog wrote: I'm testing the latest hg version from the 1.2 series and get the following in dovecot's error log as soon as I try to access the virtual mailbox Dec 11 18:23:07 ubuntu-test dovecot: IMAP(x): virtual index /etc/dovecot/virtual/unseen:

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-23 Thread Brandon Davidson
Timo, On 12/23/09 8:37 AM, David Halik dha...@jla.rutgers.edu wrote: I switched all of our servers to dotlock_use_excl=no last night, but we're still seeing the errors: We too have set dotlock_use_excl = no. I'm not seeing the Stale NFS file handle message any more, but I am still seeing a

Re: [Dovecot] virtual plugin: Broken mailbox list

2009-12-23 Thread e-frog
23.12.2009 19:30, wrote Timo Sirainen: On Fri, 2009-12-11 at 18:43 +0100, e-frog wrote: I'm testing the latest hg version from the 1.2 series and get the following in dovecot's error log as soon as I try to access the virtual mailbox Dec 11 18:23:07 ubuntu-test dovecot: IMAP(x): virtual

[Dovecot] basic understanding of imap in dovecot

2009-12-23 Thread dovecot
I have always used a pop3 daemon, and switching to dovecot has been my introduction to imap. Imap is foreign to me. I am wondering if I am a little off-track here, and would like some clarification. My MTA (exim) delivers email to: /mail/user dovecot, sucks that mail from /mail/user TO

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-23 Thread David Halik
Dec 23 11:05:44 gehenna18.rutgers.edu dovecot: IMAP(user1): Panic: file maildir-uidlist.c: line 403 (maildir_uidlist_records_array_delete): assertion failed: (pos != NULL) This is hopefully fixed by: http://hg.dovecot.org/dovecot-1.2/rev/d00abdaf9df2 Thanks for the help as always. I'm

[Dovecot] Permissions errors while reading messages via IMAP

2009-12-23 Thread Geoff Sweet
Greetings all, I have been trying to setup a new system using Postfix and Dovecot to manage email for a bunch of virtual domains. So far everything is great, and I am now at the point where I am trying to build a webmail interface for the system. I'm using RoundCube for now. The tutorial I

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-23 Thread Timo Sirainen
On Wed, 2009-12-23 at 14:06 -0500, David Halik wrote: Dec 23 11:18:32 gehenna17.rutgers.edu dovecot: IMAP(user2): Panic: file cmd-list.c: line 242 (ns_get_listed_prefix): assertion failed: (match == IMAP_MATCH_YES) Fixed: http://hg.dovecot.org/dovecot-1.2/rev/56dd8c276ed6 signature.asc

Re: [Dovecot] Permissions errors while reading messages via IMAP

2009-12-23 Thread Timo Sirainen
On Wed, 2009-12-23 at 12:18 -0800, Geoff Sweet wrote: Dec 23 12:08:49 mail1 dovecot: IMAP(geoff.sw...@test.com): open(/home/vmail/test.com/geoff.sweet/Maildir/dovecot.index.log) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +r perm:

Re: [Dovecot] Permissions errors while reading messages via IMAP

2009-12-23 Thread Geoff Sweet
Delivery doesn't seem to be the issue. The issue appears to be reading the mail later on. Here is my master.cf line for dovecot: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -d ${recipient} and as you can see,

Re: [Dovecot] Permissions errors while reading messages via IMAP

2009-12-23 Thread Timo Sirainen
On Wed, 2009-12-23 at 13:13 -0800, Geoff Sweet wrote: and as you can see, the files in the delivery location have the correct permissions for being delivered by user vmail: # ls -la total 64 -rw--- 1 vmail vmail 572 Dec 23 11:51 dovecot.index.log What about this: Dec 23 12:08:49

Re: [Dovecot] basic understanding of imap in dovecot

2009-12-23 Thread Timo Sirainen
On Wed, 2009-12-23 at 10:44 -0800, dove...@paz.bz wrote: My MTA (exim) delivers email to: /mail/user dovecot, sucks that mail from /mail/user TO /home/user/mail/filenamesoffolders No, it doesn't suck any email (by default anyway). I suppose my question is, is there a way to have dovecot

Re: [Dovecot] managesieve : unable to authenticate with cram-md5

2009-12-23 Thread Stephan Bosch
Arnaud wrote: Hi, Seem i switch my dovecot authentification to cram-md5 mecanism, i'am unable to authenticate to managesieve login. log: Dec 16 23:50:16 managesieve-login: Info: Disconnected (disconnected while authenticating): method=CRAM-MD5, rip=192.168.0.100, lip=192.168.0.50 All

Re: [Dovecot] Permissions errors while reading messages via IMAP

2009-12-23 Thread Geoff Sweet
Appears to be an SELinux issue. I checked it out with audit2allow and discovered several items that needed tweaking. Here is the result of my te file: # cat DovecotDelivery.te module DovecotDelivery 1.0; require { type sysadm_passwd_t; type postfix_spool_t; type

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-23 Thread David Halik
It looks like this and the previous patch you gave me fixed both panics as intended. I pushed the changes out about five hours ago and haven't seen a single core dump yet! Thanks for such a quick fix Timo, you rock as always. If I see any change in behavior I'll post, but I think that did

[Dovecot] 2.0.beta1/07e688afe81b imap crash

2009-12-23 Thread Pascal Volk
Hi Timo, I've replaced a mdbox, as long Thunderbird was connected. The result is attached. Regards, Pascal -- The trapper recommends today: face1e55.0935...@localdomain.org #0 0x7f0caa42ea18 in mail_namespace_get_vname (ns=0x0, dest=0x145d460, name=0x14bf1f9 INBOX) at

Re: [Dovecot] basic understanding of imap in dovecot

2009-12-23 Thread Jim Pazarena
Timo Sirainen wrote: On Wed, 2009-12-23 at 10:44 -0800, dove...@paz.bz wrote: My MTA (exim) delivers email to: /mail/user dovecot, sucks that mail from /mail/user TO /home/user/mail/filenamesoffolders No, it doesn't suck any email (by default anyway). I suppose my question is, is there a