Re: [Dovecot] MASTER_AUTH_MAX_DATA_SIZE

2012-01-12 Thread Timo Sirainen
On 12.1.2012, at 1.09, Mike Abbott wrote: In 2.0.17 you increased LOGIN_MAX_INBUF_SIZE from 1024 to 4096. Should you also have increased MASTER_AUTH_MAX_DATA_SIZE from (1024*2) to (4096*2)? /* This should be kept in sync with LOGIN_MAX_INBUF_SIZE. Multiply it by two to make sure there's

Re: [Dovecot] (no subject)

2012-01-12 Thread Timo Sirainen
On 11.1.2012, at 20.53, Geoffrey Broadwell wrote: So now the hard part is writing the piece that I can't just crib from elsewhere -- making sure that I hook every place in Dovecot that the user's voicemail folder can be changed in a way that would change it between having one or more unread

Re: [Dovecot] MySQL server has gone away

2012-01-13 Thread Timo Sirainen
On 13.1.2012, at 4.00, Mark Moseley wrote: I'm running 2.0.17 and I'm still seeing a decent amount of MySQL server has gone away errors, despite having multiple hosts defined in my auth userdb 'connect'. This is Debian Lenny 32-bit and I'm seeing the same thing with 2.0.16 on Debian Squeeze

Re: [Dovecot] more than 200 imap processes for one user

2012-01-13 Thread Timo Sirainen
On 13.1.2012, at 11.01, Götz Reinicke wrote: recently I noticed, that our dovecot server (RH EL 5.7 dovecot-1.0.7-7.el5_7.1) 'fires' up a lot of imap processes only for one user. v1.1+ limits this to 10 processes by default. Dose anyone has an idea, what could be the cause? Some client

Re: [Dovecot] Trying to get metadata plugin working

2012-01-16 Thread Timo Sirainen
On 16.1.2012, at 17.51, Thomas Koch wrote: dict: Error: file dict commit: file_dotlock_open(~/Maildir/shared-metadata) failed: No such file or directory It's not expanding ~/ dict { metadata = file:~/Maildir/shared-metadata Use %h/ instead of ~/

Re: [Dovecot] Trying to get metadata plugin working

2012-01-16 Thread Timo Sirainen
On 16.1.2012, at 20.26, Thomas Koch wrote: Timo Sirainen: Use %h/ instead of ~/ Hi Timo, it doesn't expand either %h nor %%h. Oh, right, wrong place. If you make it go through proxy, it doesn't do any expansion. It's then accessed by the dict process (which probably runs as dovecot

Re: [Dovecot] little bug with Director in 2.1?

2012-01-17 Thread Timo Sirainen
Hi, On Tue, 2012-01-10 at 16:16 +0100, Luca Di Vizio wrote: in 2.1rc3 the director_servers setting does not accept hostnames as documented (with ip no problems). It works correctly in 2.0.17. The problem most likely was that v2.1 chroots the director process by default, but it did it a bit

Re: [Dovecot] resolve mail_home ?

2012-01-17 Thread Timo Sirainen
On Tue, 2012-01-17 at 09:36 +0100, Jan-Frode Myklebust wrote: I now have mail_home = /srv/mailstore/%256RHu/%d/%n. Is there any way of asking dovecot where a user's home directory is? No.. It's not in doveadm user: $ doveadm user -f home janfr...@lyse.net $ doveadm user

Re: [Dovecot] per-user limit?

2012-01-17 Thread Timo Sirainen
On Mon, 2012-01-16 at 10:15 +0100, Peter Hessler wrote: I am seeing a problem where users are limited to 6 imap logins total. One of my users has a bunch of phones and computers, and wants them all on at the same time. I'm looking through my configuration, and I cannot see a limit on how

Re: [Dovecot] imap-login process_limit reached

2012-01-18 Thread Timo Sirainen
On Mon, 2012-01-16 at 14:41 -0800, Don Buchholz wrote: I've been having some problems with IMAP user connections to the Dovecot (v2.0.8) server. The following message is being logged. Jan 16 10:51:36 postal dovecot: master: Warning: service(imap-login): process_limit reached,

[Dovecot] Dovecot Solutions company update

2012-01-18 Thread Timo Sirainen
Hi, A small update: My Dovecot support company finally has web pages: http://www.dovecot.fi/ We've also started providing 24/7 support.

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Timo Sirainen
On Wed, 2012-01-18 at 20:44 +0800, Lee Standen wrote: I've been desperately trying to find some comparative performance information about the different mailbox formats supported by Dovecot in order to make an assessment on which format is right for our environment. Unfortunately there aren't

Re: [Dovecot] Dovecot unable to locate mailbox

2012-01-18 Thread Timo Sirainen
On Mon, 2012-01-16 at 14:38 +0200, Jason X, Maney wrote: Jan 16 14:18:16 myservername dovecot: pop3(userA): Error: user molla: Initialization failed: mail_location not set and autodetection failed: Mail storage autodetection failed with home=/home/userA As it says. Yet my config also come

Re: [Dovecot] Antispam plugin not compatible with Dovecot 2.1

2012-01-18 Thread Timo Sirainen
On Tue, 2012-01-17 at 11:07 +, interfaSys sàrl wrote: Here is what I get when I try to compile the antispam plugin agaisnt Dovecot 2.1 ** mailbox.c: In function 'antispam_save_begin': mailbox.c:138:12: error: 'struct mail_save_context' has no member named 'copying' The

Re: [Dovecot] LMTP Logging

2012-01-18 Thread Timo Sirainen
On Mon, 2012-01-16 at 17:17 -0800, Mark Moseley wrote: Just had a minor suggestion, with no clue how hard/easy it would be to implement: The %f flag in deliver_log_format seems to pick up the From: header, instead of the MAIL FROM:... arg. It'd be handy to have a %F that shows the MAIL FROM

Re: [Dovecot] Quota is not working (Debian Squeeze - Dovecot 1.2)

2012-01-18 Thread Timo Sirainen
On Mon, 2012-01-16 at 11:42 +0100, RaSca wrote: passdb sql { args = /etc/dovecot/dovecot-sql.conf } userdb passwd { } userdb static { args = uid=5000 gid=5000 home=/mail/mailboxes/%d/%n@%d allow_all_users=yes } You're using SQL only for passdb lookup. plugin {

Re: [Dovecot] v2.1.rc3 released

2012-01-18 Thread Timo Sirainen
On Mon, 2012-01-16 at 17:05 +0200, Kirill A. Shutemov wrote: ./autogen failed: $ ./autogen.sh libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Timo Sirainen
On Wed, 2012-01-18 at 22:36 +0800, Lee Standen wrote: How about this... are there any tools available (that you know of) to capture real live customer POP3/IMAP traffic and replay it against a separate system? That might be a feasible option for doing a like-for-like comparison in our

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Timo Sirainen
On Wed, 2012-01-18 at 23:21 +0800, Lee Standen wrote: Out of interest, has the NFS issue been tested on NFS4? My understanding is that NFS4 has a lot of fixes for the locking/caching problems that plague NFS3, and we were planning to use NFS4 from day one. I've tried with Linux NFS4

Re: [Dovecot] 2.1.rc3 (1a722c7676bb): doveadm mailbox list - Segmentation fault

2012-01-18 Thread Timo Sirainen
On Sun, 2012-01-15 at 14:11 +0100, Pascal Volk wrote: Core was generated by `doveadm mailbox list -u jane@example.com /*'. Finally fixed: http://hg.dovecot.org/dovecot-2.1/rev/99ea6da7dc99

Re: [Dovecot] v2.x services documentation

2012-01-18 Thread Timo Sirainen
On Sat, 2012-01-14 at 18:03 +0100, Axel Luttgens wrote: Up to now, I only had the opportunity to quickly read the wiki page, and have a small question; one may read: process_min_avail Minimum number of processes that always should be available to accept more client connections. For

Re: [Dovecot] Antispam plugin not compatible with Dovecot 2.1

2012-01-18 Thread Timo Sirainen
On Wed, 2012-01-18 at 18:19 +0200, Eugene Paskevich wrote: mailbox.c: In function 'antispam_save_begin': mailbox.c:138:12: error: 'struct mail_save_context' has no member named 'copying' The copying should be changed to copying_via_save. Thank you, Timo. Would #if DOVECOT_IS_GE(2,1)

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Timo Sirainen
On 18.1.2012, at 19.54, Mark Moseley wrote: I'm in the middle of working on a Maildir-mdbox migration as well, and likewise, over NFS (all Netapps but moving to Sun), and likewise with split LDA and IMAP/POP servers (and both of those served out of pools). I was hoping doing things like

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Timo Sirainen
On 18.1.2012, at 20.51, Jan-Frode Myklebust wrote: On Wed, Jan 18, 2012 at 07:58:31PM +0200, Timo Sirainen wrote: --i.e. all the suggestions at http://wiki2.dovecot.org/NFS. Is that definitely not the case? Is there anything else (beyond moving to a director-based architecture) that can

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Timo Sirainen
On 18.1.2012, at 22.14, Jan-Frode Myklebust wrote: unfortunately I haven't tested that patch, so I have no idea if it fixed the issues or not... I'm not sure if that patch is useful or not. The important patch to fix it is http://hg.dovecot.org/dovecot-2.0/rev/71084b799a6c So with that

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Timo Sirainen
On 18.1.2012, at 21.49, Mark Moseley wrote: What's the problem with director-based architecture? Nothing, per se. It's just that migrating to mdbox *and* to a director architecture is quite a bit more added complexity than simply migrating to mdbox alone. Yes, I agree it's safer to do one

Re: [Dovecot] Quota won't work

2012-01-18 Thread Timo Sirainen
On 18.1.2012, at 22.41, Markus Fritz wrote: passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: static args: uid=5000 gid=5000 home=/var/vmail/%d/%n/Maildir allow_all_users=yes You use sql as passdb, static as userdb. password_query = SELECT email as

Re: [Dovecot] MASTER_AUTH_MAX_DATA_SIZE

2012-01-19 Thread Timo Sirainen
On Thu, 2012-01-12 at 22:20 +0200, Timo Sirainen wrote: On 12.1.2012, at 1.09, Mike Abbott wrote: In 2.0.17 you increased LOGIN_MAX_INBUF_SIZE from 1024 to 4096. Should you also have increased MASTER_AUTH_MAX_DATA_SIZE from (1024*2) to (4096*2)? /* This should be kept in sync

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-19 Thread Timo Sirainen
On 19.1.2012, at 6.39, Stan Hoeppner wrote: You're going to run into NFS caching troubles with the above split setup. I don't recommend it. You will see error messages about index corruption with it, and with dbox it can cause metadata loss. http://wiki2.dovecot.org/NFS

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-19 Thread Timo Sirainen
On 19.1.2012, at 19.08, Mark Moseley wrote: namespace { separator = / prefix = #mbox/ location = mbox:~/mail:INBOX=/var/mail/%u:INDEX=MEMORY inbox = yes hidden = yes list = no } Client access to new mail might be a little slower, but if it eliminates the index corruption issue

Re: [Dovecot] shared folder files not displaying in thunderbird

2012-01-19 Thread Timo Sirainen
On 18.1.2012, at 16.20, Eric Broch wrote: I have dovecot installed with the configuration below. One of the subfolders created (using the email client) under the '/home/vpopmail/domains/mydomain.com/shared/projects' share no longer (it used to) displays the files located in it. There are

Re: [Dovecot] Problems sending email direct into publich folders

2012-01-19 Thread Timo Sirainen
On 19.1.2012, at 14.02, Bohlken, Henning wrote: i want to send mails direct into a public folder. If i send an email via my local postfix the mail will be handled as a normal private mail. Dovecot does create a mailbox in the private Namespace and do use not the mailbox in public one.

Re: [Dovecot] shared folder files not displaying in thunderbird

2012-01-19 Thread Timo Sirainen
On 19.1.2012, at 23.03, Eric Broch wrote: Have you checked if the files are actually still there in the maildir? I've done a list (ls -la) of the directory where the files reside (path.to.share.sub.dir/cur). They exist. You can check if this is a server problem or a client problem by

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-19 Thread Timo Sirainen
On 20.1.2012, at 1.51, Stan Hoeppner wrote: I spent a decent amount of time last night researching the NFS cache issue. It seems there is no way to completely disable NFS client caching (in lie of rewriting the code oneself--a daunting tak), which would seem to be the real solution to the

Re: [Dovecot] MySQL server has gone away

2012-01-20 Thread Timo Sirainen
On 14.1.2012, at 1.19, Mark Moseley wrote: Also another idea to avoid them in the first place: service auth-worker { idle_kill = 20 } Ah, set the auth-worker timeout to less than the mysql timeout to prevent a stale mysql connection from ever being used. I'll try that, thanks. I

Re: [Dovecot] MySQL server has gone away

2012-01-20 Thread Timo Sirainen
On 14.1.2012, at 2.19, Paul B. Henson wrote: On Fri, Jan 13, 2012 at 11:38:28AM -0800, Robert Schetterer wrote: by the way , if you use sql for auth have you tried auth caching ? http://wiki.dovecot.org/Authentication/Caching That page says you can send a USR2 signal to the auth process

Re: [Dovecot] Notify plugin: segmentation fault

2012-01-20 Thread Timo Sirainen
On 01/20/2012 02:35 PM, Ewald Dieterich wrote: I'm trying to develop a plugin that uses the hooks provided by the notify plugin. The notify plugin segfaults if you don't set the mailbox_rename hook. I attached a patch to notify-plugin.c from Dovecot 2.0.16 that should fix this. Fixed,

Re: [Dovecot] UID 0 problem while issuing an UID THREAD REFS command

2012-01-20 Thread Timo Sirainen
On 01/20/2012 06:24 PM, Jesús M. Navarro wrote: I'm having problems on a maildir due to dovecot returning an UID 0 to an UID THREAD REFS command: I think that, as per a previous answer from Timo Sirainen*1, this should be considered a dovecot's bug, am I right? Anyway, what should I try

Re: [Dovecot] mail_max_userip_connections exceeded.

2012-01-20 Thread Timo Sirainen
On 01/20/2012 06:06 PM, Simon Brereton wrote: I have this error in the logs. /var/log/mail.log.1:2490:Jan 19 12:02:55 mail dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections): user=u...@example.com, method=PLAIN, rip=127.0.0.1, secured I never

Re: [Dovecot] LMTP ignoring tcpwrappers

2012-01-20 Thread Timo Sirainen
On 20.1.2012, at 0.30, Harm Weites wrote: we want to use dovecot LMTP for efficient mail delivery from our MX servers (running postfix 2.8) to our storage servers (dovecot 2.0.17). However, the one problem we see is the lack of access control when using LMTP. It apears that every client in

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-20 Thread Timo Sirainen
On 20.1.2012, at 4.27, Stan Hoeppner wrote: I spent months looking into NFS related issues. I read through Linux and FreeBSD kernel source codes to figure out if there's something I could do to avoid the problems I see. I sent some patches to try to improve things, which of course didn't

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-20 Thread Timo Sirainen
On 20.1.2012, at 9.43, Robert Schetterer wrote: i.e i think it should be poosible to design partitioning with ldap or sql to i.e split up heavy and big mailboxes in seperate storage partitions etc am i right here Timo ? You can use per-user home or mail_location that points to different

Re: [Dovecot] Clients show .subscriptions folder

2012-01-20 Thread Timo Sirainen
On 10.1.2012, at 18.34, Mark Sapiro wrote: Since upgrading from dovecot-2.1.rc1 to dovecot-2.1.rc3, some clients are showing a .subscriptions file in the user's mbox path as a folder. Fixed: http://hg.dovecot.org/dovecot-2.1/rev/958ef86e7f5b

Re: [Dovecot] MySQL server has gone away

2012-01-20 Thread Timo Sirainen
On 20.1.2012, at 19.16, Timo Sirainen wrote: This is fixed in v2.1 hg. The default idle_kill of 60 seconds seems to have gotten rid of the MySQL server has gone away errors completely. So I guess the problem was that during some peak times a ton of auth worker processes were created

Re: [Dovecot] Director questions

2012-01-23 Thread Timo Sirainen
On 23.1.2012, at 21.13, Mark Moseley wrote: In playing with dovecot director, a couple of things came up, one related to the other: 1) Is there an effective maximum of directors that shouldn't be exceeded? That is, even if technically possible, that I shouldn't go over? There's no

Re: [Dovecot] make imap search less verbose

2012-01-23 Thread Timo Sirainen
On 23.1.2012, at 23.48, Jan-Frode Myklebust wrote: We have an imap-client (SOGo) that doesn't handle this status output while searching: * OK Searched 76% of the mailbox, ETA 0:50 Is there any way to disable this output on the dovecot-side? No way to disable it without modifying

Re: [Dovecot] make imap search less verbose

2012-01-23 Thread Timo Sirainen
On 24.1.2012, at 0.19, Jan-Frode Myklebust wrote: On Mon, Jan 23, 2012 at 11:56:49PM +0200, Timo Sirainen wrote: No way to disable it without modifying code. I think SOGo should fix it anyway.. Ok, thanks. SOGo will get fixed. I was just looking for a quick workaround while we wait

[Dovecot] dbox + SIS + zlib fixed

2012-01-23 Thread Timo Sirainen
I think a few people have complained about this combination being somewhat broken, resulting in bogus cached message size wrong errors sometimes. This fixes it: http://hg.dovecot.org/dovecot-2.0/rev/9b2931607063

Re: [Dovecot] Capabilities of imapc

2012-01-24 Thread Timo Sirainen
On 24.1.2012, at 11.22, René Neumann wrote: I can't find any decent information about the capabilities of imapc in the planned future dovecot releases. Mainly it's about adding support for more IMAP commands (e.g. SEARCH), so that it doesn't necessarily have to be used as a rather dummy

Re: [Dovecot] Persistence of UIDs

2012-01-25 Thread Timo Sirainen
On 25.1.2012, at 5.22, Jean-Daniel Beaubien wrote: I have a question concerning UIDs. How persistant are they? With Dovecot persistent enough. But as Michael said, check UIDVALIDITY. I am thinking about building some form of webmail specialized for some specific business purpose and I am

Re: [Dovecot] Persistence of UIDs

2012-01-25 Thread Timo Sirainen
On 25.1.2012, at 15.34, Jean-Daniel Beaubien wrote: I am thinking about building some form of webmail specialized for some specific business purpose and I am thinking of building a sort of cache in a DB by storing the email addr, date, subject and UID for quick lookups and search of

[Dovecot] v2.1.rc5 released

2012-01-25 Thread Timo Sirainen
http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc5.tar.gz http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc5.tar.gz.sig I'm still lagging behind reading emails. v2.1.0 will be released after I've finished that. RC5 is already stable and used in production, but I want to make sure that I haven't

[Dovecot] FOSDEM

2012-01-25 Thread Timo Sirainen
I'll be in FOSDEM giving a small lightning talk about Dovecot: http://fosdem.org/2012/schedule/event/dovecot I'll also be around in FOSDEM the whole time, so if you're there and want to talk to me about anything, send me an email at some point. Poll to dovecot-news list people: Do you want to

Re: [Dovecot] Crash on mail folder delete

2012-01-25 Thread Timo Sirainen
On 26.1.2012, at 1.37, Daniel L. Miller wrote: Attempting to delete a folder from within the trash folder using Thunderbird. I see the following in the log: Dovecot version?

Re: [Dovecot] Persistence of UIDs

2012-01-26 Thread Timo Sirainen
On 26.1.2012, at 14.03, Charles Marcus wrote: On 2012-01-25 8:40 PM, Jean-Daniel Beaubien jd.beaub...@gmail.com wrote: I'd just like to confirm that there is no risk to the actual mail data is ever something is badly configured when I start dovecot 2.1. I am managing this old server on my

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Timo Sirainen
On 26.1.2012, at 6.31, Gedalya wrote: I'm facing the need to migrate from a proprietary IMAP server to Dovecot. The migration must be as smooth and transparent as possible. The mailbox format I would want to use is Maildir++. The storage format used by the current server is unknown, and

Re: [Dovecot] auth-worker temporary failures causing lmtp 500 rejection

2012-01-26 Thread Timo Sirainen
On 26.1.2012, at 12.14, Mark Zealey wrote: I'm using dovecot 2.0.16 with a mysql user database. From time to time when we have a big influx of messages (perhaps more than 30 concurrent rcpt to: sessions at the same time so no auth-workers free?) or when we have a transient issue connecting

Re: [Dovecot] auth-worker temporary failures causing lmtp 500 rejection

2012-01-26 Thread Timo Sirainen
On 26.1.2012, at 18.06, Ed W wrote: Could it be a *timeout* rather than lack of worker processes? The message in log was Unknown user. The only reason this happens is if MySQL library's query functions returned success without any rows. No timeouts, crashes, or anything else can give that

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Timo Sirainen
On 27.1.2012, at 1.42, Gedalya wrote: doveadm -o imapc_user=USERNAME -o imapc_password=PASSWORD backup -R imapc: Still working on it on my side, but for now: # doveadm -o imapc_user=geda...@thisdomain.com -o imapc_password=* backup -u geda...@thisdomain.com -R imapc: Segmentation

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Timo Sirainen
On 27.1.2012, at 2.00, Gedalya wrote: # doveadm -o imapc_user=geda...@thisdomain.com -o imapc_password=* backup -u geda...@thisdomain.com -R imapc: Segmentation fault gdb backtrace would be helpful. You should be able to get that by running (as root): 213mailbox-log.c: No such

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Timo Sirainen
On 27.1.2012, at 2.33, Gedalya wrote: # doveadm -o imapc_user=j...@example.com -o imapc_password=* backup -u j...@example.com -R imapc:/tmp/imapc dsync(j...@example.com): Error: Failed to sync mailbox Drafts: STATUS cannot access mailbox Drafts Apparently your server doesn't like

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Timo Sirainen
On 27.1.2012, at 2.57, Gedalya wrote: # doveadm -o imapc_user=je...@example.com -o imapc_password=* import -u je...@example.com imapc: all doveadm(je...@example.com): Error: Copying box=INBOX uid=1 failed: Message GUID not available in this server (guid) Fixed:

Re: [Dovecot] dovecot imap cluster

2012-01-27 Thread Timo Sirainen
On 27.1.2012, at 20.11, Simone Caruso wrote: I have a customer with 3 different geographic locations. Every locations have a mail server for the same domain (example.com). If us...@example.com receive mail form external this mail going on every locations server. I've a problem now, is

Re: [Dovecot] Test suite?

2012-01-27 Thread Timo Sirainen
On 28.1.2012, at 0.57, Kyle Lafkoff wrote: I am building a RPM for dovecot. Is there a test suite available I could use during the build to verify proper functionality? Thanks! It would be nice to have a proper finished test suite testing all kinds of functionality. Unfortunately I haven't

Re: [Dovecot] dovecot imap cluster

2012-01-27 Thread Timo Sirainen
On 28.1.2012, at 2.23, Stan Hoeppner wrote: With dsync-based replication it's possible to avoid both of these problems, because application-level replication can intelligently handle situations where asynchronous replication results in data conflicts. (This kind of conflict resolution is

Re: [Dovecot] maildir vs mdbox

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 17.59, Jean-Daniel Beaubien wrote: I am planning on running on test between maildir and mdbox to see which is a better fit for my use case. And I'm just looking for general advice/recommendation. I will post any results I obtain here. Maildir is good for reliability, since

Re: [Dovecot] maildir vs mdbox

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 18.13, Jean-Daniel Beaubien wrote: Considering my use case (small number of accounts but alot of emails per account, and I should add that they are mostly small emails, most under 5k, alot under 30k) what mdbox setting would you recommend i start testing with

Re: [Dovecot] Crash on mail folder delete

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 9.15, Daniel L. Miller wrote: Can I do anything to help find this? Folders are still shown in Trash - unable to delete. gdb backtrace would be helpful: http://dovecot.org/bugreport.html and doveconf -n and the folder name.

Re: [Dovecot] v2.1.rc5 (85a9b5236b6c) Error: lmtp client: DNS lookup of $FQDN failed: connect(dns-client) failed: No such file or directory

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 17.34, Pascal Volk wrote: When the Sieve plugin tries to send a vacation message or redirect a message to another address it fails. dovecot: lmtp(6412, u...@example.com): Error: lmtp client: DNS lookup of orange.example.com failed: connect(dns-client) failed: No such file

Re: [Dovecot] v2.1.rc5 (85a9b5236b6c) Error: lmtp client: DNS lookup of $FQDN failed: connect(dns-client) failed: No such file or directory

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 19.29, Timo Sirainen wrote: On 28.1.2012, at 17.34, Pascal Volk wrote: When the Sieve plugin tries to send a vacation message or redirect a message to another address it fails. dovecot: lmtp(6412, u...@example.com): Error: lmtp client: DNS lookup of orange.example.com

Re: [Dovecot] LMTP : Can't handle mixed proxy/non-proxy destinations

2012-01-28 Thread Timo Sirainen
On 27.1.2012, at 12.59, Alexis Lelion wrote: Jan 25 09:05:12 mail01 postfix/lmtp[23934]: A92709300DB: to= user_on_mai...@domain.com, relay=mail01.domain.com[private/dovecot-lmtp], delay=0.07, delays=0.01/0/0/0.06, dsn=4.3.0, status=deferred (host mail01.domain.com[private/dovecot-lmtp] said:

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-28 Thread Timo Sirainen
On 27.1.2012, at 2.00, Gedalya wrote: Starting program: /usr/bin/doveadm -o imapc_user=j...@example.com -o imapc_password= backup -u j...@example.com -R imapc: Program received signal SIGSEGV, Segmentation fault. mailbox_log_iter_open_next (iter=0x80cbd90) at mailbox-log.c:213 213

Re: [Dovecot] Problem with Postfix + Dovecot + MySQL + Squirrelmail

2012-01-28 Thread Timo Sirainen
On 27.1.2012, at 14.32, Gustavo wrote: #service dovecot start Starting IMAP/POP3 mail server: dovecotLast died with error (see error log for more information): Auth process died too early - shutting down No need to keep guessing the problem. See error log for more information like it says.

Re: [Dovecot] problem compiling imaptest under solaris

2012-01-28 Thread Timo Sirainen
On 25.1.2012, at 16.43, Jürgen Obermann wrote: today I tried to compile imaptest under solaris 10 with studio 11 compiler and got the following error: gmake[2]: Entering directory `/net/fileserv/export/sunsrc/src/imaptest-2019/src' source='client.c' object='client.o' libtool=no \

Re: [Dovecot] Password auth scheme question with mysql

2012-01-28 Thread Timo Sirainen
On 25.1.2012, at 2.03, Ed W wrote: The error seems to be that I set the pass variable in my password_query to set the master password for the upstream proxied to server. I can't actually remember now why this was required, but it was necessary to allow the proxy to work correctly in the

Re: [Dovecot] [PATCH] autoconf small fix

2012-01-28 Thread Timo Sirainen
On 24.1.2012, at 17.58, Luca Di Vizio wrote: the attached patch seems to solve a warning from autoconf: libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. I have considered it before, but

Re: [Dovecot] Quota-warning and setresgid

2012-01-28 Thread Timo Sirainen
On 10.1.2012, at 11.34, l.chelchowski wrote: Jan 10 10:15:06 lda: Debug: auth input: tes...@domain.eu home=/home/vmail/domain.eu/tester/ mail=maildir:/home/vmail/domain.eu/tester/:INDEX=/var/mail/vmail/domain.eu/tes...@domain.eu/index/public uid=101 gid=12 quota_rule=*:storage=2097

Re: [Dovecot] UID 0 problem while issuing an UID THREAD REFS command

2012-01-28 Thread Timo Sirainen
On 23.1.2012, at 14.55, Jesús M. Navarro wrote: I'm having problems on a maildir due to dovecot returning an UID 0 to an UID THREAD REFS command: I'm sending to your personal address a whole maildir that reproduces the bug (it's very short) to avoid having it published in the mail

Re: [Dovecot] where is subscribed list stored?

2012-01-28 Thread Timo Sirainen
On 22.1.2012, at 15.55, Michael Makuch wrote: I use dovecot locally for internal only access to my email archives, of which I have many gigs of email archives. Over time I end up subscribing to a couple dozen different IMAP email folders. Problem is that periodically my list of subscribed

Re: [Dovecot] MySQL server has gone away

2012-01-28 Thread 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 a new connection to one of them. It will probably result in much more convoluted logic but

Re: [Dovecot] imap-login process_limit reached

2012-01-28 Thread Timo Sirainen
On 17.1.2012, at 16.23, Michael Orlitzky wrote: First of all, feature request: doveconf -d show the default value of all settings Done: http://hg.dovecot.org/dovecot-2.1/rev/41cb0217b7c3

Re: [Dovecot] 2.1.rc3 (1a722c7676bb):dsync umlaut problems

2012-01-28 Thread Timo Sirainen
On 13.1.2012, at 5.10, Pascal Volk wrote: All umlauts in mailbox names are lost after converting mbox/Maildir mailboxes to mdbox. Looks like it was a generic problem in v2.1 dsync. Fixed: http://hg.dovecot.org/dovecot-2.1/rev/ef6f3b7f6038

Re: [Dovecot] moving mail out of alt storage

2012-01-28 Thread Timo Sirainen
On 12.1.2012, at 20.32, Mark Moseley wrote: On Wed, 2011-09-14 at 23:17 -0400, Micah Anderson wrote: I moved some mail into the alt storage: doveadm altmove -u jo...@example.com seen savedbefore 1w and now I want to move it back to the regular INBOX, but I can't see how I can do that

Re: [Dovecot] dovecot 2.0.15 - purge errors

2012-01-28 Thread Timo Sirainen
On 13.1.2012, at 8.20, Kamil Jońca wrote: Dovecot 2.0.15, debian package, am I lost some mails? How can I check what is in *.broken file? You can look at the .broken file with text editor for example :) --8---cut here---start-8--- $doveadm -v purge

Re: [Dovecot] dovecot 2.0.15 - purge errors

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 23.04, Timo Sirainen wrote: 299692 - 291500 = 8192 = output stream's buffering size. I guess what happened is that sometimes earlier Dovecot crashed while it was saving a message, but it had managed to write 8192 bytes. Now purging notices the extra 8192 bytes and wonders

Re: [Dovecot] howto disable indexing on dovecot-lda ?

2012-01-28 Thread Timo Sirainen
On 11.1.2012, at 19.30, Adrian Minta wrote: Hello, I tested with mail_location = whatever-you-have-now:INDEX=MEMORY and it seems to help, but in the mean time I found another option completely undocumented that seems to do exactly what I wanted: protocol lda {

Re: [Dovecot] A small bug and a question about CONTEXT=SEARCH

2012-01-28 Thread Timo Sirainen
On 11.1.2012, at 17.57, Anders wrote: Sorry, apparently I was a bit too fast there. ADDTO and REMOVEFROM should not be sent by a client, but I think that a client can send CONTEXT as a hint to the server, see http://tools.ietf.org/html/rfc5267#section-4.2 Yes, that was a bug. Thanks,

Re: [Dovecot] sieve under lmtp using wrong homedir ?

2012-01-28 Thread Timo Sirainen
On 11.1.2012, at 17.35, Frank Post wrote: All is working well except lmtp. Sieve scripts are correctly saved under /var/vmail/test.com/test/sieve, but under lmtp sieve will use /var/vmail//testuser/ Uid testuser has mail=t...@test.com configured in ldap. As i could see in the debug

Re: [Dovecot] MySQL server has gone away

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 23.06, Robert Schetterer wrote: doc/example-config/dovecot-sql.conf.ext from hg has something like # Database connection string. This is driver-specific setting. # HA / round-robin load-balancing is supported by giving multiple host # settings, like: host=sql1.host.org

Re: [Dovecot] maildir vs mdbox

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 19.02, Jean-Daniel Beaubien wrote: Btw, when I migrate my emails from Maildir to mdbox, dsync should take into account the rotate_size parameter. If I want to change the rotate_size parameter, I simply edit the config file, change the parameter (erase the mdbox folder?) and

Re: [Dovecot] compressed mboxes very slow

2012-01-28 Thread Timo Sirainen
I wonder if this patch helps here: http://hg.dovecot.org/dovecot-2.0/rev/9b2931607063 At least I can't now see any slowness with either v2.1 or the latest v2.0. But I don't know if I would have slowness with older versions either..

Re: [Dovecot] 2.0.17: Index lost - SAVEDON lost as well?

2012-01-28 Thread Timo Sirainen
On 9.1.2012, at 16.57, Timo Sirainen wrote: After that, the SAVEDON date for all mails was reset to today: Yeah. The save date is stored only in index. And index rebuild drops all those fields. I guess this could/should be fixed in index rebuild. Fixed: http://hg.dovecot.org/dovecot-2.0

Re: [Dovecot] Attribute Cache flush errors on FreeBSD 8.2

2012-01-28 Thread Timo Sirainen
On 7.1.2012, at 2.21, Phil Kernick wrote: I'm running dovecot 2.0.16 on FreeBSD 8.2 with the mail spool and indexes on an NFS server. Lines like the following keep appearing in syslog for access to each mailbox: Error: nfs_flush_attr_cache_fd_locked: fchown(/home/philk/Mail/Deleted)

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

2012-01-28 Thread 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 showed it's the one from INBOX. The mails

Re: [Dovecot] Migration to multi-dbox and SiS

2012-01-28 Thread Timo Sirainen
On 29.1.2012, at 1.16, Ronald MacDonald wrote: Around the time of the last re-build (2010), there had been some discussion on single instance storage, which was quite new on Dovecot around then. I chickened out of setting it up though. Now with it having been in the wild for a couple of

[Dovecot] Mountpoints

2012-01-29 Thread Timo Sirainen
I've been thinking about mountpoints recently. There have been a few problems related to them: - If dbox mails and indexes are in different filesystems, and index fs isn't mounted and mailbox is accessed - Dovecot rebuilds indexes from scratch, which changes UIDVALIDITY, which causes client

Re: [Dovecot] Mountpoints

2012-01-29 Thread Timo Sirainen
On 30.1.2012, at 8.31, Timo Sirainen wrote: The main problem I see with all this is how to make sysadmins remember to use these commands when they add/remove mountpoints?.. Perhaps the additions could be automatic at startup. Whenever Dovecot sees a new mountpoint, it's added. If an old

Re: [Dovecot] Director to keep redirecting users to the same server even after all sessions closed?

2012-01-30 Thread Timo Sirainen
On 30.1.2012, at 15.32, Mark Zealey wrote: Just wondering how easy it would be to make the director continue to send a user to the same server (assuming it's still in the pool) for say 90 seconds after they have last been active (ie lmtp or pop/imap)? Basically we are working in quite a

Re: [Dovecot] INBOX and IMAP forlders on differents machines ?

2012-01-30 Thread Timo Sirainen
On 30.1.2012, at 19.29, Frank Bonnet wrote: In MBOX format would it be possible with dovecot 2 to have two machines one containing the INBOX and the other containing IMAP folders. Of course this need a frontend but would it be possible ? With v2.1 I guess you could in theory do this with

Re: [Dovecot] Mountpoints

2012-01-30 Thread Timo Sirainen
On 31.1.2012, at 2.03, Joseph Tam wrote: On Mon, 30 Jan 2012, dovecot-requ...@dovecot.org wrote: So, I was thinking about adding doveadm commands to explicitly tell Dovecot about the mountpoints that it needs to care about. When no mountpoints are defined Dovecot would behave as it does

  1   2   3   4   5   6   7   8   9   10   >