Re: [Dovecot] v2.0.alpha1 released

2009-10-14 Thread Nikolay Shopik
On 14.10.2009 2:30, Ed W wrote: Actually, here's the original Nokia paper - just reading it now, seems quite interesting: http://research.nokia.com/files/NRCTR2008002.pdf I wonder whats difference between WM phones which connects to Exchange servers using same TCP socket via HTTP(S) and push

[Dovecot] Some errors with sieve

2009-10-14 Thread Proskurin Kirill
Hello all. I found some errors in logs like this: Oct 14 05:51:47 IMAP(ch...@khb.fxclub.org): Error: stat(/var/spool/dovecot/domains/khb.fxclub.org/chief/.dovecot.sieve/tmp) failed: Not a directory Oct 14 06:17:01 IMAP(m...@fxclub.org): Error:

Re: [Dovecot] Some errors with sieve

2009-10-14 Thread Stephan Bosch
Proskurin Kirill wrote: Hello all. I found some errors in logs like this: Oct 14 05:51:47 IMAP(ch...@khb.fxclub.org): Error: stat(/var/spool/dovecot/domains/khb.fxclub.org/chief/.dovecot.sieve/tmp) failed: Not a directory Oct 14 06:17:01 IMAP(m...@fxclub.org): Error:

Re: [Dovecot] backup using rsync

2009-10-14 Thread Ed W
to...@tuxteam.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Oct 13, 2009 at 04:15:02PM +0200, Robert Schetterer wrote: to...@tuxteam.de schrieb: On Fri, Oct 09, 2009 at 03:41:40PM +0200, Robert Schetterer wrote: [...] i ll do backups with rsync on maildirs

Re: [Dovecot] v2.0.alpha1 released

2009-10-14 Thread Ed W
Nikolay Shopik wrote: On 14.10.2009 2:30, Ed W wrote: Actually, here's the original Nokia paper - just reading it now, seems quite interesting: http://research.nokia.com/files/NRCTR2008002.pdf I wonder whats difference between WM phones which connects to Exchange servers using same TCP

[Dovecot] Questions regarding dbox migration

2009-10-14 Thread Mikkel
It has been my wish to move to dbox for a long time hoping to reduce the number of writes which is really killing us. Now I wonder what may be the best way of doing so. I'm considering some sort of intermediate migration where the existing Maildir users are changed to single-dbox and then

[Dovecot] quota error dovecot 1.1.13

2009-10-14 Thread Brightblade
Hi all, I've troubles with dovecot and quota. Sometimes mails to users are bounced because quota is full. I'm reading quota_rules from LDAP. One du -h . from maildir show user is under quota ( at 70 % more or less), less than 99%, i delete maildirsize and dovecot recreate it with ldap-quota

Re: [Dovecot] quota error dovecot 1.1.13

2009-10-14 Thread Mikkel
Brightblade skrev: Hi all, I've troubles with dovecot and quota. Sometimes mails to users are bounced because quota is full. I'm reading quota_rules from LDAP. One du -h . from maildir show user is under quota ( at 70 % more or less), less than 99%, i delete maildirsize and dovecot recreate

[Dovecot] pop3-login process

2009-10-14 Thread ogu_yo
Hi, I would like to know if the pop3-login process would be create more than one while a user connection is established. http://wiki.dovecot.org/RunningDovecot imap-login and pop3-login processes handle new IMAP and POP3 connections until user has logged in.

Re: [Dovecot] Some errors with sieve

2009-10-14 Thread Timo Sirainen
On Oct 14, 2009, at 3:55 AM, Stephan Bosch wrote: Proskurin Kirill wrote: Hello all. I found some errors in logs like this: Oct 14 05:51:47 IMAP(ch...@khb.fxclub.org): Error: stat(/var/spool/ dovecot/domains/khb.fxclub.org/chief/.dovecot.sieve/tmp) failed: Not a directory Oct 14 06:17:01

[Dovecot] [Off-Topic] Dovecot and Maildrop

2009-10-14 Thread Darvin Denmian
Hello, I need to know : What is the best way to use Postfix (Virtual User on Mysql) + Dovecot + Maildrop ? Is there some documentation that you can indicate to me? Thanks !!

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Timo Sirainen
On Oct 14, 2009, at 7:03 AM, Mikkel wrote: It has been my wish to move to dbox for a long time hoping to reduce the number of writes which is really killing us. BTW. Have you tried maildir_very_dirty_syncs=yes setting? That should reduce disk i/o, and I'm really interested in hearing how

Re: [Dovecot] [Off-Topic] Dovecot and Maildrop

2009-10-14 Thread Kirill Miazine
* Darvin Denmian [2009-10-14 12:27]: Hello, I need to know : What is the best way to use Postfix (Virtual User on Mysql) + Dovecot + Maildrop ? Is there some documentation that you can indicate to me? Thanks !! http://wiki.dovecot.org/HowTo http://wiki.dovecot.org/maildrop -- -- Kirill

Re: [Dovecot] pop3-login process

2009-10-14 Thread Kirill Miazine
Hello! * ogu...@yahoo.co.jp [2009-10-14 21:47]: Hi, I would like to know if the pop3-login process would be create more than one while a user connection is established. I appologize if I don't understand your question correctly: There will be login_processes_count login processes listening

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Jose Luis Marin Perez
Dear Timo, I added the line you mentioned echo yeah i got here /tmp/autocreate and did not create the file /tmp/autocreate This is the script with the real domain: #!/bin/bash DOMAIN=`echo $USER|sed s/^.*@//` if [ $DOMAIN = operaciones.qnet.com.pe ]; then export

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Timo Sirainen
On Tue, 2009-10-13 at 22:53 -0500, Jose Luis Marin Perez wrote: I added the line you mentioned echo yeah i got here /tmp/autocreate and did not create the file /tmp/autocreate Then it needs more debugging. Try: This is the script with the real domain: #!/bin/bash DOMAIN=`echo

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Charles Marcus
On 10/14/2009, Timo Sirainen (t...@iki.fi) wrote: I'm trying to get v2.0.0 out pretty quickly though. v2.0.beta1 should hopefully be out in less than a month. Great news on how fast 2.0 is coming along! I finally got the go ahead to convert my biggest client, but he wants to hold off (political

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Charles Marcus
On 10/14/2009, Timo Sirainen (t...@iki.fi) wrote: BTW. Have you tried maildir_very_dirty_syncs=yes setting? That should reduce disk i/o, and I'm really interested in hearing how much. What are the downsides? Also, I'm guessing maybe there are certain conditions where you definitely don't want

Re: [Dovecot] quota error dovecot 1.1.13

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 11:43 +, Brightblade wrote: Why is dovecot thinking quota is at 99% when du -h show me its value is near 70% ? any guess? Messages copied with hard links. Try du -l instead. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 12:18 -0400, Charles Marcus wrote: The main problem with it is actually how to make it enough backwards compatible that everyone won't start hating me. I honestly don't see that ever happening Timo - and please, don't go down the same road Microsoft did with Windows.

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 12:18 -0400, Charles Marcus wrote: On 10/14/2009, Timo Sirainen (t...@iki.fi) wrote: BTW. Have you tried maildir_very_dirty_syncs=yes setting? That should reduce disk i/o, and I'm really interested in hearing how much. What are the downsides? Also, I'm guessing maybe

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Charles Marcus
On 10/14/2009 12:24 PM, Timo Sirainen wrote: BTW. Have you tried maildir_very_dirty_syncs=yes setting? That should reduce disk i/o, and I'm really interested in hearing how much. What are the downsides? Also, I'm guessing maybe there are certain conditions where you definitely don't want to

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Jose Luis Marin Perez
Hi Timo, These are the results: more /tmp/autocreate jmarin jmarin I'm using the mail account jma...@operaciones.qnet.com.pe vchkpw-wrapper.sh #!/bin/bash DOMAIN=`echo $USER|sed s/^.*@//` echo $USER /tmp/autocreate echo $DOMAIN /tmp/autocreate if [ $DOMAIN = operaciones.qnet.com.pe ];

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 11:37 -0500, Jose Luis Marin Perez wrote: These are the results: more /tmp/autocreate jmarin jmarin Oh, right, that's because of vchkpw that drops the @domain out of $USER. What if you simply comment out: DOMAIN=`echo $USER|sed s/^.*@//` Maybe it sets $DOMAIN

[Dovecot] dovecot + ldap

2009-10-14 Thread bely junior
Hi, I have a configuration with dovecot authenticating to AD. I would like to authenticate using the user logon name in AD. and mail box were created according to the field mail in AD anyone have any idea about this? my dovecot-ldap: hosts = xx.xx.xx.xx base = dc=domain,dc=com ldap_version = 3

Re: [Dovecot] Better APPEND performance

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-07 at 17:53 -0500, Mike Abbott wrote: What can be done to make maildir_uidlist_refresh_fast_init() choose the fast path more often? Pretty simple bug. Fixed: http://hg.dovecot.org/dovecot-1.2/rev/ebdba086e3b1 This makes the performance pretty good when appending to maildirs

[Dovecot] dovecot + ldap

2009-10-14 Thread bely junior
Hi, I have a configuration with dovecot authenticating to AD. I would like to authenticate using the user logon name in AD. and mail box were created according to the field mail in AD anyone have any idea about this? my dovecot-ldap: hosts = xx.xx.xx.xx base = dc=domain,dc=com ldap_version = 3

Re: [Dovecot] @2.0 IMAP login, Error: ...//lib20_fts_plugin.so: undefined symbol: fts_next_hook_mailbox_allocated

2009-10-14 Thread PGNet Dev
I'm, as yet, still unable to load any fts plugin ... any advice here? Thx. On Mon, Oct 12, 2009 at 9:15 PM, PGNet Dev pgnet.dev+dove...@gmail.com wrote: hi, @ imap login to 2.0/head, Oct 12 21:06:53 master: Info: Dovecot v2.0.alpha1 starting up (core dumps disabled) Oct 12 21:07:16

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Jose Luis Marin Perez
Hi Timo, This is the content of /tmp/Environment: [r...@ml110c ~]# more environment ANONYMOUS_USERNAME=anonymous AUTH_1_MASTER=/usr/local/var/run/dovecot/auth-master AUTH_1_MASTER_GROUP=vchkpw AUTH_1_MASTER_MODE=600 AUTH_1_MASTER_USER=vpopmail AUTH_NAME=default AUTH_WORKER_MAX_COUNT=30

Re: [Dovecot] Better APPEND performance

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 12:48 -0400, Timo Sirainen wrote: On Wed, 2009-10-07 at 17:53 -0500, Mike Abbott wrote: What can be done to make maildir_uidlist_refresh_fast_init() choose the fast path more often? Pretty simple bug. Fixed: http://hg.dovecot.org/dovecot-1.2/rev/ebdba086e3b1

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Mikkel
Timo Sirainen skrev: On Oct 14, 2009, at 7:03 AM, Mikkel wrote: It has been my wish to move to dbox for a long time hoping to reduce the number of writes which is really killing us. BTW. Have you tried maildir_very_dirty_syncs=yes setting? That should reduce disk i/o, and I'm really

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Mikkel
Timo Sirainen skrev: On Oct 14, 2009, at 7:03 AM, Mikkel wrote: Now the big question is whether multi-dbox and single-dbox are compatible formats. Kind of, but not practically. If a Maildir-dbox migration is made on a system running dovecot v. 1.1, would it then be trivial later changing

Re: [Dovecot] Questions regarding dbox

2009-10-14 Thread Andrzej Adam Filip
Timo Sirainen t...@iki.fi wrote: [...] Do you play to support both ways migration tools? dbox - maildir(s) -- [plen: Andrew] Andrzej Adam Filip : a...@onet.eu Unlike most net.puritans, however, I feel that what OTHER consenting computers do in the privacy of their own phone connections is

[Dovecot] Two passwords: One for Dovecot IMAP and One for Dovecot SASL? Is it possible?

2009-10-14 Thread Art Gray - Razorpoint
Greetings, Can Dovecot can handle separate authentication for receiving mail (IMAPS) and sending mail (SMTPS)? In the past, we used Dovecot IMAP for the receiving part and Cyrus SASL for the sending part. This allowed us to use two passwords with mail. Cyrus has grown too old and

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 21:14 +0200, Mikkel wrote: It has been my wish to move to dbox for a long time hoping to reduce the number of writes which is really killing us. BTW. Have you tried maildir_very_dirty_syncs=yes setting? That should reduce disk i/o, and I'm really interested in

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 21:28 +0200, Mikkel wrote: From your comments it appears like dbox and mdbox are quite different in many ways. Is mdbox going to replace dbox completely or are you expecting to keep both formats? My point is: what's going to be the difference between dbox and mbox

Re: [Dovecot] Questions regarding dbox

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 21:39 +0200, Andrzej Adam Filip wrote: Timo Sirainen t...@iki.fi wrote: [...] Do you play to support both ways migration tools? dbox - maildir(s) convert plugin can already do that. In v2.0 I'm planning on getting rid of convert plugin and relying on dsync program. It

[Dovecot] Dovecot deliver with AD LDAP userdb

2009-10-14 Thread Mark Schaub
Good Afternoon, I have my virtual users stored in an Active Directory database. As far as mail info goes the 2 important fields are: mail (their primary email address) and otherMailbox (a multivalue attribute containing their mail aliases). Right now all email addresses belong in the same domain

[Dovecot] Investigating suspected cache corruption

2009-10-14 Thread David Warden
Hi All, I'm running Dovecot 1.1.11 for a site of about 7000 active users with a Squirrelmail frontend. We migrated from Courier (big shout to everyone who worked on the wonderful part of the Dovecot wiki that deals with Courier migration) and I have been extremely happy with the

Re: [Dovecot] Investigating suspected cache corruption

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 16:17 -0400, David Warden wrote: To date, the only problem we have experienced is a seemingly random but significant slowdown in Squirrelmail's loading of the messages in a user's Inbox. Each time, I have been able to fix the problem by deleting the user's

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Mikkel
Timo Sirainen skrev: The main difference is that mdbox needs to lock files when saving messages. That's not especially nice with NFS. Single-dbox currently locks index files, but it can be made entirely lockless eventually. There are also some other differences like: - in mdbox all messages

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 23:04 +0200, Mikkel wrote: So basically you prefer mdbox but are maintaining dbox because of its almost lockless design which is better for NFS users? Do you consider it to be viable having two different dbox formats or are you planning to keep only one of them in a

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Mikkel
Timo Sirainen skrev: On Wed, 2009-10-14 at 21:14 +0200, Mikkel wrote: It has been my wish to move to dbox for a long time hoping to reduce the number of writes which is really killing us. BTW. Have you tried maildir_very_dirty_syncs=yes setting? That should reduce disk i/o, and I'm really

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 23:18 +0200, Mikkel wrote: I don't think I've tried that one. Earlier on I experimented with fsync_disable=yes (which made a huge difference by the way) but that was before I started using mail_nfs_storage=yes and mail_nfs_index=yes I would like to try using

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Jose Luis Marin Perez
Hi Timo, This is the content of /tmp/Environment: [r...@ml110c ~]# more environment ANONYMOUS_USERNAME=anonymous AUTH_1_MASTER=/usr/local/var/run/dovecot/auth-master AUTH_1_MASTER_GROUP=vchkpw AUTH_1_MASTER_MODE=600 AUTH_1_MASTER_USER=vpopmail AUTH_NAME=default AUTH_WORKER_MAX_COUNT=30

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 16:33 -0500, Jose Luis Marin Perez wrote: working correctly, just wanted to ask if I use the variable VPOPUSER not bring trouble? Anything that works is fine. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Autocreate plugin for some domains

2009-10-14 Thread Jose Luis Marin Perez
Thanks Timo. From: t...@iki.fi To: jolumape...@hotmail.com Date: Wed, 14 Oct 2009 17:37:25 -0400 CC: dovecot@dovecot.org Subject: Re: [Dovecot] Autocreate plugin for some domains On Wed, 2009-10-14 at 16:33 -0500, Jose Luis Marin Perez wrote: working correctly, just wanted to ask if I

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Mikkel
Timo Sirainen wrote: And you've actually been looking at Dovecot's error log? Good if it doesn't break, most people seem to complain about random errors. Well, it does complain once in a while but it has never resulted in data being lost in any way. But I guess your point is that this might

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 23:41 +0200, Mikkel wrote: Timo Sirainen wrote: And you've actually been looking at Dovecot's error log? Good if it doesn't break, most people seem to complain about random errors. Well, it does complain once in a while but it has never resulted in data being

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Mikkel
Timo Sirainen wrote: On Wed, 2009-10-14 at 23:41 +0200, Mikkel wrote: Timo Sirainen wrote: And you've actually been looking at Dovecot's error log? Good if it doesn't break, most people seem to complain about random errors. Well, it does complain once in a while but it has never resulted in

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 23:52 +0200, Mikkel wrote: Timo Sirainen wrote: On Wed, 2009-10-14 at 23:41 +0200, Mikkel wrote: Timo Sirainen wrote: And you've actually been looking at Dovecot's error log? Good if it doesn't break, most people seem to complain about random errors. Well, it does

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Mikkel
Timo Sirainen skrev: On Wed, 2009-10-14 at 23:04 +0200, Mikkel wrote: So basically you prefer mdbox but are maintaining dbox because of its almost lockless design which is better for NFS users? Do you consider it to be viable having two different dbox formats or are you planning to keep only

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Mikkel
Timo Sirainen wrote: On Wed, 2009-10-14 at 23:52 +0200, Mikkel wrote: But it should be able to heal itself using the backup files in version 2.0, right? That's the theory anyway. :) How often are they created anyway? Whenever dovecot.index file would normally get recreated, the old one

[Dovecot] Dovecot 1.2.6 segfault in imap_fetch_begin

2009-10-14 Thread Brandon Davidson
We recently upgraded from Dovecot 1.2.4 to 1.2.6 (with the sieve patches of course). Everything has been running quite well since the upgrade. The occasional issue with assert-crashing when expunging has gone away. However, one of our users seems to have triggered a new issue. She's been the only

Re: [Dovecot] Dovecot 1.2.6 segfault in imap_fetch_begin

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 17:14 -0700, Brandon Davidson wrote: Backtraces and some further information are available here. Cores available on request. http://uoregon.edu/~brandond/dovecot-1.2.6/bt.txt -O2 compiling has dropped one stage from the backtrace, but I think this will fix the crash:

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread Timo Sirainen
On Wed, 2009-10-14 at 23:59 +0200, Mikkel wrote: I'm planning on keeping both of them. And it's not necessarily only because of NFS users. Multi-dbox was done mainly because filesystems suck (mailbox gets fragmented all around the disk). Maybe if filesystems in future suck less,

Re: [Dovecot] pop3-login process

2009-10-14 Thread ogu_yo
Hello, Thank you for the reply. So it means like this? A established connection = A pop3-login process I'm having a strange phenomenon that there are 5000 established connections, but pop3-login processes are more than 5000. Regards, --- Kirill Miazine k...@krot.org wrote: Hello! *

Re: [Dovecot] pop3-login process

2009-10-14 Thread Timo Sirainen
On Thu, 2009-10-15 at 09:49 +0900, ogu...@yahoo.co.jp wrote: So it means like this? A established connection = A pop3-login process It should be about that. I'm having a strange phenomenon that there are 5000 established connections, but pop3-login processes are more than 5000. How much

Re: [Dovecot] Dovecot 1.2.6 segfault in imap_fetch_begin

2009-10-14 Thread Brandon Davidson
Timo, -Original Message- -O2 compiling has dropped one stage from the backtrace, but I think this will fix the crash: snip I guess it would be time for 1.2.7 somewhat soon.. Thanks! As always, you're one step ahead of us with the bug fixes! I've got one more for you that just popped

Re: [Dovecot] ldap quota dovecot

2009-10-14 Thread Peter Fraser
HI All I'm having this exact problem but I call deliver this way in Postfix virtual_transport = dovecot mailbox_transport = dovecot Should I remove these and use the mailbox_command directive instead as you suggested? or is there a mailbox_transport alternative? On Mon, Sep 28, 2009 at 4:26 PM,

[Dovecot] Per User Quotas

2009-10-14 Thread Peter Fraser
Hi All I have not been able to get per user quotas going. A general quota works fine. My LDAP server is windows 2000. Here is my config mail# dovecot -n # 1.1.3: /usr/local/etc/dovecot.conf log_path: /var/log/dovecot.log protocols: imaps pop3s lda managesieve listen(default): * listen(imap): *

Re: [Dovecot] Questions regarding dbox migration

2009-10-14 Thread dovecot
At 12:18 PM 10/14/2009, Charles Marcus wrote: Not that you need any help, but I would suggest to just focus on making the conversion tools (mbox/maildir (m)dbox, old config new config, etc) rock solid, and document any incompatibilities really well. It'd be nice to think you were kidding,