Re: [Dovecot] Using Amazon S3 storage for Maildir ?

2011-12-29 Thread William Blunn
On 20/12/2011 05:29, Timo Sirainen wrote: On 19.12.2011, at 19.35, Forrest Aldrich wrote: I wonder if anyone has tried using an IMAP server with Amazon S3 as a backend. There would be many factors to consider (speed, etc). However, moreso, I don't know that Maildir(++) would support multi

Re: [Dovecot] Upgrade/Migration

2011-12-29 Thread William Blunn
On 23/12/2011 19:20, sottile...@rfx.it wrote: New box (supposed): CentOS 6.x (32/64 bit ? ), dovecot 2.04, mbox format Any hints/comment appreciated ;-) Don't use Dovecot 2.0.4, even if your distro tries to tempt you into doing so by including such a version. Whilst it looks like a stable

Re: [Dovecot] mbox, hierarchical folders/folders and IMAP

2011-12-29 Thread William Blunn
On 24/12/2011 10:31, Stan Hoeppner wrote: With mbox storage, an IMAP FOLDER contains only sub folders or it contains only messages. It CANNOT contain BOTH. Dovecot can store both folders and messages in a folder, under mbox. See http://wiki2.dovecot.org/MboxChildFolders Bill

Re: [Dovecot] How to serve a subset of IMAP folders for hand held devices.

2011-12-29 Thread Knute Johnson
On 12/29/2011 2:02 PM, David Pottage wrote: On 28/12/11 22:21, Rick Romero wrote: Quoting David Pottage: Firstly I wanted to retain the option to switch to the full version of my mail folders if I needed to access something urgently. My smart-phone based email client allows me to change the po

Re: [Dovecot] How to serve a subset of IMAP folders for hand held devices.

2011-12-29 Thread Knute Johnson
On 12/29/2011 2:02 PM, David Pottage wrote: On 28/12/11 22:21, Rick Romero wrote: Quoting David Pottage: Firstly I wanted to retain the option to switch to the full version of my mail folders if I needed to access something urgently. My smart-phone based email client allows me to change the po

Re: [Dovecot] How to serve a subset of IMAP folders for hand held devices.

2011-12-29 Thread David Pottage
On 28/12/11 22:21, Rick Romero wrote: > > Quoting David Pottage : >> Firstly I wanted to retain the option to switch to the full version of >> my mail folders if I needed to access something urgently. My smart-phone >> based email client allows me to change the port number of an existing >> email a

Re: [Dovecot] How to serve a subset of IMAP folders for hand held devices.

2011-12-29 Thread David Pottage
On 28/12/11 22:12, Stan Hoeppner wrote: > It's a smart phone. Have you considering simply running a webmail server? I considered it for about 10 seconds. Webmail is much less efficent than IMAP both for the server and the client. I run SquirrelMail on (on Apache) my server, and it consumes far mo

Re: [Dovecot] dsync / separator / namespace config-problem

2011-12-29 Thread Jan-Frode Myklebust
On Thu, Dec 29, 2011 at 03:49:57PM +0200, Timo Sirainen wrote: > >> > >> With mdbox the internal separator is '/', but it's not valid to have > >> "INBOX." prefix then (it should be "INBOX/"). > > > > But how should this be handled in the migration phase from maildir to > > mdbox then? Can we ha

Re: [Dovecot] doveadm + dsync merging

2011-12-29 Thread Attila Nagy
Hi, On 12/29/2011 01:35 PM, Timo Sirainen wrote: doveadm already supports some nice things, such as being able to remotely launch a doveadm command via TCP socket. It also supports executing a command for all users or to some specific users using a wildcard. dsync could use these features, so

Re: [Dovecot] /usr/lib/dovecot/imap ignores log settings?

2011-12-29 Thread Asheesh Laroia
On Thu, 29 Dec 2011, Timo Sirainen wrote: On 28.12.2011, at 20.31, Asheesh Laroia wrote: Hi Dovecot peeps, I'm enjoying running /usr/lib/dovecot/imap directly as a PREAUTH IMAP pipe. I find that it outputs log messages whose severity is INFO to stdout. I'm running it as follows: /u

[Dovecot] Trouble with proxy_maybe and auth_default_realm

2011-12-29 Thread Gedalya
Hello, I'm using proxy_maybe and auth_default_realm. It seems that when a user logs in without the domain name, relying on auth_default_realm, and the "host" field points to the local server, I get the Proxying loops to itself error. It does work as expected - log on to the local server witho

Re: [Dovecot] Dsync Error Can't Delete Mailbox

2011-12-29 Thread Asai
OK, thank you very much for this wonderful application. --asai On 12/29/2011 6:11 AM, Timo Sirainen wrote: On 27.12.2011, at 17.46, Asai wrote: I'm getting this error in the dsync logs: Warning: Destination mailbox INBOX has been modified, need to recreate it before we can continue syncing

Re: [Dovecot] doveadm + dsync merging

2011-12-29 Thread Pascal Volk
On 12/29/2011 01:53 PM Patrick Ben Koetter wrote: > * Timo Sirainen : >> … >> a) Use "doveadm dsync" prefix, and otherwise keep the names same: >> >> dsync mirror -> doveadm dsync mirror >> dsync backup -> doveadm dsync backup >> dsync server -> doveadm dsync server (for running dsync remotely via

Re: [Dovecot] Compressing existing maildirs

2011-12-29 Thread Jan-Frode Myklebust
On Thu, Dec 29, 2011 at 03:48:05PM +0200, Timo Sirainen wrote: > > > > Can't I trust that no mails with timestamp before I enabled compression > > are uncompressed? Or will dovecot compress old messages keeping old > > timestamp when copying messages between folders, or something like that? > > I

Re: [Dovecot] dsync / separator / namespace config-problem

2011-12-29 Thread Timo Sirainen
On 29.12.2011, at 15.42, Jan-Frode Myklebust wrote: > On Thu, Dec 29, 2011 at 03:10:20PM +0200, Timo Sirainen wrote: >> >> With mdbox the internal separator is '/', but it's not valid to have >> "INBOX." prefix then (it should be "INBOX/"). > > But how should this be handled in the migration ph

Re: [Dovecot] Compressing existing maildirs

2011-12-29 Thread Timo Sirainen
On 29.12.2011, at 15.36, Jan-Frode Myklebust wrote: > On Thu, Dec 29, 2011 at 02:55:40PM +0200, Timo Sirainen wrote: >>> >>> I.e. find all maildir-files: >>> >>> - with size in the name ("*,S=*") >>> - modified before I enabled zlib plugin >> >> As long as it doesn't find any already co

Re: [Dovecot] dsync / separator / namespace config-problem

2011-12-29 Thread Jan-Frode Myklebust
On Thu, Dec 29, 2011 at 03:10:20PM +0200, Timo Sirainen wrote: > > With mdbox the internal separator is '/', but it's not valid to have "INBOX." > prefix then (it should be "INBOX/"). But how should this be handled in the migration phase from maildir to mdbox then? Can we have different namespac

Re: [Dovecot] Compressing existing maildirs

2011-12-29 Thread Jan-Frode Myklebust
On Thu, Dec 29, 2011 at 02:55:40PM +0200, Timo Sirainen wrote: > > > > I.e. find all maildir-files: > > > > - with size in the name ("*,S=*") > > - modified before I enabled zlib plugin > > As long as it doesn't find any already compressed mails.. Can't I trust that no mails with timest

Re: [Dovecot] Maildir migration and uids

2011-12-29 Thread Timo Sirainen
On 22.12.2011, at 3.52, David Jonas wrote: > I'm in the process of migrating a large number of maildirs to a 3rd > party dovecot server (from a dovecot server). Tests have shown that > using imap to sync the accounts doesn't preserve the uidl for pop3 access. > > My current attempt is to convert

Re: [Dovecot] Received date no longer email date?

2011-12-29 Thread Timo Sirainen
On 23.12.2011, at 0.21, Brian L. Matthews wrote: > I just upgrade from dovecot 1.2 to dovecot 2.0.16. I use dovecot as a local > IMAP server to archive email from my corporate email account (on Exchange). I > don't have any automated archiving, I just periodically move messages from my > Exchan

Re: [Dovecot] proxying, SSL, and client certificate

2011-12-29 Thread Timo Sirainen
On 23.12.2011, at 1.10, Mike Abbott wrote: > How do I configure dovecot-2.0.x to present a client SSL certificate when > proxying? Set ssl_client_cert and ssl_client_key settings in dovecot.conf. Requires hg version, since these were added after v2.0.16. > If dovecot on server1.example.com has

Re: [Dovecot] Lucene vs Solr with 2.1 single server

2011-12-29 Thread Timo Sirainen
On 23.12.2011, at 9.10, Daniel L. Miller wrote: > For a single server, is the Lucene backend now "better" than running a Solr > server? Simpler, at least. Probably not better, since Solr uses a newer Lucene engine.

Re: [Dovecot] Dovecot imap proxy to nginx, incompatible

2011-12-29 Thread Timo Sirainen
On 24.12.2011, at 1.44, David Jonas wrote: > It appears that using dovecot to proxy to nginx imap proxy doesn't work. > From tcpdump and browsing the source it appears dovecot sends, > > C CAPABILITY\r\nL LOGIN \r\n > > and nginx only responds to the CAPABILITY command. Is this a problem > with

Re: [Dovecot] mbox, hierarchical folders/folders and IMAP

2011-12-29 Thread Timo Sirainen
On 26.12.2011, at 9.48, Stan Hoeppner wrote: > On 12/26/2011 12:43 AM, Alexander Chekalin wrote: >> I tried to create folder named like 'Old Mail' (and in fact I got >> another mbox container), while I needed to create 'Old Mail/' (note the >> slash), which results in real filesystem directory. >

Re: [Dovecot] Dsync Error Can't Delete Mailbox

2011-12-29 Thread Timo Sirainen
On 27.12.2011, at 17.46, Asai wrote: > I'm getting this error in the dsync logs: > > Warning: Destination mailbox INBOX has been modified, need to recreate it > before we can continue syncing > dsync(f...@bar.org): Error: Can't delete mailbox INBOX: INBOX can't be > deleted. > > In this situat

Re: [Dovecot] dsync / separator / namespace config-problem

2011-12-29 Thread Timo Sirainen
On 29.12.2011, at 13.14, Jan-Frode Myklebust wrote: > Guess I don't quite get namespaces, but we have the following namespace > configured: > > $ doveconf namespace > namespace { > hidden = no > inbox = yes > list = yes > locatio

Re: [Dovecot] UIDL format

2011-12-29 Thread Timo Sirainen
On 28.12.2011, at 0.58, sottile...@rfx.it wrote: > How can be sure of the current POP3 UIDL? If it's not visible, it's the default. Check with: dovecot -a | grep pop3_uidl_format

Re: [Dovecot] How to serve a subset of IMAP folders for hand held devices.

2011-12-29 Thread Timo Sirainen
On 29.12.2011, at 14.07, Charles Marcus wrote: > It would be cool if the concept of 'Master User' could be expanded on to > provide access to only certain other accounts, as opposed to full domains (or > maybe it does alreaqdy and I just don't understand it well enough yet). > > For example, we

Re: [Dovecot] Compressing existing maildirs

2011-12-29 Thread Stan Hoeppner
On 12/29/2011 2:49 AM, Jan-Frode Myklebust wrote: > On Wed, Dec 28, 2011 at 03:56:33PM -0800, Dovecot-GDH wrote: >> The cleanest (though not necessarily simplest) way to go about this would be >> to use dsync to create a new maildir and incrementally direct traffic to a >> separate Dovecot instan

Re: [Dovecot] Compressing existing maildirs

2011-12-29 Thread Timo Sirainen
On 24.12.2011, at 17.20, Jan-Frode Myklebust wrote: > I've just enabled zlib for our users, and am looking at how to compress > the existing files. The routine for doing this at > http://wiki2.dovecot.org/Plugins/Zlib seems a bit complicated. What do > you think about simply doing: > > find

Re: [Dovecot] doveadm + dsync merging

2011-12-29 Thread Patrick Ben Koetter
* Timo Sirainen : > doveadm already supports some nice things, such as being able to remotely > launch a doveadm command via TCP socket. It also supports executing a command > for all users or to some specific users using a wildcard. dsync could use > these features, so I merged dsync and dovead

Re: [Dovecot] /usr/lib/dovecot/imap ignores log settings?

2011-12-29 Thread Timo Sirainen
On 28.12.2011, at 20.31, Asheesh Laroia wrote: > Hi Dovecot peeps, > > I'm enjoying running /usr/lib/dovecot/imap directly as a PREAUTH IMAP pipe. > > I find that it outputs log messages whose severity is INFO to stdout. I'm > running it as follows: > > /usr/lib/dovecot/imap -c /tmp/dove

Re: [Dovecot] imap be killed (core dump disabled)

2011-12-29 Thread José Celestino
On Qui, 2011-12-29 at 12:06 +0800, Dongyu.Zhen wrote: > Hello everybody, > When I modify the dovecot imap source ,in "src/imap/" dir, I meet the > Error below: > Error: child (imap) kill (core dump disabled). > > In fact, I want to record the imap operation through dovecot. So, I > modify every so

[Dovecot] doveadm + dsync merging

2011-12-29 Thread Timo Sirainen
doveadm already supports some nice things, such as being able to remotely launch a doveadm command via TCP socket. It also supports executing a command for all users or to some specific users using a wildcard. dsync could use these features, so I merged dsync and doveadm into same binary for v2.

Re: [Dovecot] imap be killed (core dump disabled)

2011-12-29 Thread Timo Sirainen
On 29.12.2011, at 6.06, Dongyu.Zhen wrote: > Hello everybody, > When I modify the dovecot imap source ,in "src/imap/" dir, I meet the > Error below: > Error: child (imap) kill (core dump disabled). Most likely due to your modification, but gdb backtraces are helpful when debugging crashes: http:

Re: [Dovecot] imap be killed (core dump disabled)

2011-12-29 Thread Charles Marcus
On 2011-12-28 11:06 PM, Dongyu.Zhen wrote: > Hello everybody, > When I modify the dovecot imap source ,in "src/imap/" dir, I meet the > Error below: > Error: child (imap) kill (core dump disabled). > > In fact, I want to record the imap operation through dovecot. So, I > modify every source file

Re: [Dovecot] How to serve a subset of IMAP folders for hand held devices.

2011-12-29 Thread Charles Marcus
On 2011-12-28 5:05 PM, David Pottage wrote: Secondly creating a second account makes the authentication on the server a lot more complex. Either I need two OS level accounts on the sever, and find ways to keep them in sync, or I need to create a custom authentication method on dovecot or PAM so

[Dovecot] dsync / separator / namespace config-problem

2011-12-29 Thread Jan-Frode Myklebust
Guess I don't quite get namespaces, but we have the following namespace configured: $ doveconf namespace namespace { hidden = no inbox = yes list = yes location = prefix = INBOX. separa

Re: [Dovecot] Compressing existing maildirs

2011-12-29 Thread Jan-Frode Myklebust
On Wed, Dec 28, 2011 at 03:56:33PM -0800, Dovecot-GDH wrote: > The cleanest (though not necessarily simplest) way to go about this would be > to use dsync to create a new maildir and incrementally direct traffic to a > separate Dovecot instance. > > Unless you have a legacy application that reli