Re: [Dovecot] fts-solr not indexing body content

2012-03-26 Thread Timo Sirainen
On Mon, 2012-03-26 at 18:06 +0300, Timo Sirainen wrote: On Mon, 2012-03-26 at 15:29 +0200, Bård Johannessen wrote: This could easily be me missing something, but I can't seem to get the fts-solr plugin to index message bodies. What Dovecot version? Yeah, looks no one has tried to use

Re: [Dovecot] dovecot-1.2.9: OK No messages copied

2012-03-26 Thread Timo Sirainen
, then a NO response could be a more useful response. I know the spec allows a response of OK but it is possible that this was not the intention for a single non-existent UID. Regards Attila -Original Message- From: Timo Sirainen [mailto:t...@iki.fi] Sent: 26 March 2012

Re: [Dovecot] dovecot-1.2.9: OK No messages copied

2012-03-26 Thread Timo Sirainen
On Mon, 2012-03-26 at 16:30 +0100, Attila Sipos wrote: Thanks for your time. If you could possibly tell me how to know if an IMAP UID COPY is successful, I would appreciate it. Basically I'm moving a message from one folder to another. I thought I could issue a COPY command, check for

Re: [Dovecot] dovecot-1.2.9: OK No messages copied

2012-03-26 Thread Timo Sirainen
Message- From: Timo Sirainen [mailto:t...@iki.fi] Sent: 26 March 2012 16:38 To: Attila Sipos Cc: dovecot@dovecot.org Subject: Re: [Dovecot] dovecot-1.2.9: OK No messages copied On Mon, 2012-03-26 at 16:30 +0100, Attila Sipos wrote: Thanks for your time. If you could possibly tell me

Re: [Dovecot] Dovecot IMAP is broken after upgrade from 2.1.2 to 2.1.3

2012-03-26 Thread Timo Sirainen
On 23.3.2012, at 22.57, Michael Neubert wrote: I just upgraded my servers from Dovecot 2.1.2 to Dovecot 2.1.3-0~auto+5 by using Debian binaries from http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main. Mar 23 21:45:28 imap-login: Warning: SSL alert: where=0x4008, ret=256:

Re: [Dovecot] dsync redesign

2012-03-28 Thread Timo Sirainen
On 27.3.2012, at 1.14, Michescu Andrei wrote: This being said and acknowledged here are my 2 cents: I think that the current '1 brain / 2 workers' seems to be the correct model. The the client connects to the server and pushes the local changes and after retrieves the updated/new items from

Re: [Dovecot] dsync redesign

2012-03-28 Thread Timo Sirainen
On 23.3.2012, at 23.25, Timo Sirainen wrote: and even if you don't understand that, here's another document disguising as an algorithm class problem :) If anyone has thoughts on how to solve it, would be great: http://dovecot.org/tmp/dsync-redesign-problem.txt It only deals with saving

Re: [Dovecot] Merge mails from two mail_locations

2012-03-28 Thread Timo Sirainen
On 27.3.2012, at 13.11, Patrick Westenberg wrote: recently I had some trouble with my ocfs2 cluster and it unmounted itself from /var/mail. Unfortunately I received mails while my mailstore was unmounted and some mails are stored in /var/mail on the hosts local harddisk. Now I need to

Re: [Dovecot] fts-solr not indexing body content

2012-03-28 Thread Timo Sirainen
On 27.3.2012, at 10.12, Bård Johannessen wrote: 2012/3/26 Timo Sirainen t...@iki.fi: Yeah, looks no one has tried to use Solr with Dovecot v2.1 before. This should fix it: http://hg.dovecot.org/dovecot-2.1/rev/bcc5e71650b9 Nope; exactly same result; body field contains just the empty

Re: [Dovecot] dsync is SLOW compared to rsync

2012-03-28 Thread Timo Sirainen
On 22.3.2012, at 23.25, Jeff Gustafson wrote: [root@n24 bu]# time dsync backup -u testu...@domain.com \ mdbox:/home/bu/testuser real1m9.519s user1m7.592s sys 0m1.126s Most of the time is spent on usermode CPU code. I doubt the problem is dsync itself, most likely the problem

Re: [Dovecot] Namespace, prefix questions

2012-03-28 Thread Timo Sirainen
On 27.3.2012, at 17.40, Steve Campbell wrote: We've got some users who are using Outlook Express version 6. The client allows me to specify the root folder, but not a prefix or namespace. I'm still struggling with some users on our new server that have crazy imap folder layouts, so I've

Re: [Dovecot] dbox vs. mdbox

2012-03-28 Thread Timo Sirainen
On 28.3.2012, at 13.13, Hangas wrote: Timo Sirainen tss at iki.fi writes: 4. Are there real-world benchmarks showing measurable differences between maildir, sdbox mdbox? Not that I'm aware of. So far everyone I've tried to ask have replaced their whole mail system and their storage, so

Re: [Dovecot] Shared mailboxes with dovecot problem service=lib-storage

2012-03-28 Thread Timo Sirainen
On 28.3.2012, at 11.57, Tomislav Mihalicek wrote: Could someone explain what this strings mean in dovecot 2.1.3 debug log? Mar 27 11:18:11 cartman dovecot: auth: Debug: master in: USER 1 te...@example.net service=lib-storage Mar 27 11:18:11 cartman dovecot: auth: Debug: master in: USER

Re: [Dovecot] LDAP Lookup not returning value in maxStorage

2012-03-28 Thread Timo Sirainen
On 28.3.2012, at 0.06, Bruce, Andrew wrote: Mar 27 13:19:27 auth: Debug: ldap(username@site,192.168.1.5): no fields returned by the server .. Further investigation shows that there are a few other fields that we can't retrieve in Dovecot, Looks to me like you can't retrieve any fields from

Re: [Dovecot] zlib_save per namespace/mailbox?

2012-03-28 Thread Timo Sirainen
On 27.3.2012, at 19.49, Ben Schumacher wrote: On Thu, Sep 22, 2011 at 8:44 AM, Lutz Preßler lutz.press...@sernet.de wrote: the zlib_save question reminds me of a wish: I think it's not possible to set zlib_save parameter per namespace (or even mailbox). Per namespace would be something for

Re: [Dovecot] Dovecot upgrade from 1.2.x to 2.0.x: roundcube/squirrelmail sent folder doesn't work any more

2012-03-28 Thread Timo Sirainen
On 27.3.2012, at 20.28, Gerhard Wiesinger wrote: After upgrading from 1.2.x to 2.0.x I'm having problems using sent folder in Webmail applications like roundcube mail and squirrelmail. doveconf -n output? 2.0.x: with Prefix ~/Mail A0003 LIST ~/Mail/sent A0003 OK List completed.: Works

Re: [Dovecot] Dovecot / IMAP / New Mails are not shown unless you open the folder in Outlook

2012-03-28 Thread Timo Sirainen
On 28.3.2012, at 1.24, stonegate wrote: Problem: When i receive a new email, it does not appear in my Outlook unless i have the IMAP Inbox Folder open (highlighted selection). Sometimes i have new mail in my inbox for over 15 Minutes and i dont realize it unless i click on the inbox folder.

Re: [Dovecot] doveadm purge on clusterfs

2012-03-28 Thread Timo Sirainen
On 27.3.2012, at 12.47, Jan-Frode Myklebust wrote: Would it be OK to run purge in the pop/imap postlogin scripts? We already do a conditional: test /var/log/activemailaccounts/imap/$USER -ot /var/log/activemailaccounts/today then touch /var/log/activemailaccounts/imap/$USER fi

Re: [Dovecot] Many messages clustered around the same date.saved value

2012-03-28 Thread Timo Sirainen
On 27.3.2012, at 4.16, Joseph Tam wrote: However, I noticed a strange thing: querying what would have been deleted doveadm -ftab fetch -A date.saved mailbox Trash savedbefore 7d showed many date.saved values are clustered around the same timestamp, even among different user's Trash mailbox.

Re: [Dovecot] Dovecot 1.2.9 Crash, NFS

2012-03-28 Thread Timo Sirainen
On 26.3.2012, at 18.25, Müller Lukas wrote: Thanks for the quick answer. I realised, that the error didn't occur since quite a while, opposed to what our client suggested. Back then I activated the two workarounds (imap_client_workarounds = outlook-idle delay-newmail) and increased

Re: [Dovecot] SIS and restoring from backups

2012-03-28 Thread Timo Sirainen
On 25.3.2012, at 18.12, Charles Marcus wrote: On 2012-03-24 9:16 AM, Timo Sirainen t...@iki.fi wrote: On 24.3.2012, at 14.54, Charles Marcus wrote: On 2012-03-24 8:08 AM, Timo Sirainent...@iki.fi wrote: You can do full backups from a filesystem snapshot, which works well enough (might

Re: [Dovecot] dsync is SLOW compared to rsync

2012-03-28 Thread Timo Sirainen
On 29.3.2012, at 2.51, Jeff Gustafson wrote: Most of the time is spent on usermode CPU code. I doubt the problem is dsync itself, most likely the problem is mdbox's saving code. Or possibly index/cache code. Try the same dsync backup for: - mbox:/tmp/mbox - mbox:/tmp/mbox:INDEX=MEMORY -

Re: [Dovecot] dsync is SLOW compared to rsync

2012-03-28 Thread Timo Sirainen
On 29.3.2012, at 3.48, Jeff Gustafson wrote: On Thu, 2012-03-29 at 03:06 +0300, Timo Sirainen wrote: time doveadm -o mail=mdbox:/tmp/mdbox import mdbox:/path/to/real/mdbox all This tried to write to /root for some reason and failed (dovecot 2.1.3): # time doveadm -o mail=maildir

Re: [Dovecot] dsync is SLOW compared to rsync

2012-03-28 Thread Timo Sirainen
On 29.3.2012, at 5.07, Jeff Gustafson wrote: That fixed some errors, but it still is having some sort of trouble with that command: # time doveadm -o mail=maildir:/home/bu/user.mdbox import -u u...@domain.com maildir:/home/users/user%domain.com/Maildir/ all doveadm(u...@domain.com):

Re: [Dovecot] doveadm sync impac problem

2012-03-29 Thread Timo Sirainen
On 22.3.2012, at 19.09, Martin Schitter wrote: Am 2012-03-22 03:46, schrieb Gedalya: doveadm sync/backup via impac puts the same message all over the place... Thanks Martin, I've set up a test platform to investigate this further but I've been short on time... after some debugging a

[Dovecot] Dovecot migration from any IMAP/POP3 server

2012-03-29 Thread Timo Sirainen
With the latest hg version / upcoming v2.1.4 you can do a perfect migration to Maildir using imapc/pop3c backends: http://wiki2.dovecot.org/Migration/Dsync The main new feature here is the pop3-migration plugin that matches messages from IMAP and POP3 servers together, so that when dsync needs

Re: [Dovecot] Multiple instances

2012-03-30 Thread Timo Sirainen
On 30.3.2012, at 16.03, Andy Dills wrote: On Mon, 6 Feb 2012, Timo Sirainen wrote: # doveadm instance remove proxy Hmm...maybe I'm doing something wrong or expecting the wrong behavior, but when I do this, while it dissapears from doveadm, it still responds to pop/imap requests

Re: [Dovecot] Hints for a NFS-Setup

2012-03-30 Thread Timo Sirainen
On 30.3.2012, at 15.38, Nick Warr wrote: As far as I understood I will get poor performance if I'd just switch from OCFS2 to NFS (while keeping this configuration) with 4 hosts accessing the NFS-share and the index files on it and it is recommended to assign users to a specific host

Re: [Dovecot] Proxying Authentication on both sides

2012-03-30 Thread Timo Sirainen
On 30.3.2012, at 16.25, Andy Dills wrote: However, when we have the front-end server do a static director proxy, the problem is that authentication failures are logged on the back-end server with a source IP of the proxy, and no authentication failure with the client IP address is logged

Re: [Dovecot] Proxying Authentication on both sides

2012-03-30 Thread Timo Sirainen
On 30.3.2012, at 17.51, Andy Dills wrote: On Fri, 30 Mar 2012, Timo Sirainen wrote: On 30.3.2012, at 16.25, Andy Dills wrote: However, when we have the front-end server do a static director proxy, the problem is that authentication failures are logged on the back-end server

Re: [Dovecot] Is it possible to migrating mail to dovecot using imapc?

2012-03-30 Thread Timo Sirainen
On 30.3.2012, at 22.44, Dr Josef Karthauser wrote: I'm excited to hear that dovecot now supports imap as a mailbox type. I've got a mailbox over on another imap server, which I want to migrate to dovecot. I was wondering whether I could use 'doveadm backup' to setup a two way

Re: [Dovecot] Is it possible to migrating mail to dovecot using imapc?

2012-03-30 Thread Timo Sirainen
On 30.3.2012, at 22.55, Dr Josef Karthauser wrote: One-way sync will work fine. Two-way sync might be a bit troublesome. For redesigned dsync I've started thinking about kind of a 1,5-way sync. :) That would make sure that all messages from A are copied to B and no messages are deleted

Re: [Dovecot] Is it possible to migrating mail to dovecot using imapc?

2012-03-30 Thread Timo Sirainen
On 30.3.2012, at 23.02, Dr Josef Karthauser wrote: It does, but the two way sync mirroring relies on messages having GUIDs. IMAP protocol doesn't have such a concept. I guess it could be kind of emulated by using e.g. GUID = sha1(message header). The pop3-replication plugin kind of does

Re: [Dovecot] Is it possible to migrating mail to dovecot using imapc?

2012-03-30 Thread Timo Sirainen
On 30.3.2012, at 23.26, Dr Josef Karthauser wrote: I suppose to do it quick and dirty you could just copypaste the get_hdr_sha1() from http://hg.dovecot.org/dovecot-2.1/rev/78317179b4af to imapc code and have imapc_mail_get_special() use it for returning GUID. Do you think that this will

[Dovecot] Dovecot stones

2012-03-31 Thread Timo Sirainen
For the last few days I've been thinking about my company and what it really should do, and as much as the current plan seems reasonable, I think in good conscience I really can't help but to bring up an alternative plan: The support for Dovecot is quite good already, but wouldn't it be better

Re: [Dovecot] Mail migration troubles

2012-04-03 Thread Timo Sirainen
On Sun, 2012-04-01 at 22:54 +0100, Spyros Tsiolis wrote: However, I have this nagging problem with most of the thunderbird MTAs. When I try to delete some test messages I sent to make sure that everything works, it comes back with the following message on the bottom of the Thunderbird window :

Re: [Dovecot] Backtrace on mdbox index

2012-04-03 Thread Timo Sirainen
On Mon, 2012-04-02 at 11:14 -0300, Francisco Wagner C. Freire wrote: I current using dovecot with mdbox and on one account i get this error: doveadm(user@domain): Panic: file mail-index-sync-ext.c: line 209 (sync_ext_reorder): assertion failed: (offset (uint16_t)-1) Dovecot version? I

Re: [Dovecot] Hints for a NFS-Setup

2012-04-03 Thread Timo Sirainen
On Fri, 2012-03-30 at 21:37 +0200, Patrick Westenberg wrote: Nick Warr schrieb: I think some of the new Dovecot (director?) software is user aware, but I don't know if it's quite ready for production. Yes, with director it should be something like that: MTA --(lmtp)--\

[Dovecot] Per-user flags/indexes for shared mailboxes

2012-04-03 Thread Timo Sirainen
The attached patch adds support for doing e.g.: namespace { type = public prefix = Public/ location = mdbox:/var/lib/public/mdbox:INDEXPVT=~/mdbox/public list = yes } So the private flags are stored in indexes under ~/mdbox/public/, while the shared flags are stored under

Re: [Dovecot] Backtrace on mdbox index

2012-04-03 Thread Timo Sirainen
ideia ? 2012/4/3 Timo Sirainen t...@iki.fi On Mon, 2012-04-02 at 11:14 -0300, Francisco Wagner C. Freire wrote: I current using dovecot with mdbox and on one account i get this error: doveadm(user@domain): Panic: file mail-index-sync-ext.c: line 209 (sync_ext_reorder): assertion

Re: [Dovecot] imapdir still a configuration option?

2012-04-03 Thread Timo Sirainen
On Mon, 2012-04-02 at 17:23 -0400, Kurt Mosiejczuk wrote: I've been looking at moving an old IMAPdir-based solution to dovecot. I came across references that dovecot (to my pleasant surprise) added imapdir support in 1.1. However, in trying 2.0.13 (from an OpenBSD package) things start

Re: [Dovecot] Connection queue full on dovecot 2.0.13

2012-04-03 Thread Timo Sirainen
On Mon, 2012-04-02 at 16:39 +0200, Giovanni Mancuso wrote: Apr 02 14:34:36 imap-login: Info: Disconnected: *Connection queue full *(auth failed, 1 attempts): user=//u...@example.com/ This means you've reached the process_limit/client_limit. I see this wiki page:

Re: [Dovecot] Backtrace on mdbox index

2012-04-03 Thread Timo Sirainen
On 2.4.2012, at 17.14, Francisco Wagner C. Freire wrote: I current using dovecot with mdbox and on one account i get this error: doveadm(user@domain): Panic: file mail-index-sync-ext.c: line 209 (sync_ext_reorder): assertion failed: (offset (uint16_t)-1) Fixed:

Re: [Dovecot] 2.1.3: doveadm mailbox delete lost the -s option

2012-04-03 Thread Timo Sirainen
On 3.4.2012, at 1.34, Micah Anderson wrote: Looks like the recently added -s (for unsubscribing) option to doveadm mailbox delete went missing: root@vireo# /usr/bin/doveadm mailbox delete -u micahtest -s restored delete: invalid option -- 's' doveadm mailbox delete [-u user|-A] [-S

Re: [Dovecot] dovecot 2.1 breaks FTS + pre-auth?

2012-04-03 Thread Timo Sirainen
On 31.3.2012, at 18.38, dm-list-email-dove...@scs.stanford.edu wrote: Hi. I use dovecot in the simplest possible way, as an IMAP server in pre-auth mode over ssh or just locally over a unix-domain socket (e.g., with offlineimap, which runs much faster using dovecot for the local message

Re: [Dovecot] Is it possible to migrating mail to dovecot using imapc?

2012-04-03 Thread Timo Sirainen
On 30.3.2012, at 23.42, Dr Josef Karthauser wrote: % dsync -Dv -u j...@local.com -o imapc_host=mail.remoteimap.com -o imapc_port=143 -o imapc_username=joe@ remoteimap.com -o imapc_password='somepass' mirror imapc: /tmp/output produced the following output. dsync(j...@email.com):

Re: [Dovecot] Many messages clustered around the same date.saved value

2012-04-03 Thread Timo Sirainen
On 29.3.2012, at 5.41, Joseph Tam wrote: Ah, with mbox there isn't any usable fallback for date.saved. If it's not in dovecot.index.cache, the current time is used. I'm a little confused as to why it needed a fallback. In other words, why wasn't date.saved put into the index as soon as

Re: [Dovecot] Dovecot upgrade from 1.2.x to 2.0.x: roundcube/squirrelmail sent folder doesn't work any more

2012-04-03 Thread Timo Sirainen
On 29.3.2012, at 8.25, Gerhard Wiesinger wrote: 2.0.x: with Prefix ~/Mail A0003 LIST ~/Mail/sent A0003 OK List completed.: mail_full_filesystem_access = yes mail_location = mbox:~:INBOX=/var/mail/%u Yes, the problem happens only with mail_full_filesystem_access=yes. It already works

Re: [Dovecot] File/folder permission issues in 2.1.3

2012-04-03 Thread Timo Sirainen
On 29.3.2012, at 13.24, Christian Rößner wrote: I figured out that Dovecot does not honer secondary groups with auth/auth-worker (??), if doing LDAP/TLS stuff. I had to use file system acls to add the user vmail to /etc/ssl/private and to the corresponding key file: service auth {

Re: [Dovecot] Dovecot allows creation of folders outside of a user's directory

2012-04-03 Thread Timo Sirainen
On 30.3.2012, at 14.37, Christoph Bußenius wrote: in our dovecot 2.0 setup with shared folders, users can make dovecot create directories outside their mail directory. Which is a bit scary imho. The following command: . create inbox.shared.abc123 or even . create

Re: [Dovecot] namespace hierarchy

2012-04-03 Thread Timo Sirainen
On 1.4.2012, at 10.28, Tom Fernandes wrote: I'm migrating from Courier to Dovecot and would like to keep the original namespace and add two new ones on the new server. There's only one namespace in Courier which is INBOX. . The seperator is . In the new server I would like to have 3

Re: [Dovecot] imapsync, namespaces and Dovecot 2.x

2012-04-03 Thread Timo Sirainen
On 2.4.2012, at 19.11, Aleix Dorca wrote: I recently tried to migrate from Exchange using imapsync. It didn't work because it complained that dovecot had no namespace capablity. After looking through Dovecot's config files I found that namespaces could be defined, but if you did not a

Re: [Dovecot] lmtp sometimes fails to deliver a message to all recipients

2012-04-03 Thread Timo Sirainen
On 2.4.2012, at 18.45, Artur Zaprzała wrote: Running strace on lmtp reveals that when lmtp delivers a message to multiple recipients it saves the message to a file in the first mailbox and hard links that file to other mailboxes. But when in the meantime of delivery that file is deleted,

Re: [Dovecot] dovecot-auth restaring and caching

2012-04-03 Thread Timo Sirainen
On 23.3.2012, at 14.15, Angel L. Mateo wrote: El 22/03/12 19:57, Timo Sirainen escribió: On 22.3.2012, at 11.55, Angel L. Mateo wrote: The problem I'm having is that if I have no activity in the server, dovecot stops its auth process and when another message is received, it restarted

Re: [Dovecot] dovecot 2.0.19 Panic: file mail-index-sync-ext.c: line 209 (sync_ext_reorder): assertion failed: (offset (uint16_t)-1)

2012-04-03 Thread Timo Sirainen
On 21.3.2012, at 20.19, Jim Lawson wrote: On 3/21/12 10:02 AM, Timo Sirainen wrote: On 21.3.2012, at 15.53, Jim Lawson wrote: Had a user who couldn't access his INBOX: Mar 21 09:21:17 penguina dovecot: imap([USER]): Panic: file mail-index-sync-ext.c: line 209 (sync_ext_reorder

Re: [Dovecot] Courier to Dovecot migration script issue

2012-04-03 Thread Timo Sirainen
On 3.4.2012, at 15.33, xnasx wrote: I trying to migrate to Dovecot 2.0.18 from Courier 4.10. I using a script 'courier-dovecot-migrate.pl' from oficial wiki - it works without errors and creating dovecot-uidlist, etc. . I running Dovecot on a different port: 11149. When I connecting to

Re: [Dovecot] ldap userdb warning in v2.1.1

2012-04-03 Thread Timo Sirainen
On 21.3.2012, at 14.06, Timo Sirainen wrote: On 21.3.2012, at 11.00, Nikolaos Milas wrote: Mar 21 10:07:23 imapserver dovecot: master: Dovecot v2.1.1 starting up (core dumps disabled) Mar 21 10:08:17 imapserverdovecot: auth: Warning: ldap: Ignoring changed user_attrs in /etc/dovecot

Re: [Dovecot] Dovecot 2.1 with custom OpenSSL fails to build

2012-04-03 Thread Timo Sirainen
On 03/15/2012 11:43 PM, Andreas M. Kirchwitz wrote: Compilation works. Great! The binaries find all their libraries. But two libraries are not quite okay. They don't find their SSL libs: libdovecot-lda.so libdovecot-storage.so Since libdovecot-lda.so doesn't contain the words

Re: [Dovecot] Dovecot and scalable database storage

2012-04-03 Thread Timo Sirainen
On 23.3.2012, at 4.36, l...@airstreamcomm.net l...@airstreamcomm.net wrote: I saw some interesting mails from TImo back in 2009 talking about the idea of using something like Cassandra db or similar as a storage platform for both email and index/logs. I was wondering if this has been

Re: [Dovecot] doveadm user -f index

2012-04-03 Thread Timo Sirainen
http://hg.dovecot.org/dovecot-2.1/rev/601014feade4 doveadm user -m -f home user@domain I'm still not sure if I implemented this the user friendliest way.. It's kind of annoying to have these existing doveadm auth and doveadm user commands. Perhaps doveadm user -m should have been the default,

Re: [Dovecot] Backtrace on mdbox index

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 14.08, Jean Michel wrote: doveadm(acc@domain): Panic: file mail-storage.c: line 787 (mailbox_check_mismatching_separators): assertion failed: (strncmp(vname, ns-prefix, ns-prefix_len-1) == 0) That's a bit strange. Can you get a core of it? http://dovecot.org/bugreport.html

Re: [Dovecot] Proxy and SSO (single sign-on)

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 14.18, Miguel Tormo wrote: I have a running setup with a dovecot imap4/pop3 proxy to a few dovecot backend servers which actually store the mailboxes. This is running smoothly and allows me to transparently distribute mailboxes. I'm using some extrafield configured in the

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 14.38, Patrick Westenberg wrote: Timo Sirainen schrieb: On Fri, 2012-03-30 at 21:37 +0200, Patrick Westenberg wrote: MTA --(lmtp)--\ /--(lmtp)-- backend1 --\ -- director -- -- NFS MTA --(lmtp)--/ \--(lmtp

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 15.02, Patrick Westenberg wrote: Timo Sirainen schrieb: Another director. They're meant to connect to each others and do LB/HA. But what about my MTAs? How can I tell my two postfix servers that there are two directors and it should/can use the other one if the first

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 15.29, Jerry wrote: Now I use relay_transport = lmtp:unix:private/dovecot-lmtp. Even if I change this to lmtp:tcp:1.2.3.4:24 it is still only one director. I don't know if Postfix supports that. Typically people use a load balancer (cluster). Perhaps posting on the

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 16.04, Patrick Westenberg wrote: Timo Sirainen schrieb: where lmtp.example.com expands to your two IP addresses. DNS server handles load balancing by returning IPs in round robin and Postfix handles fallbacking to the second IP if the first one doesn't work. Dovecot has

Re: [Dovecot] Modifying LDAP search results for user_attrs

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 16.10, Patrick Ben Koetter wrote: I need to authenticate users via LDAP either by mailaddress or login name. In both cases the mailbox location is /src/mail/%d/%n. I can easily deduct that path from the mailaddress, but not so from the login name. If you have something like

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 16.57, Patrick Domack wrote: Quoting Timo Sirainen t...@iki.fi: On 4.4.2012, at 16.04, Patrick Westenberg wrote: Timo Sirainen schrieb: where lmtp.example.com expands to your two IP addresses. DNS server handles load balancing by returning IPs in round robin

Re: [Dovecot] Listener not binding to port

2012-04-05 Thread Timo Sirainen
On 4.4.2012, at 20.52, Mike Jones! wrote: Dovecot is not binding or listening on port 993 when I start it. Try adding protocols=imap setting.

Re: [Dovecot] lmtp sometimes fails to deliver a message to all recipients

2012-04-09 Thread Timo Sirainen
On 4.4.2012, at 19.09, Artur Zaprzała wrote: lmtp(3344, foo@domain): Error: RU1WMnueeU9QDQABxjIODQ: sieve: msgid=unspecified: failed to store into mailbox 'INBOX': Message was expunged (guid) lmtp(3344, foo@domain): Error: RU1WMnueeU9QDQABxjIODQ: sieve: script

Re: [Dovecot] 2.1.3: Overly lax FETCH parsing

2012-04-09 Thread Timo Sirainen
On 5.4.2012, at 21.59, Michael M Slusarz wrote: While useful that Dovecot is more liberal about what it receives, 3501 seems pretty clear that incorrect FETCH parameters must return a BAD. I can verify that the above commands fail on Cyrus. It's a SHOULD, not a MUST: Servers SHOULD

Re: [Dovecot] Using a namespace for providing access to mail snapshots for user based on-demand restoration of email backups

2012-04-09 Thread Timo Sirainen
On 6.4.2012, at 1.46, Joseph Tam wrote: One other consideration (at least for me) is if the INBOX and personal mail folders are stored in two separate FS's. It would be nice to fuse the two sets of backups under the same namespace, but I don't know how the namespace prefix matching works and

Re: [Dovecot] Using a namespace for providing access to mail snapshots for user based on-demand restoration of email backups

2012-04-09 Thread Timo Sirainen
On 5.4.2012, at 20.02, Charles Marcus wrote: On 2012-04-05 12:37 PM, Tom Hendrikx t...@whyscream.net wrote: The first interesting point I'd see with this, is that you supply the mail client with a near endless supply of folders, which would take a lot of caching space on the clients end,

Re: [Dovecot] Using a namespace for providing access to mail snapshots for user based on-demand restoration of email backups

2012-04-09 Thread Timo Sirainen
On 5.4.2012, at 18.28, Charles Marcus wrote: The snapshots are stored with the following filesystem layout: /path/to/snapshotsdir/hourly.0 ... /path/to/snapshotsdir/hourly.4 /path/to/snapshotsdir/daily.0 .. The 'names' (hourly, daily, weekly, monthly, yearly) are arbitrary (this is a

Re: [Dovecot] Director (was: Hints for a NFS-Setup)

2012-04-09 Thread Timo Sirainen
On 6.4.2012, at 16.58, Patrick Westenberg wrote: Hi again, I tried to setup a test invironemnt like this: MTA --(lmtp)--\ /--(lmtp)-- backend1 --\ -- director -- -- NFS MTA --(lmtp)--/ \--(lmtp)-- backend2 --/

Re: [Dovecot] distributed mdbox

2012-04-09 Thread Timo Sirainen
Yeah, not caching then. I know Glusterfs people implemented some fixes/workarounds to make Dovecot work better. I don't know if all of those fixes are in the public glusterfs. On 6.4.2012, at 18.39, James Devine wrote: As it turns out I can duplicate this problem with a single dovecot server

Re: [Dovecot] POP3 dele to Trash?

2012-04-09 Thread Timo Sirainen
On 7.4.2012, at 3.10, Kelsey Cummings wrote: On 04/06/12 16:40, Kelsey Cummings wrote: Has anyone already done this? Should this be possible via a plugin? I see the deleted-to-trash imap plugin. We are using Maildir if it makes a difference. Of course, this is exactly what the Lazy

Re: [Dovecot] Setting ACL for master user after login

2012-04-09 Thread Timo Sirainen
On 7.4.2012, at 6.48, PL MB wrote: I'd like to log in to normal user accounts as a master user but retain the normal users' ACLs. The Master Users page on the Dovecot 1.x wiki (1) says that I can set the master user's ACLs in a postlogin script. The documentation for master users on the

Re: [Dovecot] Director pop-login and imap-login processes exiting on signal 11

2012-04-09 Thread Timo Sirainen
On 7.4.2012, at 10.13, Andy Dills wrote: Apr 7 02:18:05 mail-out06 dovecot: pop3-login: Fatal: master: service(pop3-login): child 75029 killed with signal 11 (core not dumped - set service pop3-login { drop_priv_before_exec=yes }) v2.1.3 proxying was buggy with SSL connections. Probably

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-09 Thread Timo Sirainen
On 5.4.2012, at 15.59, Charles Marcus wrote: Does anyone know if the use of LMTP (or even the dovecot LDA) still loses the x-original-to header that the postfix vda adds and that I rely heavily on (since I use a lot of aliases), and if it does, is there any solution to get the original

[Dovecot] Director simplification?

2012-04-09 Thread Timo Sirainen
An idea I just had: Director basically works by assigning the backend IP address by: ip = vhosts[ md5(username) mod vhosts_count ].ip The rest of director is about what happens when vhosts[] or vhosts_count changes. What about instead doing this on IP address level? ip = ip_pool[

[Dovecot] v2.1.4 released

2012-04-09 Thread Timo Sirainen
http://dovecot.org/releases/2.1/dovecot-2.1.4.tar.gz http://dovecot.org/releases/2.1/dovecot-2.1.4.tar.gz.sig + Added mail_temp_scan_interval setting and changed its default value from 8 hours to 1 week. + Added pop3-migration plugin for easily doing a transparent

[Dovecot] v2.0.20 released

2012-04-09 Thread Timo Sirainen
http://dovecot.org/releases/2.0/dovecot-2.0.20.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.20.tar.gz.sig + doveadm user: Added -m parameter to show some of the mail settings. - doveadm import didn't import messages' flags - Make sure IMAP clients can't create

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-09 Thread Timo Sirainen
On 9.4.2012, at 15.50, Charles Marcus wrote: LMTP adds a new Delivered-To:rcpt-to@address header when there is a single RCPT TO. You can force a single RCPT TO from Postfix side by setting lmtp_destination_recipient_limit=1. LMTP doesn't add/remove/change X-Original-To: header. Ok, thanks

Re: [Dovecot] mount

2012-04-09 Thread Timo Sirainen
On 9.4.2012, at 16.44, Luigi Rosa wrote: I have a Dovecot installation on CentOS 5 where I sometimes mount external fs in /mnt Every Dovecot data is in local / file system, nothing is mounted elswhere .. Is there a way toi tell Dovecot to ignore /mnt ? doveadm mount add /mnt ignore

Re: [Dovecot] Multiply mailboxes vs one huge

2012-04-09 Thread Timo Sirainen
On 9.4.2012, at 17.58, Alexander Chekalin wrote: as I need to store a lot of messages on my IMAP server (order of 900K-1000K; this is an archive for some time, maybe a year or so), I see some slowness in dealing with such a huge amount. I mainly need to do searches like get all messages

Re: [Dovecot] v2.1.4 released - broken

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 4.28, Marc Perkel wrote: I'm seeing this immediately after upgrading from 2.1.3 Apr 09 18:22:43 imap(ch...@powerpage.org): Error: user ch...@powerpage.org: Initialization failed: Initializing mail storage from mail_location setting failed: Home directory not set for user.

Re: [Dovecot] Authentication mechanism and Password scheme

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 5.37, Костырев Александр Алексеевич wrote: Good day! I'm just trying to figure out that my understanding of subject is correct. So, if I want to store passwords in my database encrypted with SSHA512 scheme, my only choice for Authentication mechanism is plaintext? Yeah,

Re: [Dovecot] Multiply mailboxes vs one huge

2012-04-10 Thread Timo Sirainen
On 9.4.2012, at 22.39, Alexander Chekalin wrote: Hello, Timo, I feel a bit unsure about which 'date' I mean, since I always consider the only date from Date: header. But which value is used as INTERNALDATE then? As soon as I use (for now) maildir storage type, all the metadata are stored

Re: [Dovecot] Problem with quota warning

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 13.44, Patrick Westenberg wrote: I switched from dovecot-lda to lmtp for my quota warnings but there is something wrong with the parameters: /usr/local/libexec/dovecot/lmtp -d $USER -o plugin/quota=dict:User quota::file:%h/mdbox/dovecot-quota:noenforcing This is not how

Re: [Dovecot] Problem with quota warning

2012-04-10 Thread Timo Sirainen
On 9.4.2012, at 16.35, Patrick Westenberg wrote: cat EOF | /usr/local/libexec/dovecot/dovecot-lda -d $USER -o plugin/quota=dict:User quota::file:%h/mdbox/dovecot-quota:noenforcing The :noenforcing isn't in the right location. dict:User quota::noenforcing:file:%h/...

Re: [Dovecot] old messages being delivered to blackberry

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 16.45, Luc Belliveau wrote: Several users are reporting old messages (sometime years old) are being delivered as new on their blackberry devices... I've confirmed that this happens to all blackberry users... I believe the problem is related to this error: Maildir:

Re: [Dovecot] 2.0/2.1 - different behavior for LIST-EXTENDED

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 18.28, Peter Mogensen wrote: For 2.0.17: . list (SUBSCRIBED) * RETURN (STATUS (MESSAGES)) * LIST (\Subscribed \NonExistent) . INBOX.test For 2.1.3: . list (SUBSCRIBED) * RETURN (STATUS (MESSAGES)) * LIST (\Subscribed) . INBOX.test * NO Mailbox doesn't exist: test This

Re: [Dovecot] Per IP virtual domain

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 18.29, Stéphane Locatelli wrote: My dovecot server (2.0.18 on FreeBSD 9) has multiple interface. I would like to configure the authentication (pop and imap) to append different domain according to the local IP address. I've tested this: local 10.0.0.1 {

Re: [Dovecot] Username from rfc822Name subject alternative name

2012-04-10 Thread Timo Sirainen
On 9.4.2012, at 16.51, Бранко Мајић wrote: I'm looking into adding support for extracting the username from client certificate's rfc822Name (from the subjectAltName extension). The question I have is what would be the best approach to do this? Current implementation has a kind of clean

Re: [Dovecot] Authentication mechanism and Password scheme

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 19.35, Ed W wrote: Does dovecot 2.0 also support SCRAM-SHA? v2.1 does. I only mention because it's come up on my radar recently and as I understand it, it solves the issue of either having - plain text db of passwords, encrypted login - encrypted db of passwords,

Re: [Dovecot] Bug in HIGHESTMODSEQ when MODSEQ tracking is not enabled for version 2.0.18.

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 20.17, Glenn Wurster wrote: It appears as if HIGHESTMODSEQ is not being updated. I can get HIGHESTMODSEQ to start updating correctly if I send a UID FETCH 1 MODSEQ or similar command, which appears to enable MODSEQ tracking at the server (according to the comment around

Re: [Dovecot] Username from rfc822Name subject alternative name

2012-04-10 Thread Timo Sirainen
, 10 Apr 2012 19:10:04 +0300 Timo Sirainen t...@iki.fi написа: On 9.4.2012, at 16.51, Бранко Мајић wrote: I'm looking into adding support for extracting the username from client certificate's rfc822Name (from the subjectAltName extension). The question I have is what would be the best

Re: [Dovecot] Folder Aliases - Revisited Yet Again Four Years Later

2012-04-10 Thread Timo Sirainen
On 11.4.2012, at 8.06, Daniel L. Miller wrote: On 8/13/2010 6:07 AM, Timo Sirainen wrote: On Thu, 2010-08-12 at 17:04 -0700, Daniel L. Miller wrote: If we can't get clients to agree on a standard set of folders (probably reasonably safe assumption) [...] I'm kind of annoyed

Re: [Dovecot] Folder Aliases - Revisited Yet Again Four Years Later

2012-04-10 Thread Timo Sirainen
On 11.4.2012, at 8.12, Timo Sirainen wrote: Yes, this is much easier with v2.1 I think. The new listescape plugin is just a tiny wrapper that will probably just be replaced by a setting some day in future. I haven't actually tried to write such alias plugin though. Here: http://dovecot.org

<    1   2   3   4   5   6   7   8   9   10   >