Re: [Dovecot] sieve script tracing

2011-06-06 Thread Maciej Uhlig
W dniu 2011-06-06 00:56, Stephan Bosch pisze: If you have a sample message, you can use the sieve-test tool for that. You can check the individual steps the interpreter takes while processing the message. Refer to the man page for more info. Thanks. It could be really helpful in case of

Re: [Dovecot] Bug: Fixed a duplicate

2011-06-06 Thread Tom Sommer
On Fri, June 3, 2011 15:00, Timo Sirainen wrote: On Sat, 2011-05-28 at 21:16 +0200, Tom Sommer wrote: I restored a dovecot mailserver today, and when I started the server again, the logs filled up with Fixed a duplicate warnings. This in itself it not a problem, the problem is that it

Re: [Dovecot] sieve script tracing

2011-06-06 Thread Stephan Bosch
Op 5-6-2011 23:16, Jerry schreef: On Sun, 05 Jun 2011 22:48:16 +0200 Maciej Uhligmaciej.uh...@us.edu.pl articulated: {snip} I'd like to know which condition was the actual reason of e-mail discarding. I thought about log message. An actual way to step through the execution of the code is

[Dovecot] Subject: IMAP crash on index

2011-06-06 Thread Ruan Kendall
I'm running Dovecot 1.2.15 as an IMAP server on an up-to-date Debian v6 VM. I've recently upgraded the server from a pretty crusty old Debian v4 installation, though I don't recall exactly which version of Dovecot that would have been running. I guess I could try crawling through the old logs to

Re: [Dovecot] Extra plugins vía extrafield in ldap

2011-06-06 Thread Antonio Perez-Aranda
Umm, it isn't running. If I put plugin imap_quota forced on user_attrs, then IMAP and Dovedm doesn't run correctly. They can load this plugin. Maybe we can do a patch for ldap/config to avoid overwrite all plugins enabled and support to append to enabled? 2011/6/3 Antonio Perez-Aranda

Re: [Dovecot] Subject: IMAP crash on index

2011-06-06 Thread Timo Sirainen
On Mon, 2011-06-06 at 11:09 +0100, Ruan Kendall wrote: Jun 6 10:39:27 xen dovecot: Dovecot v1.2.15 starting up (core dumps disabled) Jun 6 10:39:35 xen dovecot: IMAP(exam...@example.org): Panic: file mail-index-view.c: line 264 (view_lookup_seq_range): assertion failed: (first_uid 0) rm

Re: [Dovecot] Bug: Fixed a duplicate

2011-06-06 Thread Timo Sirainen
On Mon, 2011-06-06 at 11:46 +0200, Tom Sommer wrote: On Fri, June 3, 2011 15:00, Timo Sirainen wrote: On Sat, 2011-05-28 at 21:16 +0200, Tom Sommer wrote: I restored a dovecot mailserver today, and when I started the server again, the logs filled up with Fixed a duplicate warnings.

Re: [Dovecot] restore lost emails

2011-06-06 Thread Timo Sirainen
On Sun, 2011-06-05 at 21:06 -0700, Daminto Lie wrote: Hi, I was wondering if anyone might be able to help me with this. I am running Postfix 2.7.0, Dovecot 1.2.9 and squirrelmail. Every week, I perform a back-up on both Postfix and Dovecot (maildir and conf folders). That's good because

Re: [Dovecot] doveadm problem with mail_plugins in database

2011-06-06 Thread Timo Sirainen
On Mon, 2011-06-06 at 01:27 +0200, Ralf Zimmermann wrote: I use this user_query: .. # doveadm fetch -u rzimmermann hdr savedbefore 3d doveadm(rzimmermann): Error: Can't load plugin imap_acl_plugin: Plugin is intended to be used only by imap binary (we're doveadm) The user_query returns

Re: [Dovecot] file rights for dictionary file

2011-06-06 Thread Timo Sirainen
On Sun, 2011-06-05 at 22:02 +0200, Michael Köhler wrote: I use Debian Squeeze and the sources from Stephan Bosch. A few weeks ago I´ve upgraded from 2.0.11 to 2.0.13 and got an error Well, I haven't done any changes.. May 29 20:01:53 mailserver dovecot: dict: Error: Can't open configuration

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread Timo Sirainen
On Sat, 2011-06-04 at 21:48 +0800, johnw wrote: i want to chroot lmtp with sieve, but have some problem, look like lmtp can not load sieve's lib or something. the error message like this: dovecot: lmtp(12799): Fatal: opendir(/usr/local/lib/dovecot) failed: No such file or directory all

Re: [Dovecot] Outlook2010 + dovecot-1.2.10 - UID FETCH 0 (xxx) Error

2011-06-06 Thread Timo Sirainen
On Sat, 2011-06-04 at 09:51 +0800, Jin FengMing wrote: I have an email account configured as IMAP(dovecot-1.2.10) via outlook 2010. If I'm creating a *new* mailbox folder, for example ttt, and *copying* a mail into *that* mailbox folder, then an error message window will be displayed.

Re: [Dovecot] Outlook2010 + dovecot-1.2.10 - UID FETCH 0 (xxx) Error

2011-06-06 Thread Jin FengMing
On 6/6/2011 22:47, Timo Sirainen wrote: On Sat, 2011-06-04 at 09:51 +0800, Jin FengMing wrote: I have an email account configured as IMAP(dovecot-1.2.10) via outlook 2010. If I'm creating a *new* mailbox folder, for example ttt, and *copying* a mail into *that* mailbox folder, then an error

Re: [Dovecot] Subject: IMAP crash on index

2011-06-06 Thread Ruan Kendall
On 6 June 2011 15:26, Timo Sirainen t...@iki.fi wrote: rm dovecot.index* from this user's maildirs should fix the crash. There's a good chance this has already been fixed in v2.0. Deleteing the index files doesn't seem to help; firing up mutt shows me a message saying that the index is being

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread johnw
On Mon, 06 Jun 2011 17:46:31 +0300, Timo Sirainen wrote: On Sat, 2011-06-04 at 21:48 +0800, johnw wrote: i want to chroot lmtp with sieve, but have some problem, look like lmtp can not load sieve's lib or something. the error message like this: dovecot: lmtp(12799): Fatal:

Re: [Dovecot] Using Dovecot new version 2.0.13 facing issues.

2011-06-06 Thread Timo Sirainen
On Fri, 2011-06-03 at 22:57 +0530, गौरव जोशी wrote: Hi, I have configured POP-IMAP server with dovecot 2.0.13 with mysql support. When I am running load test on the same I face issue on IMAP connections. I get dovecot: imap-login: Error: fd_send(imap, 15) failed: Interrupted system call

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread Timo Sirainen
On Mon, 2011-06-06 at 23:20 +0800, johnw wrote: (lmtp) Couldn't drop privileges: Process is already chrooted, can't un-chroot for this user i already config mail_chroot, should i remove it?(mail_chroot) any how-to document is for lmtp chroot? protocol !lmtp { mail_chroot = /somewhere }

Re: [Dovecot] Subject: IMAP crash on index

2011-06-06 Thread Timo Sirainen
On Mon, 2011-06-06 at 16:17 +0100, Ruan Kendall wrote: On 6 June 2011 15:26, Timo Sirainen t...@iki.fi wrote: rm dovecot.index* from this user's maildirs should fix the crash. There's a good chance this has already been fixed in v2.0. Deleteing the index files doesn't seem to help;

[Dovecot] after upgrade to 2.x, sieve do not create folder

2011-06-06 Thread John Wong
after upgrade to 2.x, sieve do not create folder, which do not exist. i remenber(maybe wrong) 1.2.x sieve plugin will create folder, if it do not exist. the sieve log like this failed to store into mailbox 'dovecot': Mailbox doesn't exist: dovecot can i config sieve automatic create the

Re: [Dovecot] Subject: IMAP crash on index

2011-06-06 Thread Ruan Kendall
Ahh, I'd failed to get rid of the index files in all of the subfolders. My bad. Everything seems to be working fine now. Thanks for your help! On 6 June 2011 16:29, Timo Sirainen t...@iki.fi wrote: On Mon, 2011-06-06 at 16:17 +0100, Ruan Kendall wrote: On 6 June 2011 15:26, Timo Sirainen

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread johnw
On 2011年06月06日 23:28, Timo Sirainen wrote: On Mon, 2011-06-06 at 23:20 +0800, johnw wrote: (lmtp) Couldn't drop privileges: Process is already chrooted, can't un-chroot for this user i already config mail_chroot, should i remove it?(mail_chroot) any how-to document is for lmtp chroot?

Re: [Dovecot] after upgrade to 2.x, sieve do not create folder

2011-06-06 Thread Timo Sirainen
On Mon, 2011-06-06 at 23:08 +0800, John Wong wrote: after upgrade to 2.x, sieve do not create folder, which do not exist. i remenber(maybe wrong) 1.2.x sieve plugin will create folder, if it do not exist. the sieve log like this failed to store into mailbox 'dovecot': Mailbox doesn't

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread Timo Sirainen
On Mon, 2011-06-06 at 23:36 +0800, johnw wrote: On 2011年06月06日 23:28, Timo Sirainen wrote: On Mon, 2011-06-06 at 23:20 +0800, johnw wrote: (lmtp) Couldn't drop privileges: Process is already chrooted, can't un-chroot for this user i already config mail_chroot, should i remove

Re: [Dovecot] after upgrade to 2.x, sieve do not create folder

2011-06-06 Thread Duane Hill
Monday, June 6, 2011, 10:38:34 AM, Timo wrote: On Mon, 2011-06-06 at 23:08 +0800, John Wong wrote: after upgrade to 2.x, sieve do not create folder, which do not exist. i remenber(maybe wrong) 1.2.x sieve plugin will create folder, if it do not exist. the sieve log like this failed to

[Dovecot] Please HELP, TRASH won't work at all

2011-06-06 Thread Ivan Rodrigues
Folks, I'm setting a imap server here to store our mails, no need for quota or anything fancy, we just need trash can to work, when I mark a message to delete, this message to be moved to trash folder. that's all that I need. any thoughts?

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread johnw
On 2011年06月06日 23:39, Timo Sirainen wrote: On Mon, 2011-06-06 at 23:36 +0800, johnw wrote: On 2011年06月06日 23:28, Timo Sirainen wrote: On Mon, 2011-06-06 at 23:20 +0800, johnw wrote: (lmtp) Couldn't drop privileges: Process is already chrooted, can't un-chroot for this user i already config

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread Timo Sirainen
On Tue, 2011-06-07 at 00:02 +0800, johnw wrote: i already config mail_chroot, should i remove it?(mail_chroot) any how-to document is for lmtp chroot? protocol !lmtp { mail_chroot = /somewhere } i added it to 20-lmtp.conf, is it correct? It doesn't matter where you add it, as

Re: [Dovecot] after upgrade to 2.x, sieve do not create folder

2011-06-06 Thread johnw
On 2011年06月06日 23:38, Timo Sirainen wrote: On Mon, 2011-06-06 at 23:08 +0800, John Wong wrote: after upgrade to 2.x, sieve do not create folder, which do not exist. i remenber(maybe wrong) 1.2.x sieve plugin will create folder, if it do not exist. the sieve log like this failed to store into

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread johnw
On 2011年06月07日 00:09, Timo Sirainen wrote: On Tue, 2011-06-07 at 00:02 +0800, johnw wrote: i already config mail_chroot, should i remove it?(mail_chroot) any how-to document is for lmtp chroot? protocol !lmtp { mail_chroot = /somewhere } i added it to 20-lmtp.conf, is it correct? It

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread Timo Sirainen
On 6.6.2011, at 19.32, johnw wrote: Is there another mail_chroot setting elsewhere? The important thing is that when you do: doveconf mail_chroot it shows the chroot, but when you do: doveconf -f protocol=lmtp mail_chroot the result should be empty. when i have mail_chroot =

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread johnw
On 2011年06月07日 00:42, Timo Sirainen wrote: On 6.6.2011, at 19.32, johnw wrote: Is there another mail_chroot setting elsewhere? The important thing is that when you do: doveconf mail_chroot it shows the chroot, but when you do: doveconf -f protocol=lmtp mail_chroot the result should be

Re: [Dovecot] Please HELP, TRASH won't work at all

2011-06-06 Thread Charles Marcus
On 2011-06-06 12:00 PM, Ivan Rodrigues wrote: I'm setting a imap server here to store our mails, no need for quota or anything fancy, we just need trash can to work, when I mark a message to delete, this message to be moved to trash folder. That is the job of the client... and each client does

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread Timo Sirainen
On 6.6.2011, at 19.59, johnw wrote: yes, i did it (put the mail_chroot inside the protocol !lmtp { mail_chroot = /var/vmail/ } and no mail_chroot anywhere. but the both doveconf mail_chroot and doveconf -f protocol=lmtp mail_chroot result is same empty: mail_chroot = Oh, looks like

[Dovecot] Doveadm index!

2011-06-06 Thread Henrique Fernandes
Hello folks, I recent update my dovecot 2.0.6 to the version 2.0.13 cause i wanted to use dovecot index to build fts squat for users! I noticed that there is no log for the fts build action, it does log all actions to the normal index.cache. Timo, could you add some logging please? And also, if

Re: [Dovecot] restore lost emails

2011-06-06 Thread Daminto Lie
From: Timo Sirainen t...@iki.fi To: Daminto Lie dli...@yahoo.com.au Cc: dovecot@dovecot.org Sent: Tue, 7 June, 2011 12:30:17 AM Subject: Re: [Dovecot] restore lost emails On Sun, 2011-06-05 at 21:06 -0700, Daminto Lie wrote: Hi, I was wondering if anyone

Re: [Dovecot] possible bug leading to lmtp crashes

2011-06-06 Thread Trever L. Adams
On 05/19/2011 07:20 AM, Trever L. Adams wrote: May 17 04:01:02 dovecot: auth: Panic: file ../../src/lib/array.h: line 189 (array_idx_i): assertion failed: (idx * array-element_size array-buffer-used) This is usually repeated 2 or more times near a crash. On the machine that doesn't crash,

Re: [Dovecot] restore lost emails

2011-06-06 Thread Oli Schacher
On Mon, 6 Jun 2011 19:29:38 -0700 (PDT) Daminto Lie dli...@yahoo.com.au wrote: OK, but if I want to restore a particular mail from backups, what're the steps involved? What I mean is do I just copy and paste that mail file from backups to the user account maildir folder and what program