Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-27 Thread Attila Nagy
On 09/27/10 23:26, Timo Sirainen wrote: Thanks! But shouldn't "Avoid fsyncing subscriptions file when it doesn't change or if mail_fsync=never." be "Avoid re-writing subscriptions file when it doesn't change and fsyncing it if mail_fsync=never."? I mean (I haven't read the code context) if you

[Dovecot] dsync is seriously broken when syncing maildir and mdbox

2010-09-27 Thread interfaSys sàrl
Hello, I thought mdbox was production ready, but it seems to me that (in 2.0.4) it's quite broken. 1) The documentation only running this to convert from maildir to mdbox: *dsync mirror maildir:~/Maildir* but based on my experience and on posts on the mailing list, it's not enough. A namespac

[Dovecot] Command to get proxy connection count

2010-09-27 Thread Brad Davidson
Timo, I'm trying to get a count of active proxy sessions on a given Director. I can of course enable verbose_proctitle and parse the 'N connections' string out of ps output or /proc/pid/cmdline. Is there a better way to do that, perhaps with doveadm? Goes back to needing a command for proxy and di

Re: [Dovecot] dovecot 2.0.4 imap service error

2010-09-27 Thread Timo Sirainen
On 27.9.2010, at 22.17, Nishant Limbachia wrote: > Just upgraded from 2.0.3 to 2.0.4 and getting this message in the logs > (repeated several times) > > master: Error: service(imap): child 9631 killed with signal 11 Can you get gdb backtrace? http://dovecot.org/bugreport.html > I'm using mdbox

Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-27 Thread Timo Sirainen
On 27.9.2010, at 20.13, Attila Nagy wrote: >>> I've searched for some more examples and each of them were like this >>> one. It seems that Dovecot copies the subscriptions file to this >>> temporary file and then fsyncs it. And the question also arises: why? >> Fixed: http://hg.dovecot.org/dovecot

[Dovecot] dovecot 2.0.4 imap service error

2010-09-27 Thread Nishant Limbachia
Just upgraded from 2.0.3 to 2.0.4 and getting this message in the logs (repeated several times) master: Error: service(imap): child 9631 killed with signal 11 I'm using mdbox and had no problems using 2.0.3 until I upgraded this morning. I understand there were some Index changes and I'm not kee

Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-27 Thread Attila Nagy
On 09/27/2010 04:52 PM, Timo Sirainen wrote: On Mon, 2010-09-27 at 16:31 +0200, Attila Nagy wrote: doveconf -n: mail_plugins = $mail_plugins quota One annoying problem about v2.0's doveconf -n output is that it hides when using multiple var=$var lines.. Did you have more plugins than just quot

Re: [Dovecot] Need more info on new fsync switch

2010-09-27 Thread interfaSys sàrl
Thank you very much Timo. On 27/09/2010 18:00, Timo Sirainen wrote: > On Mon, 2010-09-27 at 17:30 +0100, interfaSys sàrl wrote: >> Hello, >> I wanted to improve performance by disabling fsync where I can, but the >> example in the Wiki is outdated >> http://wiki2.dovecot.org/MailLocation/LocalDisk

Re: [Dovecot] Need more info on new fsync switch

2010-09-27 Thread Timo Sirainen
On Mon, 2010-09-27 at 17:30 +0100, interfaSys sàrl wrote: > Hello, > I wanted to improve performance by disabling fsync where I can, but the > example in the Wiki is outdated > http://wiki2.dovecot.org/MailLocation/LocalDisk Updated.

Re: [Dovecot] [Dovecot-news] v2.0.4 released

2010-09-27 Thread Leonardo Rodrigues
Em 27/09/2010 12:37, Timo Sirainen escreveu: On Mon, 2010-09-27 at 12:32 -0300, Leonardo Rodrigues wrote: Hi Timo, i couldnt compile 2.0.4 anymore after applying the 2 proposed patches. Without them, 2.0.4 builds just fine. Apply only the first patch, that's enough. yes it compile

[Dovecot] Need more info on new fsync switch

2010-09-27 Thread interfaSys sàrl
Hello, I wanted to improve performance by disabling fsync where I can, but the example in the Wiki is outdated http://wiki2.dovecot.org/MailLocation/LocalDisk # Enable for IMAP/POP3 fsync_disable = yes protocol lda { # Disable for LDA/LMTP fsync_disable = no } Can that simply be replaced b

Re: [Dovecot] [Dovecot-news] v2.0.4 released

2010-09-27 Thread Timo Sirainen
On Mon, 2010-09-27 at 12:32 -0300, Leonardo Rodrigues wrote: > Hi Timo, > > i couldnt compile 2.0.4 anymore after applying the 2 proposed > patches. Without them, 2.0.4 builds just fine. Apply only the first patch, that's enough. > ./configure was issued AFTER the patches were applied

Re: [Dovecot] [Dovecot-news] v2.0.4 released

2010-09-27 Thread Leonardo Rodrigues
Hi Timo, i couldnt compile 2.0.4 anymore after applying the 2 proposed patches. Without them, 2.0.4 builds just fine. ./configure was issued AFTER the patches were applied ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ INSTALL_DATA="install -c -p -m644" --w

Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-27 Thread Timo Sirainen
On Mon, 2010-09-27 at 16:31 +0200, Attila Nagy wrote: > doveconf -n: > mail_plugins = $mail_plugins quota One annoying problem about v2.0's doveconf -n output is that it hides when using multiple var=$var lines.. Did you have more plugins than just quota enabled? > Should I set mail_fsync for onl

Re: [Dovecot] Postfix SASL Auth

2010-09-27 Thread Leon Meßner
Hi, On Sun, Sep 26, 2010 at 08:02:58PM +0200, sie...@email.de wrote: > Hello, > > i use Postfix (2.7.1) and Dovecot (1.2.14) on my FreeBSD Server. I use > Postfixadmin and Virtuell User. The login going without problems, but > the SASL Auth want not work. > > Have someone a Idea? FreeBSD has so

Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-27 Thread Attila Nagy
On 09/27/10 15:48, Timo Sirainen wrote: On Mon, 2010-09-27 at 10:09 +0200, Attila Nagy wrote: I've tried to set the above in Dovecot 2.0.3, but according to ktrace (FreeBSD) it still fsync()s a lot (pop3 processes for example). Is this switch useful at all? I did a quick test and didn't see a

Re: [Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Timo Sirainen
On Mon, 2010-09-27 at 15:57 +0200, Harald Strack wrote: > > No, wrong. It's a user+ip combination. Each different user behind the > > same IP can use up to 10 connections with > > mail_max_userip_connections=10. > > Thanks a lot for your explanation! However, now I am at the beginning > again. Y

Re: [Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Harald Strack
Hi Timo, On Mon, 2010-09-27 at 14:42 +0100, Timo Sirainen wrote: > On Mon, 2010-09-27 at 15:30 +0200, Harald Strack wrote: > > > Accordingly, mail_max_userip_connections limits the number of > > connections from an IP. To deal with a scenario, when 400 Users behind a > > NAT-gateway come from th

Re: [Dovecot] Postfix SASL Auth

2010-09-27 Thread Timo Sirainen
On Sun, 2010-09-26 at 20:02 +0200, sie...@email.de wrote: > i use Postfix (2.7.1) and Dovecot (1.2.14) on my FreeBSD Server. I use > Postfixadmin and Virtuell User. The login going without problems, but > the SASL Auth want not work. > > Have someone a Idea? Set auth_debug_passwords=yes and see

Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-27 Thread Timo Sirainen
On Mon, 2010-09-27 at 10:09 +0200, Attila Nagy wrote: > I've tried to set the above in Dovecot 2.0.3, but according to ktrace > (FreeBSD) it still fsync()s a lot (pop3 processes for example). > Is this switch useful at all? I did a quick test and didn't see any fsyncs. Can you find out what file

Re: [Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Timo Sirainen
On Mon, 2010-09-27 at 15:30 +0200, Harald Strack wrote: > Accordingly, mail_max_userip_connections limits the number of > connections from an IP. To deal with a scenario, when 400 Users behind a > NAT-gateway come from the same IP (the gateway), we have to set > mail_max_userip_connections = 400,

Re: [Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Harald Strack
Hi Timo, On Mon, 2010-09-27 at 13:50 +0100, Timo Sirainen wrote: > On Mon, 2010-09-27 at 12:17 +0200, Harald Strack wrote: > > > > Our users mostly accessing the IMAP server by a webmailer or proxies. > > > > Thus, all users (>1) come from only 5 different IP. However, I got a > > > > lot o

Re: [Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Timo Sirainen
On Mon, 2010-09-27 at 12:17 +0200, Harald Strack wrote: > > > Our users mostly accessing the IMAP server by a webmailer or proxies. > > > Thus, all users (>1) come from only 5 different IP. However, I got a > > > lot of complaints about denied connections after setting > > > mail_max_userip_co

Re: [Dovecot] [Dovecot-news] v2.0.4 released

2010-09-27 Thread Timo Sirainen
On Mon, 2010-09-27 at 14:13 +0200, Renaud Allard wrote: > I upgraded from 2.0.2 this morning and now all the mails which were > compressed using zlib plugin are not readable anymore. Also, new mails > are not stored compressed anymore either. This is on OpenBSD amd64, and > I am using sdbox. W

Re: [Dovecot] [Dovecot-news] v2.0.4 released

2010-09-27 Thread Renaud Allard
On 09/26/2010 07:55 PM, Timo Sirainen wrote: http://dovecot.org/releases/2.0/dovecot-2.0.4.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.4.tar.gz.sig multi-dbox users: Be careful about the INDEX change. Hello, I upgraded from 2.0.2 this morning and now all the mails which were compre

Re: [Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Harald Strack
Hi Stan, thank you very much for your help! On Mon, 2010-09-27 at 04:24 -0500, Stan Hoeppner wrote: > Harald Strack put forth on 9/27/2010 3:59 AM: > > Hi, > > > > I set mail_max_userip_connections in our IMAP configuration to > > > > mail_max_userip_connections = 10 > > > > to allow users 1

Re: [Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Stan Hoeppner
Harald Strack put forth on 9/27/2010 3:59 AM: > Hi, > > I set mail_max_userip_connections in our IMAP configuration to > > mail_max_userip_connections = 10 > > to allow users 10 parallel connections. It seems that this also limits > the amount of parallel connections from one IP but different

[Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Harald Strack
Hi, I set mail_max_userip_connections in our IMAP configuration to mail_max_userip_connections = 10 to allow users 10 parallel connections. It seems that this also limits the amount of parallel connections from one IP but different users?! Our users mostly accessing the IMAP server by a webm

[Dovecot] mail_fsync=never doesn't work?

2010-09-27 Thread Attila Nagy
Hello, I've tried to set the above in Dovecot 2.0.3, but according to ktrace (FreeBSD) it still fsync()s a lot (pop3 processes for example). Is this switch useful at all?