Re: [Dovecot] Problem with expunge

2010-12-17 Thread Jeff Mitchell
On Dec 17, 2010 7:20 PM, "Timo Sirainen" wrote: > > On 17.12.2010, at 21.15, Jeff Mitchell wrote: > > > However, today I was testing converting some maildirs over to sdbox, > > and noticed odd behavior: it's deleting all messages in the specified > > folder instead of just the ones matching the co

Re: [Dovecot] Authentication issue.

2010-12-17 Thread dmitri tchernov
On Fri, Dec 17, 2010 at 7:57 PM, Pascal Volk < user+dove...@localhost.localdomain.org > wrote: > On 12/17/2010 07:27 PM dmitri tchernov wrote: > > > > # /usr/bin/doveconf userdb > > userdb { > > args = /mnt/dovecot/userlist.passwd > > driver = passwd-file > > } > > > > Well spotted, an UTF-8 c

Re: [Dovecot] Namespace subscription issue

2010-12-17 Thread Eric N. Jones
The same issue appears to exist with the shipping version of Dovecot on Mac OS X Server 10.6+. I have shared namespaces that cause this same issue (and your subsequent issues with roundcube). -- Eric N. Jones Sr. Engineer TransWare Enterprises Inc.

Re: [Dovecot] Problem with expunge

2010-12-17 Thread Timo Sirainen
On 17.12.2010, at 21.15, Jeff Mitchell wrote: > However, today I was testing converting some maildirs over to sdbox, > and noticed odd behavior: it's deleting all messages in the specified > folder instead of just the ones matching the condition I'm using > ("savedbefore 4w"). > > Because of the

Re: [Dovecot] undefined reference to fallocate64

2010-12-17 Thread Timo Sirainen
On 18.12.2010, at 0.04, Mike Korizek wrote: > While compiling dovecot 2.0.8 on Ubuntu 9.10 I get the following error > at make: > > ../../src/lib-dovecot/.libs/libdovecot.so: undefined reference to > `fallocate64' > > Any idea how to resolve this? By not using Ubuntu 9.10. Older or newer versio

[Dovecot] undefined reference to fallocate64

2010-12-17 Thread Mike Korizek
Hi While compiling dovecot 2.0.8 on Ubuntu 9.10 I get the following error at make: ../../src/lib-dovecot/.libs/libdovecot.so: undefined reference to `fallocate64' Any idea how to resolve this? Thanks, Mike

[Dovecot] Problem with expunge

2010-12-17 Thread Jeff Mitchell
I'm running Dovecot 2.0.8. The other day I tested doveadm expunge on a test Inbox with a few messages received over the course of a day, and using savedbefore , and it seemed to work. However, today I was testing converting some maildirs over to sdbox, and noticed odd behavior: it's deleting all

Re: [Dovecot] Expire plugin does not work

2010-12-17 Thread Christoph Pleger
Hello, > But if it's 0666, I'm not really sure what the problem could be. You > could try if dict can access it as root: > > service dict { > user = root > } I have found the solution: The directory where the sqlite3 database resides must be writable by the dovecot user. Regards Christoph

Re: [Dovecot] Per user quota on MySQL

2010-12-17 Thread M. Rodrigo Monteiro
On Fri, Dec 17, 2010 at 15:41, Henrique Fernandes wrote: > It is missing an global mail plugins conf! > []'sf.rique > Ok, now I have the quota in dovecotadm. doveadm quota get -u te...@domain.com Quota name TypeValue Limit % storage=1024000

Re: [Dovecot] Authentication issue.

2010-12-17 Thread Pascal Volk
On 12/17/2010 07:27 PM dmitri tchernov wrote: > > # /usr/bin/doveconf userdb > userdb { > args = /mnt/dovecot/userlist.passwd > driver = passwd-file > } > > Well spotted, an UTF-8 character was in the file at the wrong place. I had: > # doveadm user test1 > userdb lookup: user test1

Re: [Dovecot] Per user quota on MySQL

2010-12-17 Thread Henrique Fernandes
It is missing an global mail plugins conf! []'sf.rique On Fri, Dec 17, 2010 at 4:07 PM, Pascal Volk < user+dove...@localhost.localdomain.org > wrote: > On 12/17/2010 07:06 PM M. Rodrigo Monteiro wrote: > > > > There is no quota in doveadm. > > See the note at: http://wiki2.dovecot.org/Tools/Dove

Re: [Dovecot] Authentication issue.

2010-12-17 Thread dmitri tchernov
On Fri, Dec 17, 2010 at 7:15 PM, Pascal Volk < user+dove...@localhost.localdomain.org > wrote: > On 12/17/2010 07:07 PM dmitri tchernov wrote: > > > > # 2.0.2: /etc/dovecot/dovecot.conf > > # OS: Linux 2.6.34.6--grs-ipv6-64 x86_64 Ubuntu 10.10 ext4 > > auth_debug = yes > > auth_mechanisms = pl

Re: [Dovecot] Authentication issue.

2010-12-17 Thread Pascal Volk
On 12/17/2010 07:07 PM dmitri tchernov wrote: > > I gave it in the very first e-mail :-) Sorry, my fault > > # 2.0.2: /etc/dovecot/dovecot.conf > # OS: Linux 2.6.34.6--grs-ipv6-64 x86_64 Ubuntu 10.10 ext4 > auth_debug = yes > auth_mechanisms = plain login > disable_plaintext_auth = no > log_

Re: [Dovecot] Per user quota on MySQL

2010-12-17 Thread Pascal Volk
On 12/17/2010 07:06 PM M. Rodrigo Monteiro wrote: > > There is no quota in doveadm. See the note at: http://wiki2.dovecot.org/Tools/Doveadm/Quota Regards, Pascal -- The trapper recommends today: f007ba11.1035...@localdomain.org

Re: [Dovecot] Authentication issue.

2010-12-17 Thread dmitri tchernov
On Fri, Dec 17, 2010 at 7:05 PM, Pascal Volk < user+dove...@localhost.localdomain.org > wrote: > On 12/17/2010 07:02 PM dmitri tchernov wrote: > > > > When I check /mnt/dovecot/userlist.passwd, everything looks ok. > > Please show your configuration: doveconf -n > I gave it in the very first e-ma

Re: [Dovecot] Per user quota on MySQL

2010-12-17 Thread M. Rodrigo Monteiro
On Fri, Dec 17, 2010 at 14:50, Henrique Fernandes wrote: > Try to use doveadm quota get to see if it is working! There is no quota in doveadm. # /usr/local/dovecot/bin/doveadm usage: doveadm [-Dv] [-f ] [] altmove [-u |-A] [-S ] auth [-a ] [-x ] [] config [doveconf

Re: [Dovecot] Authentication issue.

2010-12-17 Thread Pascal Volk
On 12/17/2010 07:02 PM dmitri tchernov wrote: > > When I check /mnt/dovecot/userlist.passwd, everything looks ok. Please show your configuration: doveconf -n Regards, Pascal -- The trapper recommends today: f007ba11.1035...@localdomain.org

Re: [Dovecot] Authentication issue.

2010-12-17 Thread dmitri tchernov
On Fri, Dec 17, 2010 at 6:59 PM, dmitri tchernov wrote: > > > On Fri, Dec 17, 2010 at 6:49 PM, Pascal Volk < > user+dove...@localhost.localdomain.org > > wrote: > >> On 12/17/2010 06:44 PM dmitri tchernov wrote: >> > Same errors. >> >> Set auth_debug=yes, execute `dovecot realod` and check your lo

Re: [Dovecot] Authentication issue.

2010-12-17 Thread dmitri tchernov
On Fri, Dec 17, 2010 at 6:49 PM, Pascal Volk < user+dove...@localhost.localdomain.org > wrote: > On 12/17/2010 06:44 PM dmitri tchernov wrote: > > Same errors. > > Set auth_debug=yes, execute `dovecot realod` and check your logs > (`doveadm log find`). > > > /var/log/syslog: Dec 17 18:54:17 doveco

Re: [Dovecot] Per user quota on MySQL

2010-12-17 Thread Henrique Fernandes
Try to use doveadm quota get to see if it is working! #doveadm quota get -u exam...@domain.com Quota name Type Value Limit % user STORAGE 133189 1048576 12 user MESSAGE 2002 - 0 Use quota recalc also an

Re: [Dovecot] Authentication issue.

2010-12-17 Thread Pascal Volk
On 12/17/2010 06:44 PM dmitri tchernov wrote: > Same errors. Set auth_debug=yes, execute `dovecot realod` and check your logs (`doveadm log find`). Regards, Pascal -- The trapper recommends today: 5e1f1e55.1035...@localdomain.org

Re: [Dovecot] Authentication issue.

2010-12-17 Thread dmitri tchernov
On Fri, Dec 17, 2010 at 6:38 PM, Pascal Volk < user+dove...@localhost.localdomain.org > wrote: > On 12/17/2010 06:16 PM dmitri tchernov wrote:Dec 17 18:08:01 dovecot: last > message repeated 19 times > > > > # dovecot --version > > 2.0.2 > > Version 2.0.8 is available … > For some reasons, I can'

Re: [Dovecot] Authentication issue.

2010-12-17 Thread Pascal Volk
On 12/17/2010 06:16 PM dmitri tchernov wrote: > … > # ./imaptest copybox=Trash # or any other command in > … > Error: root[4]: LOGIN failed: 4.1 NO [AUTHENTICATIONFAILED] Authentication > failed. > … > ^C > > # tail /var/log/mail.log: > Dec 17 18:07:28 dovecot: imap-login: Disconnected (auth fail

[Dovecot] Per user quota on MySQL

2010-12-17 Thread M. Rodrigo Monteiro
Hi! I'm new on Dovecot. I'm using: - CentOS 5.5 - Kernel 2.6.18-194.26.1.el5 x86_64 - Dovecot 2.0.8 (from source) - Postfix 2.7.2 (from source) - MySQL 5.0.77 (CentOS binary) - Postfixadmin 2.3.2 (from source) - Horde Webmail 1.2.9 - Thunderbird 3.1.7 (from CentOS) I follow this how to: http://wi

[Dovecot] Authentication issue.

2010-12-17 Thread dmitri tchernov
Hi list, I try to run imaptest, but I get the following errors (as root): # ./imaptest copybox=Trash # or any other command in http://www.imapwiki.org/ImapTest/Examples Logi List Stat Sele Fetc Fet2 Copy Stor Dele Expu Appe Logo 100% 50% 50% 100% 100% 100% 33% 50% 100% 100% 100% 100%

Re: [Dovecot] dovecot 2.0.8 LDA with MYSQL issues not solved

2010-12-17 Thread PA
So .ext is just an extension to the config file. For some reason I kept putting it in the conf.d/ dir and calling a .conf file. At least this is now working for me, thanks Timo. paul -Original Message- From: dovecot-bounces+razor=meganet@dovecot.org [mailto:dovecot-bounces+razor=me

Re: [Dovecot] deliver -m causes crash: Panic: stream doesn't support seeking backwards

2010-12-17 Thread James Lee
On 17/12/10, 14:53:05, Timo Sirainen wrote regarding Re: [Dovecot] deliver -m causes crash: Panic: stream doesn't support seeking backwards: > > doesn't crash but I was expecting it to create the directory/mailbox, > > what is it supposed to do? > >From http://wiki2.dovecot.org/Upgrading/2.0 :

Re: [Dovecot] dovecot 2.0.8 LDA with MYSQL issues not solved

2010-12-17 Thread Timo Sirainen
On Fri, 2010-12-17 at 09:52 -0500, PA wrote: > Timo, thanks for the reply, the problem is that with dovecot 1.x the wiki > recommends the connect string and password_query/user_query be in the > sql.conf include file. According to wiki2 I should also be able to put these > settings on the sql.co

Re: [Dovecot] deliver -m causes crash: Panic: stream doesn't support seeking backwards

2010-12-17 Thread Timo Sirainen
On Fri, 2010-12-17 at 14:26 +, James Lee wrote: > On 17/12/10, 13:24:42, Timo Sirainen wrote regarding Re: > [Dovecot] deliver -m causes crash: Panic: stream doesn't support seeking > backwards: > > > Fixed now: http://hg.dovecot.org/dovecot-2.0/rev/89936539e3b8 > > Thank you for looking at

Re: [Dovecot] dovecot 2.0.8 LDA with MYSQL issues not solved

2010-12-17 Thread PA
Timo, thanks for the reply, the problem is that with dovecot 1.x the wiki recommends the connect string and password_query/user_query be in the sql.conf include file. According to wiki2 I should also be able to put these settings on the sql.conf include file but I get an error no matter what I p

Re: [Dovecot] deliver -m causes crash: Panic: stream doesn't support seeking backwards

2010-12-17 Thread James Lee
On 17/12/10, 13:24:42, Timo Sirainen wrote regarding Re: [Dovecot] deliver -m causes crash: Panic: stream doesn't support seeking backwards: > Fixed now: http://hg.dovecot.org/dovecot-2.0/rev/89936539e3b8 Thank you for looking at this. I applied the patch and tested. Now it doesn't crash but I

Re: [Dovecot] dovecot 2.0 revision 12532:e030df616faf: problem with Snarf plugin

2010-12-17 Thread Jonathan Siegle
On Dec 17, 2010, at 8:16 AM, Timo Sirainen wrote: > On Fri, 2010-12-17 at 07:45 -0500, Jonathan Siegle wrote: >> Dec 10 13:57:57 tr27n12.aset.psu.edu dovecot: imap(tstem38): Panic: file >> index-transaction.c: line 71: assertion failed: (box->opened) > .. >> If you give me some logi

Re: [Dovecot] Expire plugin does not work

2010-12-17 Thread Timo Sirainen
On Thu, 2010-12-16 at 20:55 +0100, Christoph Pleger wrote: > dovecot: dict: Error: sqlite: exec(INSERT INTO expires > (expire_stamp,username,mailbox) VALUES ('1292525469','christoph','Trash')) > failed: unable to open database file (14) So SQLite can't open its database. I don't know what "14"

Re: [Dovecot] Dovecot 2.0.8 dysnc problems

2010-12-17 Thread Timo Sirainen
On Fri, 2010-12-17 at 01:51 -0800, Eugene Tay wrote: > I try to install dovecot 2 in ubuntu, but when I try dsync on virtualbox > "dsync -v -u it mirror i...@10.32.1.3" > > it come out an error to me. > > dsync-local(it): Error: Can't rename mailbox > INBOX_15a69e11bbd4014d0933a5727609 to IN

Re: [Dovecot] dovecot 2.0.8 LDA with MYSQL issues not solved

2010-12-17 Thread Timo Sirainen
On Thu, 2010-12-16 at 16:32 -0500, PA wrote: > Apparently that's not it, the include is configured as !include > conf.d/*.conf - when I changed the conf.d/ files to .conf.ext it simple > didn't read the file and it gave me no error. Back to square one. The sql config isn't supposed to be !included

Re: [Dovecot] namespace and list=children inconsistencies

2010-12-17 Thread Timo Sirainen
On Thu, 2010-12-16 at 01:38 +0100, Holger Mauermann wrote: > . LIST "" * > * LIST (\HasNoChildren) "/" "INBOX" > * LIST (\Noselect \HasChildren) "/" "Shared/u...@do.main" > * LIST (\HasNoChildren) "/" "Shared/u...@do.main/INBOX" > * LIST (\HasChildren) "/" "Public" > . OK List completed. > > . LIS

Re: [Dovecot] Permission denied

2010-12-17 Thread Charles Marcus
On 2010-12-16 3:15 PM, Alex Cherniak wrote: > After several trouble free months and without any obvious reason our > server just stopped working. I cannot even re-start it: > > [r...@dsmail /]# service dovecot start > > Starting Dovecot Imap: Can't open log file /var/log/dovecot.log: > Permission

Re: [Dovecot] deliver -m causes crash: Panic: stream doesn't support seeking backwards

2010-12-17 Thread Timo Sirainen
On Fri, 2010-12-10 at 11:00 +, James Lee wrote: > Dec 9 23:20:38 mailhost dovecot: [ID 583609 mail.crit] > lda(u...@domain.co.uk): Panic: stream doesn't support seeking backwards Fixed now: http://hg.dovecot.org/dovecot-2.0/rev/89936539e3b8 It also doesn't happen if you enable Sieve plugin.

[Dovecot] Dovecot 2.0.8 dysnc problems

2010-12-17 Thread Eugene Tay
Hi All, I try to install dovecot 2 in ubuntu, but when I try dsync on virtualbox "dsync -v -u it mirror i...@10.32.1.3" it come out an error to me. dsync-local(it): Error: Can't rename mailbox INBOX_15a69e11bbd4014d0933a5727609 to INBOX: Target mailbox already exists dsync-local(it): Error

Re: [Dovecot] dovecot 2.0 revision 12532:e030df616faf: problem with Snarf plugin

2010-12-17 Thread Timo Sirainen
On Fri, 2010-12-17 at 07:45 -0500, Jonathan Siegle wrote: > Dec 10 13:57:57 tr27n12.aset.psu.edu dovecot: imap(tstem38): Panic: file > index-transaction.c: line 71: assertion failed: (box->opened) .. > If you give me some logic to throw at this, I'll take a shot at the > programmi

Re: [Dovecot] dovecot 2.0 revision 12532:e030df616faf: problem with Snarf plugin

2010-12-17 Thread Jonathan Siegle
On Dec 13, 2010, at 9:27 AM, Jonathan Siegle wrote: > > On Dec 13, 2010, at 8:06 AM, Timo Sirainen wrote: > >> On Fri, 2010-12-10 at 14:45 -0500, Jonathan Siegle wrote: >>> Oops! Config problem. Typing should be second nature by now huh. >> .. Dec 10 13:57:57 tr27n12.aset.psu.edu dovecot:

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-17 Thread Ralf Hildebrandt
* Timo Sirainen : > On 16.12.2010, at 22.09, Daniel L. Miller wrote: > > > You mean these past two months of grief - concern over Dovecot 2.0's > > underlying design, exploring various configurations and settings, and > > general hysteria came down to...a two line patch?!?!?! > > At least now I

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-17 Thread Ralf Hildebrandt
* Daniel L. Miller : > You mean these past two months of grief - concern over Dovecot 2.0's > underlying design, exploring various configurations and settings, and > general hysteria came down to...a two line patch?!?!?! Yes. It's like that. With Windows, nobody would have ever fixed that. -- Ra

Re: [Dovecot] namespace and list=children inconsistencies

2010-12-17 Thread Holger Mauermann
Am 17.12.2010 01:35, schrieb Willie Gillespie: > Eh, hard to say. > > From RFC 3501: > ... A non-empty > reference name argument is the name of a mailbox or a level of > mailbox hierarchy, and indicates the context in which the mailbox > name is interpreted. > > But, later on it s

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-17 Thread Cor Bosman
> Oops, now I finally understand why Mail.app kept asking for my password for > each mail I sent: it helpfully decided to start signing mails with the only > client cert I had, without asking me.. Forget about those signatures in the > last two mails :) > Heh, is that the key you used to get