Re: [Dovecot] domain quota in sql

2012-02-15 Thread Adam Szpakowski
On 15.02.2012 08:47, Robert Schetterer wrote: Hi i am not sure what are trying to goal with domain quota, if you setup your accounts i.e with postfixadmin etc then its up to the gui logic , stopping postmasters to setup more accounts ( with quotas ) as you ( the superadmin ) want. My fault, I

Re: [Dovecot] MySQL server has gone away / dict ?

2012-02-15 Thread Robert Schetterer
Am 28.01.2012 22:06, schrieb Robert Schetterer: Am 28.01.2012 21:07, schrieb Timo Sirainen: On 13.1.2012, at 20.29, Mark Moseley wrote: If there are multiple hosts, it seems like the most robust thing to do would be to exhaust the existing connections and if none of those succeed, then start

Re: [Dovecot] domain quota in sql

2012-02-15 Thread Robert Schetterer
Am 15.02.2012 09:07, schrieb Adam Szpakowski: On 15.02.2012 08:47, Robert Schetterer wrote: Hi i am not sure what are trying to goal with domain quota, if you setup your accounts i.e with postfixadmin etc then its up to the gui logic , stopping postmasters to setup more accounts ( with quotas

Re: [Dovecot] domain quota in sql

2012-02-15 Thread Adam Szpakowski
On 15.02.2012 09:19, Robert Schetterer wrote: as workaround it should be possible to calculate filllevel by domain with some bash script and cron sending an info mail to you might be not exact, but enough to see whats going on ( depends on your real domain/mailbox setup...maildir etc) [cut]

Re: [Dovecot] domain quota in sql

2012-02-15 Thread Przemysław Orzechowski
Hi Im not an expert in Dovecot but what prohibits you adding a field to the table Dovecot will not use it thats all Im not sure what version of database You are using but postgres,oracle and never versions of mysql have something called views (could be used to hide the additional column from

Re: [Dovecot] log message about client_limit may in fact be due to ulimit

2012-02-15 Thread Christoph Bußenius
On 15.02.2012 03:37, Timo Sirainen wrote: On 15.2.2012, at 4.35, Timo Sirainen wrote: Oh, this is most likely related because you're not running in high-performance login process mode, unlike pretty much everyone else running proxies: http://wiki2.dovecot.org/LoginProcess Since yesterday all

Re: [Dovecot] dsync, hard-links and refcounts

2012-02-15 Thread Christoph Bußenius
On 15.02.2012 04:46, Timo Sirainen wrote: The attached patch fixes it. I'll commit it to v2.1 hg after I'll release v2.1.0.. Thanks. I guess it would be wise to upgrade our new Dovecot mail store to 2.1 before we migrate all our Courier maildir users to it... Cheers, Chnristoph --

Re: [Dovecot] log message about client_limit may in fact be due to ulimit

2012-02-15 Thread Timo Sirainen
On 15.2.2012, at 10.51, Christoph Bußenius wrote: Do you see some error message also about Too many open files, Ah, now that I grep for it, I see those messages too :) During one hour, the messages were logged with the following number of occurrences: - Twice: dovecot: anvil: Error:

Re: [Dovecot] pop3 not autocreating directory structure

2012-02-15 Thread Jan-Frode Myklebust
On Wed, Feb 15, 2012 at 03:49:21AM +0200, Timo Sirainen wrote: Looking at the timestamps in the filesystem I see that the users home directory wasn't created before switcing to imap. Is this a know problem? Probably again a bug in your specific Dovecot version. :) I remember doing

Re: [Dovecot] pop3 not autocreating directory structure

2012-02-15 Thread Timo Sirainen
On Wed, 2012-02-15 at 12:52 +0100, Jan-Frode Myklebust wrote: Is it maybe changeset 11683:148fccbe9f32 you remeber: - - maildir: sometimes rm -rf Maildir;imaptest logout=0 gives - Error: Opening INBOX failed: Mailbox doesn't exist: INBOX That's probably maildir-specific. But

Re: [Dovecot] domain quota in sql

2012-02-15 Thread Timo Sirainen
On Wed, 2012-02-15 at 08:26 +0100, Adam Szpakowski wrote: On 15.02.2012 02:55, Timo Sirainen wrote: On 15.2.2012, at 3.54, Timo Sirainen wrote: Domain-quota support in Dovecot is only partial. Recalculating domain quota would require more code. Last time when someone asked about this I

Re: [Dovecot] MySQL server has gone away / dict ?

2012-02-15 Thread Timo Sirainen
On Wed, 2012-02-15 at 09:10 +0100, Robert Schetterer wrote: Hi Timo,just to make sure i have an extra dovecot-dict-quota-sql.conf.ext ( dove 2.0.18 ) connect = host=192.168.123.150 dbname=.. user=... password=... .. is it possible to have i.e connect = host=192.168.123.150 host=127.0.0.1

[Dovecot] Dovecot-2.0.18 and Dovecot-Pigeonwhole-0.2.6

2012-02-15 Thread Ralf Zimmermann
Hi all, today I have compiled Dovecot-2.0.18 with Dovecot-Pigeonwhole-0.2.6. Now I have following Problem with sieve: %- main_script: line 249: error: included personal script 'vacation.sieve' does not exist. main_script:

Re: [Dovecot] Dovecot-2.0.18 and Dovecot-Pigeonwhole-0.2.6

2012-02-15 Thread Timo Sirainen
On 15.2.2012, at 16.55, Ralf Zimmermann wrote: main_script: line 249: error: included personal script 'vacation.sieve' does not exist. .. If I use Dovecot-2.0.17 and Dovecot-Pigeonwhole-0.2.5 with the same configuration I can define include :personal vacation.sieve; include :personal

Re: [Dovecot] 2.1.rc5 Cannot delete folders from trash

2012-02-15 Thread Daniel L. Miller
On 2/14/2012 4:42 PM, Willie Gillespie wrote: On 02/14/2012 01:40 PM, Daniel L. Miller wrote: On 2/14/2012 12:06 PM, Willie Gillespie wrote: On 2/13/2012 8:34 PM, Daniel L. Miller wrote: I'm fighting the same issue. With the current release (2.1rc6) no errors are logged - but I'm having

Re: [Dovecot] Dovecot-2.0.18 and Dovecot-Pigeonwhole-0.2.6lL

2012-02-15 Thread Thomas Leuxner
On Wed, Feb 15, 2012 at 03:55:28PM +0100, Ralf Zimmermann wrote: If I use Dovecot-2.0.17 and Dovecot-Pigeonwhole-0.2.5 with the same configuration I can define include :personal vacation.sieve; in my main sieve script. All works fine. Changelog v0.2.6: * This release fixes

Re: [Dovecot] Dovecot-2.0.18 and Dovecot-Pigeonwhole-0.2.6lL

2012-02-15 Thread Ralf Zimmermann
Thanks Thomas and Timo for the fast answer. Next time I'll read the News file ;-) It' works now. On 02/15/2012 04:14 PM, Thomas Leuxner wrote: On Wed, Feb 15, 2012 at 03:55:28PM +0100, Ralf Zimmermann wrote: If I use Dovecot-2.0.17 and Dovecot-Pigeonwhole-0.2.5 with the same configuration I

Re: [Dovecot] MySQL server has gone away / dict ?

2012-02-15 Thread Robert Schetterer
Am 15.02.2012 14:07, schrieb Timo Sirainen: On Wed, 2012-02-15 at 09:10 +0100, Robert Schetterer wrote: Hi Timo,just to make sure i have an extra dovecot-dict-quota-sql.conf.ext ( dove 2.0.18 ) connect = host=192.168.123.150 dbname=.. user=... password=... .. is it possible to have i.e

Re: [Dovecot] MySQL server has gone away / dict ?

2012-02-15 Thread Robert Schetterer
Am 15.02.2012 17:10, schrieb Robert Schetterer: Am 15.02.2012 14:07, schrieb Timo Sirainen: On Wed, 2012-02-15 at 09:10 +0100, Robert Schetterer wrote: Hi Timo,just to make sure i have an extra dovecot-dict-quota-sql.conf.ext ( dove 2.0.18 ) connect = host=192.168.123.150 dbname=.. user=...

Re: [Dovecot] MySQL server has gone away / dict ?

2012-02-15 Thread Timo Sirainen
On 15.2.2012, at 20.22, Robert Schetterer wrote: sorry for some more question what is the default behave if dict quota over sql cant be reached i.e with lmtp something like log warning and deliver anyway ? I think it tempfails. Try.

Re: [Dovecot] Dovecot v2.2 plans

2012-02-15 Thread Timo Sirainen
On 15.2.2012, at 5.08, l...@airstreamcomm.net l...@airstreamcomm.net wrote: I know you mentioned you would cover this in a coming post, but we were curious what the new dsync replication will be capable of. Would it monitor changes to mailboxes and push automatic replication to the remote

Re: [Dovecot] Dovecot v2.2 plans

2012-02-15 Thread Timo Sirainen
On 15.2.2012, at 20.51, Timo Sirainen wrote: The initial version is really about doing all of this with NFS. In NFS setup if two replaced storages two replicated storages.. ugh. are both mounted and the primary storage dies, Dovecot will start using the replica. So that's HA.

Re: [Dovecot] Dovecot v2.2 plans

2012-02-15 Thread Mark Moseley
On Mon, Feb 13, 2012 at 3:47 AM, Timo Sirainen t...@iki.fi wrote: Here's a list of things I've been thinking about implementing for Dovecot v2.2. Probably not all of them will make it, but I'm at least interested in working on these if I have time. Previously I've mostly been working on

Re: [Dovecot] Dovecot v2.2 plans

2012-02-15 Thread Timo Sirainen
On 15.2.2012, at 21.02, Mark Moseley wrote: Not to beat a dead horse, but the ability to use remote directors might be interesting. It'd make moving into a director setup probably a bit more easy. Then any server could proxy to the backend servers, but without losing the advantage of

Re: [Dovecot] domain quota in sql

2012-02-15 Thread Adam Szpakowski
On 15.02.2012 14:05, Timo Sirainen wrote: Is there a way to add domainname as another collumn in dbase? This will simplify the SQL query and the GROUP BY could be used. Not currently. Perhaps for v2.2 dict-sql redesign. It will be great feature. Well, yeah, it kind of works, but not 100% :)

Re: [Dovecot] MySQL server has gone away / dict ?

2012-02-15 Thread Robert Schetterer
Am 15.02.2012 19:43, schrieb Timo Sirainen: On 15.2.2012, at 20.22, Robert Schetterer wrote: sorry for some more question what is the default behave if dict quota over sql cant be reached i.e with lmtp something like log warning and deliver anyway ? I think it tempfails. Try. hm, test

[Dovecot] 2.1b6 imapc sync error

2012-02-15 Thread Metro Domain Admin
I received this error at the end of a migration from imapc to mdbox. Is it because I wanted doveadm 'sync' instead of 'backup'? I didn't get time to do any testing, but since you're pushing for the release, here it is: kerio2:~ adminuser$ /opt/dovecot/bin/doveadm -o imapc_user=jsample -o

Re: [Dovecot] 2.1b6 imapc sync error

2012-02-15 Thread Timo Sirainen
On 15.2.2012, at 21.30, Metro Domain Admin wrote: I received this error at the end of a migration from imapc to mdbox. Is it because I wanted doveadm 'sync' instead of 'backup'? I didn't get time to do any testing, but since you're pushing for the release, here it is: kerio2:~ adminuser$

Re: [Dovecot] MySQL server has gone away / dict ? tests done

2012-02-15 Thread Robert Schetterer
Am 15.02.2012 20:10, schrieb Robert Schetterer: Am 15.02.2012 19:43, schrieb Timo Sirainen: On 15.2.2012, at 20.22, Robert Schetterer wrote: sorry for some more question what is the default behave if dict quota over sql cant be reached i.e with lmtp something like log warning and deliver

Re: [Dovecot] 2.1b6 imapc sync error

2012-02-15 Thread Metro Domain Admin
On Wed, Feb 15, 2012, at 10:50 PM, Timo Sirainen wrote: On 15.2.2012, at 22.48, Metro Domain Admin wrote: On Wed, Feb 15, 2012, at 09:36 PM, Timo Sirainen wrote: Yes, it's because of sync. The Not supported comes from imapc backend, because Dovecot tried to do some changes to it that

Re: [Dovecot] [Dovecot 2.1] imap service crash when using some clients

2012-02-15 Thread interfaSys sàrl
Hello, Here is a more meanigful backtrace. It happens every time I log in, using any imap client. * Core was generated by `imap'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/dovecot/libdovecot-storage.so.0...done. Loaded symbols for

Re: [Dovecot] index synchronization during local delivery

2012-02-15 Thread Andy YB Hu
Tried it, found it could trigger NFS issue. The test is on one machine runs the script to lock the dovecot-uidlist, moving mail into cur/new, append one line to dovecot-uidlist, and unlock it. On another different machine, run one script to SELECT, another script to COPY. Found the similar

[Dovecot] Something is strange - perhaps my AMD processors ?

2012-02-15 Thread Finn B
Moi Timo / all. I've been using Dovecot on my Qmailtoaster production mailserver for some years - since 1.0.7 and current Version 2.0.10 - works perfectly. Now I am installing a backupsystem and a VM testsystem (2 boxes) - and no matter how and what Version I am installing on these 2 boxes I get

Re: [Dovecot] index synchronization during local delivery

2012-02-15 Thread Timo Sirainen
On 16.2.2012, at 5.59, Andy YB Hu wrote: Tried it, found it could trigger NFS issue. .. Whether it means the dovecot LDA also needs to run on the same server with the backend server? Yes, the only 100% safe way is to do all simultaneous mailbox access via the same backend server.

Re: [Dovecot] index synchronization during local delivery

2012-02-15 Thread Andy YB Hu
Sounds a little tricky. For backend server, director makes sense. But for LDA, it's also suggested to deploy the LDA on the same machine with backend server? Topologically, it's very possible the machine where LDA is running is separated from one of backend server. I will run the similar tests

Re: [Dovecot] index synchronization during local delivery

2012-02-15 Thread Timo Sirainen
On 16.2.2012, at 8.25, Andy YB Hu wrote: Sounds a little tricky. For backend server, director makes sense. But for LDA, it's also suggested to deploy the LDA on the same machine with backend server? Topologically, it's very possible the machine where LDA is running is separated from one of

Re: [Dovecot] Something is strange - perhaps my AMD processors ?

2012-02-15 Thread Patrick Westenberg
On Thu, 16 Feb 2012 02:04:52 +0100, Finn B f...@kirstineslund.dk wrote: Now I come to think of it I realize that my production system is intel based and the 2 new ones are AMD based and wonder if this may be the case ? Dovecot 2.0.3 to 2.0.16 works fine on my DualCore Opterons (VMs).