[Dovecot] Assert crash with latest HG ddf374a36057

2014-04-24 Thread e-frog
Hello, Latest HG assert crashes with imap(user): Panic: file mail-storage.c: line 1836 (mailbox_transaction_begin): assertion failed: (box->opened) Full backtrace is attached. Thanks, e-frog Core was generated by `dovecot/imap'. Program terminated with signal SIGABRT, Abo

Re: [Dovecot] problems with doveadm

2013-08-05 Thread e-frog
On 05.08.2013 21:16, wrote Timo Sirainen: On 5.8.2013, at 21.28, e-frog wrote: On 05.08.2013 19:33, wrote Timo Sirainen: On 5.8.2013, at 20.24, e-frog wrote: Thanks Timo. Just wanted to try it but now I get an compilation error which is unrelated to this fix however: dns-client.c: In

Re: [Dovecot] problems with doveadm

2013-08-05 Thread e-frog
On 05.08.2013 19:33, wrote Timo Sirainen: On 5.8.2013, at 20.24, e-frog wrote: Thanks Timo. Just wanted to try it but now I get an compilation error which is unrelated to this fix however: dns-client.c: In function 'dns_client_input_line': dns-client.c:39:10: error: '

Re: [Dovecot] problems with doveadm

2013-08-05 Thread e-frog
On 05.08.2013 19:13, wrote Timo Sirainen: On 5.8.2013, at 19.56, e-frog wrote: On 04.08.2013 15:06, wrote Timo Sirainen: On 3.8.2013, at 14.25, listserv wrote: doveadm expunge -A mailbox Trash savedbefore 7d => kernel: doveadm[11609]: segfault at 10 ip b75f146a sp bf856ad0 error 4

Re: [Dovecot] problems with doveadm

2013-08-05 Thread e-frog
On 04.08.2013 15:06, wrote Timo Sirainen: On 3.8.2013, at 14.25, listserv wrote: doveadm expunge -A mailbox Trash savedbefore 7d => kernel: doveadm[11609]: segfault at 10 ip b75f146a sp bf856ad0 error 4 in libdovecot.so.0.0.0[b7585000+c8000] gdb backtrace would be useful, for example: gdb -

Re: [Dovecot] Dovecot v2.2.4 (ebbe00999da8) doveadm crash

2013-08-01 Thread e-frog
On 01.08.2013 13:20, wrote Timo Sirainen: On 30.7.2013, at 15.08, e-frog wrote: Fixed the crash: http://hg.dovecot.org/dovecot-2.2/rev/0cab916b28c6 Thanks, with this change I get an error message instead of the crash: doveadm(te...@local.lan): Fatal: seteuid(0) failed: Operation not

Re: [Dovecot] Dovecot v2.2.4 (ebbe00999da8) doveadm crash

2013-07-30 Thread e-frog
On 30.07.2013 12:10, wrote Timo Sirainen: On 16.7.2013, at 20.07, e-frog wrote: Current Dovecot v2.2 HG crashes using the following command: $ doveadm mailbox status -A -t unseen 'virtual/unread' #0 i_stream_next_line (stream=0x0) at istream.c:382 382 istream.c: No su

[Dovecot] Dovecot v2.2.4 (ebbe00999da8) doveadm crash

2013-07-16 Thread e-frog
Hello, Current Dovecot v2.2 HG crashes using the following command: $ doveadm mailbox status -A -t unseen 'virtual/unread' Please see backtrace below and dovecot -n output attached. Thanks, e-frog gdb /usr/bin/doveadm 24023 GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu Copyright (C)

Re: [Dovecot] Calling dovecot-lda from within Antispam pipe script (bash) seems to have no effect

2013-06-22 Thread e-frog
in 10-master.conf: service config { unix_listener config { mode = 0600 user = vmail } } More details can be found here: http://wiki2.dovecot.org/Services /e-frog

Re: [Dovecot] v2.2.0 released

2013-04-13 Thread e-frog
On 13.04.2013 22:56, wrote Andreas Meyer: Mark Sapiro wrote: On 4/12/2013 10:33 AM, Timo Sirainen wrote: http://dovecot.org/releases/2.2/dovecot-2.2.0.tar.gz http://dovecot.org/releases/2.2/dovecot-2.2.0.tar.gz.sig Everything now seems to be stable and working in v2.2, so I can finally move

Re: [Dovecot] mdbox and folders containing both messages and sub-folders

2013-04-07 Thread e-frog
On 07.04.2013 20:08, wrote Rich Wales: Repying to Timo Sirainen: What is the error message exactly? I'm wondering if the error is coming from Dovecot or if Larch is somehow confused internally and giving bogus errors. Certainly a reasonable question. I tried to enable full debugging output i

Re: [Dovecot] "no longer mounted" warnings

2012-12-04 Thread e-frog
On 04.12.2012 19:27, wrote Dave Abrahams: Dovecot seems to be warning about every volume it's ever seen in the past. Is this normal? Can I make it stop? --8<---cut here---start->8--- 12/4/12 12:33:38.148 PM dovecot[2658]: master: Warning: /Volumes/fs is no

Re: [Dovecot] Gmail style conversations

2012-12-03 Thread e-frog
On 03.12.2012 18:17, wrote Romer Ventura: I am wondering if there is any way to support Gmail style conversation when using Dovecot? Someway of associating all inbound and sent emails..? The documentation for the virtual plugin has an example for GMail-style "conversation vi

Re: [Dovecot] [BUMP] Unanswered: how to force FTS indexing?

2012-11-16 Thread e-frog
On 17.11.2012 07:35, wrote Daniel L. Miller: On 11/16/2012 12:58 PM, Dave Abrahams wrote: on Thu Nov 15 2012, "Daniel L. Miller" wrote: On 11/14/2012 6:52 AM, Dave Abrahams wrote: Does anyone have an answer to this question? Should I simply issue an IMAP search command, or is there a better

Re: [Dovecot] disable auth-worker logging

2012-08-04 Thread e-frog
og.d/40-dovecot.conf :msg, contains, "mysql(localhost): Connected to database" ~ -- e-frog

Re: [Dovecot] Couple of questions about the logs

2012-07-23 Thread e-frog
On 23.07.2012 18:07, wrote Steve Campbell: On 7/23/2012 11:54 AM, e-frog wrote: On 23.07.2012 17:31, wrote Steve Campbell: The log entries for imap disconnection shows a "bytes = x/y" format where the x equals bytes sent from client and y equals bytes received from client. C

Re: [Dovecot] Couple of questions about the logs

2012-07-23 Thread e-frog
On 23.07.2012 17:31, wrote Steve Campbell: The log entries for imap disconnection shows a "bytes = x/y" format where the x equals bytes sent from client and y equals bytes received from client. Can someone explain that a little better to me, please? In an imap account, does this "y" represent th

Re: [Dovecot] dovecot 2.x via xinetd

2012-07-23 Thread e-frog
On 23.07.2012 13:23, wrote Stan Hoeppner: On 7/23/2012 5:54 AM, Mathieu Roy wrote: Le lundi 23 juillet 2012, Timo Sirainen a écrit : If you've compiled with tcpwrappers, you can do: login_access_sockets = tcpwrap I use debian stock version, I'll check that and recompile if need be. Debian

Re: [Dovecot] Pigeonhole Sieve SetFlag question

2012-07-06 Thread e-frog
On 06.07.2012 16:46, wrote Vyacheslav Biruk: Hello, I use FreeBSD 8.2-RELEASE-p7 i386 dovecot-2.1.6 dovecot-pigeonhole-0.3.0_1 I have the following problem: But when I use following script - the flag is not set in \Seen require ["fileinto","imap4flags"]; # rule:[test] if anyof (header :co

Re: [Dovecot] Dovecot 2.1 stable packages for Debian?

2012-06-12 Thread e-frog
On 12.06.2012 15:15, wrote For@ll: On 11.06.2012 16:03, Tomislav Mihalicek wrote: Here you go... cat /etc/apt/sources.list # latest dovecot # apt-get install debian-dovecot-auto-keyring deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main deb-src http://xi.rename-it.nl/debian/ stab

Re: [Dovecot] smtp -auth with using clear text password

2012-05-04 Thread e-frog
On 04.05.2012 16:51, wrote Agnello George: thanks a ton PasswdFile seems what you want: http://wiki2.dovecot.org/**AuthDatabase/PasswdFile Actually i did try this , i created a file called cat /etc/dovecot/passwd agnello:123456 i also

Re: [Dovecot] smtp -auth with using clear text password

2012-05-04 Thread e-frog
On 04.05.2012 15:48, wrote Agnello George: Hi I am setting up a mailserver .. where clients need to authenticate to the mail server . The mta i am using is postfix . It is possible to use a file like this : -- cat /etc/postfix/dovecote_passwd agnello:123456

Re: [Dovecot] Problem compiling dovecot-antispam on Ubuntu 11.10 using Doveot 2.0.13

2012-03-31 Thread e-frog
On 31.03.2012 18:55, wrote Guillaume Hilt: Hello, Last dovecot available version on Ubuntu 11.10 AMD64 is dovecot 2.0.13. dovecot-antispam package is compiled for dovecot 2.0.15. So, i'm trying to compile a new dovecot antispam plugin. I followed dovecot wiki but i'm running into this error : S

Re: [Dovecot] Problem copying e-mails to IMAP - Dovecot 2.1.2

2012-03-16 Thread e-frog
On 16.03.2012 18:00, wrote Timo Sirainen: On 16.3.2012, at 18.16, e-frog wrote: On 16.03.2012 16:05, wrote Timo Sirainen: On Fri, 2012-03-16 at 17:00 +0300, Odhiambo Washington wrote: Mar 16 13:33:23 jaribu dovecot: imap(w...@kictanet.or.ke): Error: Corrupted dbox file /var/spool/virtual

Re: [Dovecot] Problem copying e-mails to IMAP - Dovecot 2.1.2

2012-03-16 Thread e-frog
On 16.03.2012 16:05, wrote Timo Sirainen: On Fri, 2012-03-16 at 17:00 +0300, Odhiambo Washington wrote: Mar 16 13:33:23 jaribu dovecot: imap(w...@kictanet.or.ke): Error: Corrupted dbox file /var/spool/virtual/kictanet.or.ke/wash/mdbox/storage/m.4(around offset=894): msg header has bad magic va

Re: [Dovecot] 2.1.1: doveadm backup errors

2012-03-15 Thread e-frog
On 14.03.2012 20:33, wrote e-frog: On 14.03.2012 14:41, wrote Timo Sirainen: With latest hg version it should work. Hi Timo, The "can't delete mailbox INBOX" error is gone now with changeset c077ca9bc306 and it's working successfully on the account from yesterday where

Re: [Dovecot] 2.1.1: doveadm backup errors

2012-03-14 Thread e-frog
On 14.03.2012 14:41, wrote Timo Sirainen: On Tue, 2012-03-13 at 21:19 +0100, e-frog wrote: On 13.03.2012 20:16, wrote Timo Sirainen: On 13.3.2012, at 20.42, e-frog wrote: This is what I have done: 1. Create the directory /tmp/backup which is empty 2. Run doveadm -v backup -u testuser@ubuntu

Re: [Dovecot] 2.1.1: doveadm backup errors

2012-03-13 Thread e-frog
On 13.03.2012 20:16, wrote Timo Sirainen: On 13.3.2012, at 20.42, e-frog wrote: This is what I have done: 1. Create the directory /tmp/backup which is empty 2. Run doveadm -v backup -u testuser@ubuntu-test.localdomain mdbox:/tmp/backup/ .. Then I see the following errors: doveadm -v backup

[Dovecot] 2.1.1: doveadm backup errors

2012-03-13 Thread e-frog
in): Error: Mailbox INBOX changed its GUID (bd05451f2fbb574d4060ec8d17cd -> 9e4b88178b905f4f456e381555a6) It somehow finds INBOX in destination however the backup directory is newly created and empty. Thanks, e-frog # 2.1.1 (a3b162331cd1): /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-18-generic-pae i686

Re: [Dovecot] v2.1 latest hg: untagged reply to namespace command

2012-03-08 Thread e-frog
On 07.03.2012 19:17, wrote e-frog: # 2.1.1 (94de7605f50f) 1 namespace * NAMESPACE (("" "/")("virtual/" "/")) NIL NIL * OK Namespace completed. Please note that the "OK Namespace completed." is send untagged. Ok, it's working again today with 2.1.1 (7a26c427fc78).

[Dovecot] v2.1 latest hg: untagged reply to namespace command

2012-03-07 Thread e-frog
nd untagged. It worked on below version: # 2.1.1 (315f0d8cc2b2) 1 namespace * NAMESPACE (("" "/")("virtual/" "/")) NIL NIL 1 OK Namespace completed. Thanks, e-frog

Re: [Dovecot] 2.1 upgrade docs?

2012-02-17 Thread e-frog
On 17.02.2012 18:09, wrote Marc Perkel: Just wondering if there's any upgrade docs for 2.1 online? http://wiki2.dovecot.org/Upgrading/2.1

Re: [Dovecot] doveadm index

2012-02-10 Thread e-frog
On 09.02.2012 03:29, wrote Timo Sirainen: On 21.12.2011, at 19.35, e-frog wrote: But some day doveadm index (and several other commands) should allow wildcards in mailbox names, so you could just do doveadm index -A '*' Actually I'm using doveadm index -A '*' i

Re: [Dovecot] 2.1.rc1 (056934abd2ef): virtual plugin mailbox search pattern

2012-01-29 Thread e-frog
On 28.01.2012 23:40, wrote Timo Sirainen: On 23.12.2011, at 19.33, e-frog wrote: For testing propose I created the following folders with each containing one unread message INBOX, INBOX/level1 and INBOX/level1/level2 .. Result: virtual/unread shows only 1 unseen message. Further tests

Re: [Dovecot] 2.1.rc1 (056934abd2ef): virtual plugin mailbox search pattern

2012-01-06 Thread e-frog
ON 23.12.2011 18:33, wrote e-frog: Hello Timo, With dovecot 2.1.rc1 (056934abd2ef) there seems to be something wrong with virtual plugin mailbox search patterns. I'm using a virtual mailbox 'unread' with the following dovecot-virtual file $ cat dovecot-virtual * unseen For te

Re: [Dovecot] dovecot-lda error

2012-01-05 Thread e-frog
On 05.01.2012 08:45, wrote Wesley M.: Hi, Hi, I use Dovecot 2.0.13 on OpenBSD 5.0 When i try to send emails i have the following error in /var/log/maillog Jan 5 11:23:49 mail50 postfix/pipe[29423]: D951842244C: to=, relay=dovecot, delay=0.02, delays=0.01/0/0/0.01, dsn=5.3.0, status=bounce

[Dovecot] 2.1.rc1 (056934abd2ef): virtual plugin mailbox search pattern

2011-12-23 Thread e-frog
2" (UNSEEN 1) 4 OK Status completed. 5 STATUS "virtual/unread" (UNSEEN) * STATUS "virtual/unread" (UNSEEN 3) 5 OK Status completed. Result: virtual/unread shows 3 unseen messages as it should The namespace configuration is as following namespace { hidden = no inbox = yes list = yes location = prefix = separator = / subscriptions = yes type = private } namespace { location = virtual:~/virtual prefix = virtual/ separator = / subscriptions = no type = private } I've also tried this with location = virtual:~/virtual:LAYOUT=maildir++ leading to the same result. Thanks, e-frog

Re: [Dovecot] doveadm index

2011-12-21 Thread e-frog
amine the search index? Doveadm dump doesn't seem to like it. $: doveadm dump dovecot.index.search $: doveadm(vmail): Fatal: Can't autodetect file type: dovecot.index.search Thanks, e-frog

Re: [Dovecot] logging deletion of emails through IMAP?

2011-12-16 Thread e-frog
On 16.12.2011 20:20, wrote John Brock: Version 1.2.16: Is there some way to enable logging for when emails are deleted via IMAP? All I see are log entries for users logging in/logging out. It would be nice to know when an email is deleted, and from which IP address the user was logged in when s/h

Re: [Dovecot] Autosubscribe new folders

2011-12-15 Thread e-frog
tp://wiki1.dovecot.org/LDA#Parameters Look for the -s switch /e-frog

Re: [Dovecot] Seen flag getting lost

2011-11-25 Thread e-frog
I found the culprit. Changing mail.server.default.mime_parts_on_demand to **false** fixed this issue for me. This setting is discussed in... http://kb.mozillazine.org/Entire_message_fetched_when_opening_a_IMAP_message ... but not mentioning the "don't mark message as read" issue

Re: [Dovecot] 2.1: virtual plugin and lsub

2011-11-17 Thread e-frog
On 16.11.2011 19:02, wroteTimo Sirainen: On Wed, 2011-11-09 at 20:08 +0100, e-frog wrote: On 06.11.2011 17:03, wrote e-frog: 1 lsub "" "virtual/*" * LSUB () "/" "virtual" * LSUB () "/" "virtual/Lists" * LSUB () "/" "

Re: [Dovecot] 2.1: virtual plugin and lsub

2011-11-09 Thread e-frog
On 06.11.2011 17:03, wrote e-frog: 1 lsub "" "virtual/*" * LSUB () "/" "virtual" * LSUB () "/" "virtual/Lists" * LSUB () "/" "virtual/unread" 1 OK Lsub completed. Just tested this again with 2.1beta1 with the same result.

[Dovecot] 2.1: virtual plugin and lsub

2011-11-06 Thread e-frog
uot; * LSUB () "/" "virtual/Lists" * LSUB () "/" "virtual/unread" 1 OK Lsub completed. Thunderbird shows the "virtual" mailbox as selectable and not grayed out as with 2.0.15. Clicking on that mailbox gives an error message "Mailbox doesn

Re: [Dovecot] setting namespaces using script-login environment in 2.0

2011-10-31 Thread e-frog
On 31.10.2011 18:00, wrote Alexander 'Leo' Bergolth: Have environment based namespace settings been abandoned in 2.0? I think you need to add them to USERDB_KEYS now... http://wiki2.dovecot.org/PostLoginScripting#Running_environment /e-frog

[Dovecot] Panic: file mail-index-view.c: line 149

2011-06-24 Thread e-frog
0 && seq <= mail_index_view_get_messages_count(view)) Removing mail_log plugin made it working again. Even after re-enabling mail_log plugin there are no crashes anymore. The full backtrace and doveconf -n output are attached. Thanks for your help! -e-frog # 2.0.13 (327486d79620): /etc/d

Re: [Dovecot] Maildir parent directory permissions incorrect for new mailbox

2011-06-17 Thread e-frog
On 17.06.2011 18:35, wrote Dominic Marks: Hi Dominic, Initially, /var/dovecot consists of acl, index and mail, all empty. The permissions on these are: >> ls -l total 6 drwxrwxr-x 2 hmgp hmgp 512 17 Jun 12:23 acl drwxrwxr-x 3 hmgp hmgp 512 17 Jun 15:56 index drwxrwxr-x 3 hmgp hmgp 512 17 Jun

Re: [Dovecot] X-SAVEDATE & dync & doveadm expunge

2011-01-04 Thread e-frog
On 04.01.2011 11:05, wrote Timo Sirainen: > On Fri, 2010-12-31 at 11:36 +0100, e-frog wrote: > >> It looks like X-SAVEDATE is somehow wrong... >> >> A fetch 1:* (internaldate x-savedate) >> * 1 FETCH (INTERNALDATE "28-Dec-2007 14:49:58 +0100" X-SAVEDATE

[Dovecot] X-SAVEDATE & dync & doveadm expunge

2010-12-31 Thread e-frog
98963359.P1256Q0M253583.ubuntu-test.localdomain,S=40851:2,S I was assuming that for the maildirs X-SAVEDATE is derived from the message ctime? "01-Jan-1970 01:00:00 +0100" seem to be definitely wrong. Thanks, e-frog $ doveconf -n # 2.0.8 (89936539e3b8): /etc/dovecot/dovecot.conf # OS:

Re: [Dovecot] execvp /usr/local/libexec/dovecot/dovecot-lda: Permission denied

2010-09-23 Thread e-frog
On 23.09.2010 20:44, wrote Edward Carraro: > using "virtual_transport = lmtp:unix:dovecot-lmtp" in main.cf I get I think with > unix_listener /var/spool/postfix/private/dovecot-lmtp in your dovecot -n output it should be virtual_transport = lmtp:unix:private/dovecot-lmtp

Re: [Dovecot] status of antispam plugin for DC 2.x ?

2010-08-31 Thread e-frog
On 31.08.2010 18:34, wrote interfaSys sàrl: > Hello, > I saw that there is now an antispam plugin repository for the V2.x version. > It doesn't compile and it seems it cannot be configured like the old one. > > Any ETA? > > Cheers, > Olivier $ hg clone http://hg.dovecot.org/dovecot-antispam-plu

Re: [Dovecot] doveadm expunge -A mailbox Trash savedbefore 30d

2010-08-30 Thread e-frog
On 30.08.2010 17:32, wrote Jerrale G: > On 8/27/2010 11:25 AM, e-frog wrote: >> On 27.08.2010 17:16, wrote Jerrale G: >>> In the shell: >>> ,doveadm(root): Error: User listing returned failure,doveadm: Error: >>> Failed to iterate through some users >>

Re: [Dovecot] doveadm expunge -A mailbox Trash savedbefore 30d

2010-08-27 Thread e-frog
On 27.08.2010 17:16, wrote Jerrale G: > In the shell: > ,doveadm(root): Error: User listing returned failure,doveadm: Error: > Failed to iterate through some users > > In the log: > dovecot: auth: Error: sql: Iterate query failed: Table 'mail.users' > doesn't exist (using built-in default iterate

Re: [Dovecot] 2.0 beta4 latest hg: segfault with virtual plugin

2010-06-21 Thread e-frog
On 21.06.2010 17:40, wrote Timo Sirainen: > On Sun, 2010-05-09 at 16:40 +0200, e-frog wrote: >> On 16.04.2010 19:23, wrote e-frog: >>> Hello Timo, >>> >>> latest 2.0 hg version (changeset a6b050cc4a9a) segfaults when selecting >>> a virtual mailbox. &

Re: [Dovecot] coredump while accessing virtual folder with dovecot 2.0

2010-06-20 Thread e-frog
rray->element_size; I'm seeing the same crash: http://www.dovecot.org/list/dovecot/2010-June/049735.html The attached patch fixed it for me. It's not yet fixed in hg however. Regards, e-frog --- dovecot-2.0.beta6.orig/src/plugins/virtual/virtual-config.c +++ dovecot-2.0.bet

Re: [Dovecot] 2.0 beta4 latest hg: segfault with virtual plugin

2010-06-12 Thread e-frog
On 09.05.2010 16:40, wrote e-frog: > On 16.04.2010 19:23, wrote e-frog: >> Hello Timo, >> >> latest 2.0 hg version (changeset a6b050cc4a9a) segfaults when selecting >> a virtual mailbox. >> > > The attached patch fixes this for me. Hello Timo, This cr

Re: [Dovecot] dovecot 2.0: * BAD Internal quota calculation error

2010-06-04 Thread e-frog
On 04.06.2010 19:26, wrote Timo Sirainen: > On pe, 2010-06-04 at 19:15 +0200, e-frog wrote: >> On 04.06.2010 19:08, wrote Timo Sirainen: >>> On pe, 2010-06-04 at 18:49 +0200, e-frog wrote: >>> >>>> I'm seeing * BAD Internal quota calculation error'

Re: [Dovecot] dovecot 2.0: * BAD Internal quota calculation error

2010-06-04 Thread e-frog
On 04.06.2010 19:08, wrote Timo Sirainen: > On pe, 2010-06-04 at 18:49 +0200, e-frog wrote: > >> I'm seeing * BAD Internal quota calculation error's with dovecot 2.0. > > It should also log an error about it? Hmm, actually even with mail_debug=yes I don't see any errors in the logs.

[Dovecot] dovecot 2.0: * BAD Internal quota calculation error

2010-06-04 Thread e-frog
AROOT "Drafts" "user" * QUOTA "user" () * BAD Internal quota calculation error 25 OK Getquotaroot completed. Reverting the following change fixes the issue http://hg.dovecot.org/dovecot-2.0/rev/50a0c05fb4e7 Thanks, e-frog

Re: [Dovecot] Sieve GUI

2010-06-01 Thread e-frog
On 01.06.2010 19:24, wrote Phil Howard: > On Tue, Jun 1, 2010 at 13:07, Gerhard Waldemair wrote: >>> Is there à GUI for sieve. >>> >>> I don't have installed Squrielmail, but won't like to manage the Rules per >>> ssh > > I would hope there would be a way to put Sieve scripts in place via > IMAP

Re: [Dovecot] Dovecot 1.2 - Quotas - Ignoring Trash folder

2010-05-30 Thread e-frog
On 30.05.2010 15:28, wrote Shayne Jellesma: > Hello e-frog, > > Thanks for your reply. I have made the changes you suggested and it is still > not working. > > The new updated SQL query is as follows: > user_query = SELECT maildir, 5000 AS uid, 5000 AS gid, CONCAT('*:s

Re: [Dovecot] Dovecot 1.2 - Quotas - Ignoring Trash folder

2010-05-30 Thread e-frog
, CONCAT('*:storage=', > quota, 'B') AS quota_rule FROM mailbox WHERE username = '%u' AND active = > '1' Insert a second quota_rule in your sql query 'Trash:ignore' AS quota_rule2 See also http://wiki.dovecot.org/Quota/1.1#Quota_rules Regards, e-frog

Re: [Dovecot] quota dict mysql not working (2.0.beta4)

2010-05-26 Thread e-frog
On 26.05.2010 16:32, wrote Timo Sirainen: > On Mon, 2010-05-24 at 00:47 +0400, Andrey Melnikov wrote: > >> after mysql_query() - mysql return right data (affected rows = 1), but >> there is no result to store (this is UPDATE/DELETE query), >> next unconditional call to mysql_store_result() return

Re: [Dovecot] quota dict mysql not working (2.0.beta4)

2010-05-25 Thread e-frog
On 20.05.2010 19:52, wrote Timo Sirainen: > On 5.5.2010, at 20.34, Michael Kliewe wrote: > >> -- dovecot-2.0.beta4-25/src/lib-sql/driver-mysql.c 2010-04-02 >> 16:47:13.0 +0400 >> +++ dovecot-2.0.beta4/src/lib-sql/driver-mysql.c2010-05-01 >> 03:29:02.0 +0400 >> @@ -630

Re: [Dovecot] Dovecot 2.0beta5 Quota/Dict

2010-05-16 Thread e-frog
On 16.05.2010 08:34, wrote Henrique Fernandes: > Confirmed, erro stils. code update at 14-05-10 > > []'sf.rique > > > On Sat, May 15, 2010 at 6:47 PM, Robert Schetterer > wrote: > >> Am 15.05.2010 18:28, schrieb e-frog: >> >> On 15.05.2

Re: [Dovecot] Dovecot 2.0beta5 Quota/Dict

2010-05-15 Thread e-frog
On 15.05.2010 17:17, wrote Robert Schetterer: > Am 15.05.2010 16:56, schrieb Henrique Fernandes: >> To get mny server to work i have to change de permissions like this, >> >> sleep 1 >> chmod 777 /var/run/dovecot/auth-userdb >> chmod 777 /var/run/dovecot/dict >> >> >> But about this

Re: [Dovecot] Dovecot 2.0beta5 Quota/Dict

2010-05-14 Thread e-frog
On 14.05.2010 22:54, wrote Andrey Melnikoff: > In article <4bedb367.8030...@gmx.de> you wrote: >> On 14.05.2010 22:12, wrote Henrique Fernandes: > May 14 17:03:40 dict: Panic: file driver-mysql.c: line 482 (transaction_send_query): assertion failed: (rows != (my_ulonglong)-1) > >> The p

Re: [Dovecot] Dovecot 2.0beta5 Quota/Dict

2010-05-14 Thread e-frog
On 14.05.2010 22:12, wrote Henrique Fernandes: >> May 14 17:03:40 dict: Panic: file driver-mysql.c: line 482 >> (transaction_send_query): assertion failed: (rows != (my_ulonglong)-1) The patch in http://www.dovecot.org/list/dovecot/2010-May/048705.html fixed this for me.

Re: [Dovecot] 2.0 beta4 latest hg: segfault with virtual plugin

2010-05-09 Thread e-frog
On 16.04.2010 19:23, wrote e-frog: > Hello Timo, > > latest 2.0 hg version (changeset a6b050cc4a9a) segfaults when selecting > a virtual mailbox. > The attached patch fixes this for me. diff -rupN dovecot-2.0.beta4/src/plugins/virtual/virtual-config.c dovecot-2.0.beta4.new/src/

[Dovecot] 2.0 beta4 latest hg: segfault with virtual plugin

2010-04-16 Thread e-frog
Hello Timo, latest 2.0 hg version (changeset a6b050cc4a9a) segfaults when selecting a virtual mailbox. Backtrace and dovecot -n are attached. Please let me know if I can help with anything else to debug this. Regards, e-frog Core was generated by `dovecot/imap'. Program terminated with s

Re: [Dovecot] Dovecot 2.0 - LDA auth-master issues

2010-04-09 Thread e-frog
group = mode = 0600 user = } } Regards, e-frog

Re: [Dovecot] Dovecot 2.0 and QUOTA capability

2010-04-08 Thread e-frog
On 08.04.2010 08:37, wrote Frode Nordahl: > > Den 8. apr. 2010 kl. 03.38 skrev Timo Sirainen : > >> On Thu, 2010-04-08 at 02:39 +0200, Frode Nordahl wrote: >>> Hello, >>> >>> In Dovecot 2.0 the QUOTA capability is not announced until after the >>> user has logged in. This breaks quota-support in

[Dovecot] Dovecot 2.0beta4 changset 11014 dict: Panic: file driver-mysql.c

2010-03-27 Thread e-frog
Remote disconnected Mar 27 11:45:51 ubuntu-test dovecot: lmtp(5262): Disconnect from local: Client quit Thanks, e-frog - # 2.0.beta4: /etc/dovecot/dovecot.conf # OS: Linux 2.6.31-20-generic-pae i686 Ubuntu 9.1

Re: [Dovecot] Dovecot v2.0.beta3 quota using userdb

2010-03-20 Thread e-frog
On 09.03.2010 16:00, wrote Timo Sirainen: > On Mon, 2010-02-22 at 21:39 +0100, e-frog wrote: > >> Hmm. This patch doesn't seem to fix it for me. There is still no "Quota >> rule" in the logs as before... > > This should finally fix it: > http://h

Re: [Dovecot] Dovecot v2.0.beta3 quota using userdb

2010-02-22 Thread e-frog
Timo Sirainen wrote: > On Sat, 2010-02-20 at 20:02 +0100, e-frog wrote: > >> I'm playing around with the new Dovecot v2.0.beta3 and don't seem to be >> able to get quotas working from userdb. I didn't change the SQL query >> which was working for 1.2.10. &g

[Dovecot] Dovecot v2.0.beta3 quota using userdb

2010-02-20 Thread e-frog
onary Feb 20 19:39:15 ubuntu-test dovecot: imap(test): Quota rule: root=user mailbox=* bytes=1073741824 messages=0 Feb 20 19:39:15 ubuntu-test dovecot: imap(test): dict quota: user=test, uri=proxy::dictionary, noenforcing=0 ... Has there any

Re: [Dovecot] 1.2.9 imap crash with backtrace

2010-01-21 Thread e-frog
Am 21.01.2010 18:14, schrieb Timo Sirainen: > On 21.1.2010, at 19.13, Timo Sirainen wrote: > >> On 21.1.2010, at 19.10, David Halik wrote: >> >>> This seems to have started since TB 3.0 came out. Especially, with the new >>> indexing feature they added. I'm not seeing it with Pine or SQMail >>>

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:

[Dovecot] virtual plugin: Broken mailbox list

2009-12-11 Thread e-frog
Hello Timo, 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: Broken mailbox list $ cat dovecot-virtual

Re: [Dovecot] fatal: no SASL authentication mechanisms

2009-08-09 Thread e-frog
Ebbe Hjorth wrote: > Aug 9 12:18:49 mail02 dovecot: auth(default): Authentication client trying > to connect to master socket > Aug 9 12:18:49 mail02 postfix/smtpd[1356]: fatal: no SASL authentication > mechanisms > socket: > type: listen > client: > path: /var/run/dovecot/auth-

Re: [Dovecot] dovecot v1.2.1 expire-tool with mail_log enabled

2009-07-13 Thread e-frog
Nikita Koshikov wrote: > This helps, Thank you. > > Now my expire-tool.sh looks like: > #!/bin/bash > MAIL_PLUGINS=${MAIL_PLUGINS//imap_quota/} > MAIL_PLUGINS=${MAIL_PLUGINS//mail_log/} > exec ${0%.sh} "$@" > > Maybe wiki should be updated to consider this trick ? How about this: http://wiki.d

Re: [Dovecot] dovecot v1.2.1 expire-tool with mail_log enabled

2009-07-13 Thread e-frog
Nikita Koshikov wrote: > Hello list, > > Sorry, if it has been asked, but searching throught list not give possitive > answers. > > After upgrade to dovecot version 1.2.1 expire-tool stoped working. I have > changed database format and config file to appropriative 1.2 version but: > > expire-t

Re: [Dovecot] 1.2rc5 Panic: file virtual-sync.c

2009-06-28 Thread e-frog
Timo Sirainen wrote: > On Mon, 2009-06-22 at 20:39 +0200, e-frog wrote: >> Trying to find a condition to reproduce the above issue I've seen an imap >> process >> consuming 100% CPU. Attaching gdb to the process I got the backtrace below. > .. >> #1 0xb7e9771c

Re: [Dovecot] 1.2rc5 Panic: file virtual-sync.c

2009-06-22 Thread e-frog
e-frog wrote: > Timo Sirainen schrieb: >> On Sat, 2009-06-06 at 16:18 +0200, e-frog wrote: >>> Jun 6 14:40:19 server dovecot: IMAP(user): Panic: file virtual-sync.c: >>> line 502 >>> (virtual_sync_mailbox_box_remove): assertion failed: (rec_count >=

Re: [Dovecot] expire-tool --test: timestamps

2009-06-16 Thread e-frog
Timo Sirainen schrieb: > On Tue, 2009-06-16 at 20:39 +0200, e-frog wrote: >>> Thanks. I fixed it a bit differently: >>> http://hg.dovecot.org/dovecot-1.2/rev/1d343780e009 >>> >> Thanks Timo! The timestamps are ok now, however there are still the newlines. >

Re: [Dovecot] 1.2rc5 Panic: file virtual-sync.c

2009-06-16 Thread e-frog
Timo Sirainen schrieb: > On Sat, 2009-06-06 at 16:18 +0200, e-frog wrote: >> Jun 6 14:40:19 server dovecot: IMAP(user): Panic: file virtual-sync.c: line >> 502 >> (virtual_sync_mailbox_box_remove): assertion failed: (rec_count >= >> uid_count) > > Hmm

Re: [Dovecot] expire-tool --test: timestamps

2009-06-16 Thread e-frog
Timo Sirainen schrieb: > On Sat, 2009-06-06 at 15:35 +0200, e-frog wrote: >> $ /usr/sbin/dovecot --exec-mail ext expire-tool --test >> Info: Trash: timestamp 1243963680 (Tue Jun 2 19:28:00 2009 >> ) -> 1244307774 (Tue Jun 2 19:28:00 2009 >> ) >> >> B

[Dovecot] 1.2rc5 Panic: file virtual-sync.c

2009-06-06 Thread e-frog
mail.log: Jun 6 14:40:19 server dovecot: IMAP(user): Panic: file virtual-sync.c: line 502 (virtual_sync_mailbox_box_remove): assertion failed: (rec_count >= uid_count) Jun 6 14:40:19 server dovecot: IMAP(user): Raw backtrace: imap [0x80f0d21] -> imap [0x80f0da2] -> imap [0x80f0

[Dovecot] expire-tool --test: timestamps

2009-06-06 Thread e-frog
$ /usr/sbin/dovecot --exec-mail ext expire-tool --test Info: Trash: timestamp 1243963680 (Tue Jun 2 19:28:00 2009 ) -> 1244307774 (Tue Jun 2 19:28:00 2009 ) Both human readable timestamps are equal as ctime() returns a pointer to a static buffer. In addition there are some newline characters ad

Re: [Dovecot] Expire/Quota error

2009-06-05 Thread e-frog
Matt Rude wrote: > Using both 1.2rc5 and hg version a9d3108d0cec from today, when I run the > expire tools program, I receive the following error. > > # /usr/local/sbin/dovecot --exec-mail ext > /usr/local/libexec/dovecot/expire-tool --test > > /usr/local/sbin/dovecot --exec-mail ext > /usr/local

Re: [Dovecot] sieve/dovecot folder separator inconsistency

2009-06-05 Thread e-frog
Daniel Mayer wrote: > Hi, > > I'm running dovecot 1.0.15 and ran recently into a problem with the > folder separators when using sieve scripts. > According to http://wiki.dovecot.org/LDA/Sieve -> "Mailbox names with fileinto" this only works for versions 1.1+

Re: [Dovecot] 1.2.beta1: expire-tool and 'mail_location' setting

2009-06-02 Thread e-frog
Original Message Subject: Re: [Dovecot] 1.2.beta1: expire-tool and 'mail_location' setting From: Timo Sirainen To: e-frog Date: 02.06.2009 23:21 On Tue, 2009-06-02 at 21:29 +0200, e-frog wrote: Adding imap_quota plugin to the mail_plugins for protocol imap

Re: [Dovecot] 1.2.beta1: expire-tool and 'mail_location' setting

2009-06-02 Thread e-frog
Then put mail_plugins setting outside protocol {}. >>> It looks like the mail_plugins setting outside protocol has no effect. >> .. >>> These are the settings from the protocol imap section. >> Oh, right. That's because of how it's implemented in v1.2. Kind of ugly, >> but I don't know i

Re: [Dovecot] 1.2.beta1: expire-tool and 'mail_location' setting

2009-06-01 Thread e-frog
Timo Sirainen schrieb: > On Mon, 2009-06-01 at 17:43 +0200, e-frog wrote: >>>> Thanks Timo! It works now as long as there is no namespace for the virtual >>>> plugin defined: >>> http://hg.dovecot.org/dovecot-1.2/rev/6fd725b94504 >>> http://hg.dovecot.

Re: [Dovecot] 1.2.beta1: expire-tool and 'mail_location' setting

2009-06-01 Thread e-frog
Timo Sirainen wrote: > On Mon, 2009-05-18 at 21:23 +0200, e-frog wrote: >> Timo Sirainen wrote: >>> On Sun, 2009-02-22 at 12:49 +0100, e-frog wrote: >>>> Trying 1.2.beta1 with expire plugin currently: >>>> When I set mail_location = maildir:~/.mail

Re: [Dovecot] 1.2.beta1: expire-tool and 'mail_location' setting

2009-05-18 Thread e-frog
Timo Sirainen wrote: > On Sun, 2009-02-22 at 12:49 +0100, e-frog wrote: >> Trying 1.2.beta1 with expire plugin currently: >> When I set mail_location = maildir:~/.maildir the expire plugin doesn't >> delete messages. > > Should be fixed in hg now. > >&

Re: [Dovecot] dovecot 1.2 ubuntu horde xi.rename-it.nl

2009-04-23 Thread e-frog
> > I encountered the same problem with Debian Lenny, so I now recompile > the package myself. It works well. > Same here on Ubuntu 8.10. However it doesn't compile out of the box. I use the following patch for the debian rules file to make it work. diff -upr dovecot-1.2.beta4.orig/debian/ru

Re: [Dovecot] Logging to see exactly all IMAP commands?

2009-04-18 Thread e-frog
Johan Persson wrote: > I was wondering if there is some additional logging that can be enabled to > make > it possible to have Dovecot print all actual IMAP commands it receives in a > conversation? > > /Johan > See here: http://wiki.dovecot.org/Debugging/Rawlog

Re: [Dovecot] 1.2.beta4: Fatal: io_loop_handle_add: epoll_ctl(1, 11): Bad file descriptor

2009-04-02 Thread e-frog
> I think this also fixes it: > http://hg.dovecot.org/dovecot-1.2/rev/7ddf32656d8c Yes, that fixes it. Thanks Timo!

[Dovecot] 1.2.beta4: Fatal: io_loop_handle_add: epoll_ctl(1, 11): Bad file descriptor

2009-03-27 Thread e-frog
Whenever dovecot is stopped while a dict process is running I see Fatal: io_loop_handle_add: epoll_ctl(1, 11): Bad file descriptor in the error log. The following patch fixes this for me. I'm sure there is a better way though. --- dovecot-1.2.beta4/src/master/dict-process.c.orig2009-03

  1   2   >