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

2012-03-28 Thread Nikita Koshikov
On Wed, 28 Mar 2012 09:39:37 +1300 Bruce, Andrew wrote: On 28 March 2012 09:36, Bruce, Andrew abr...@tumnus.co.nz wrote: On 27 March 2012 19:14, Nikita Koshikov koshi...@gmail.com wrote: On Tue, 27 Mar 2012 13:57:04 +1300 Bruce, Andrew wrote: Hi there, We're setting up a Dovecot

Re: [Dovecot] dbox vs. mdbox

2012-03-28 Thread Hangas
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 the before/after numbers can't be

Re: [Dovecot] Namespace, prefix questions

2012-03-28 Thread Steve Campbell
On 3/27/2012 10:40 AM, 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 got a

[Dovecot] Sieve fileinto and year/month folders.

2012-03-28 Thread Xavier Beaudouin
Hi there, I am trying to move from lmtpd (lmtpd.sf.net) to dovecot sieve. One thing used by some of powerusers are archiving mail automatically with autocreated folders based on year + month. Is there any good way to make that with sieve... One example require fileinto; if address :is

Re: [Dovecot] Sieve fileinto and year/month folders.

2012-03-28 Thread Stephan Bosch
Op 3/28/2012 5:50 PM, Xavier Beaudouin schreef: Hi there, I am trying to move from lmtpd (lmtpd.sf.net) to dovecot sieve. One thing used by some of powerusers are archiving mail automatically with autocreated folders based on year + month. Is there any good way to make that with sieve...

Re: [Dovecot] dsync redesign

2012-03-28 Thread Stan Hoeppner
On 3/27/2012 3:57 PM, Jeff Gustafson wrote: We do have a FC system that another department is using. The company dropped quite a bit of cash on it for a specific purpose. Our department does not have access it to. People are somewhat afraid of iSCSI around here because they believe it

Re: [Dovecot] Sieve fileinto and year/month folders.

2012-03-28 Thread Gregory Finch
On 2012-03-28 8:50 AM, Xavier Beaudouin wrote: Hi there, I am trying to move from lmtpd (lmtpd.sf.net) to dovecot sieve. One thing used by some of powerusers are archiving mail automatically with autocreated folders based on year + month. Is there any good way to make that with sieve...

Re: [Dovecot] Sieve fileinto and year/month folders.

2012-03-28 Thread Gregory Finch
On 2012-03-28 9:04 AM, Stephan Bosch wrote: Op 3/28/2012 5:50 PM, Xavier Beaudouin schreef: Hi there, I am trying to move from lmtpd (lmtpd.sf.net) to dovecot sieve. One thing used by some of powerusers are archiving mail automatically with autocreated folders based on year + month. Is

Re: [Dovecot] Sieve fileinto and year/month folders.

2012-03-28 Thread Stephan Bosch
Op 3/28/2012 6:26 PM, Gregory Finch schreef: On 2012-03-28 9:04 AM, Stephan Bosch wrote: require [variables,date,fileinto,mailbox]; # Extract date info if currentdate :matches year * { set year ${1}; } if currentdate :matches month * { set month ${1}; } # Archive Dovecot mailing list items

Re: [Dovecot] dsync redesign

2012-03-28 Thread Jeff Gustafson
On Wed, 2012-03-28 at 11:07 -0500, Stan Hoeppner wrote: Locally attached/internal/JBOD storage typically offers the best application performance per dollar spent, until you get to things like backup scenarios, where off node network throughput is very low, and your backup software may suffer

Re: [Dovecot] Need fast Maildir to mdbox conversion

2012-03-28 Thread Jeff Gustafson
On Wed, 2012-03-28 at 09:24 +0200, Jan-Frode Myklebust wrote: Why is it a problem that dsync takes a long time, when it can be done without downtime for the users? I just started our maildir-mdbox convertion yesterday, using the attached script. I only converted a little over 1 easy

Re: [Dovecot] Need fast Maildir to mdbox conversion

2012-03-28 Thread Jeff Gustafson
On Tue, 2012-03-27 at 20:00 -0700, Robin wrote: I'm writing a swiss-army (C-based, no bytecode crap languages) mailbox transcoding tool, since none appear to exist. To keep it simple, I/O to/from remote mailbox (connections) are not pipelined. It won't require more than MAXEMAILSIZE's

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] dsync is SLOW compared to rsync

2012-03-28 Thread Jeff Gustafson
On Thu, 2012-03-29 at 02:12 +0300, Timo Sirainen wrote: 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

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 Jeff Gustafson
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:/home/bu/test.mdbox import

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

Re: [Dovecot] dsync is SLOW compared to rsync

2012-03-28 Thread Jeff Gustafson
On Thu, 2012-03-29 at 04:07 +0300, Timo Sirainen wrote: 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

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

2012-03-28 Thread Joseph Tam
Timo Sirainen t...@iki.fi wrote: Which mailbox format? With Maildir the date.saved is taken from dovecot.index.cache file, and in some cases that might get dropped. If it does, then it fallbacks to using the file's ctime. mbox. Ah, with mbox there isn't any usable fallback for date.saved.

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] Dovecot upgrade from 1.2.x to 2.0.x: roundcube/squirrelmail sent folder doesn't work any more

2012-03-28 Thread Gerhard Wiesinger
On Thu, 29 Mar 2012, Timo Sirainen wrote: 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