Re: [Dovecot] Dovecot load balancing

2008-08-01 Thread Chris Laif
On Thu, Jul 31, 2008 at 3:26 PM, Thomas Hummel <[EMAIL PROTECTED]> wrote: > On Thu, Jul 31, 2008 at 03:07:28PM +0200, Chris Laif wrote: > >> Do you use dovecot's delivery agent (LDA)? > > As I stated, no. I need the procmail filtering features. > As stated in the other mails, you can use procmail

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Ed W
I don't quite understand the proxy_maybe option : proxy_maybe can be used to implement "automatic proxying". If the proxy destination matches the current connection, the user gets logged in normally instead of being proxied. If the same happens with proxy, the login fails with "Proxying loops"

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Thomas Hummel
On Thu, Jul 31, 2008 at 09:21:16AM -0500, Gabriel Millerd wrote: > I am not seeing the issue, your seeing issues with the UA spreading > the connects across multiple servers? I was thinking of what is described here in the Wiki : http://wiki.dovecot.org/NFS "NFS caching is a big problem when m

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Thomas Hummel
On Thu, Jul 31, 2008 at 04:13:51PM +0200, Sven Eulberg wrote: > Call dovecot LDA inside of procmail! [...] > Works like a charm. Thanks, I was thinking about something like that. -- Thomas Hummel | Institut Pasteur <[EMAIL PROTECTED]> | Pôle informatique - systèmes et réseau

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Thomas Hummel
On Thu, Jul 31, 2008 at 10:18:22AM -0400, Eric Toczek wrote: > connection onto server 2. User B connects into server 1 and they live on > server 1, so proxy_maybe allows the connect to be made direct even > though their proxy setting says they go to a specific host (which > happens to be server 1)

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Anders Melchiorsen
Thomas Hummel wrote: > The same machine is running postfix-2.4.6 with amavisd-new-2.5.4 (no > spamassassin) and clamav-0.93.1. I'm using procmail-3.22 as the LDA. > > I installed dovecot-1.1.2 on non-standard ports for test and plan to > switch to > it as I read on this list it performs better, lo

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Gabriel Millerd
On Thu, Jul 31, 2008 at 7:15 AM, Thomas Hummel <[EMAIL PROTECTED]> wrote: > > I don't think that DNS round robin would do the trick because some UA (for > instance Thunderbird) often open up to 5 connexions for the same user, unless > maybe such UA makes a single 'gethostbyname()', thus connecting

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Eric Toczek
Thomas Hummel wrote: > On Thu, Jul 31, 2008 at 03:26:06PM +0200, Thomas Hummel wrote: > >> I don't quite understand the proxy_maybe option : >> > > The proxy_maybe allows you to have a user log into a server that is both doing proxy logins for another host as well as local logins. So Use

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Sven Eulberg
>> Do you use dovecot's delivery agent (LDA)? > As I stated, no. I need the procmail filtering features. Call dovecot LDA inside of procmail! It will speed up your configuration certainly. procmailrc should contain something like: DELIVER="/path/to/dovecot/deliver" :0 w | $DELIVER Works l

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Rick Romero
On Jul 31, 2008, at 8:44 AM, Thomas Hummel wrote: On Thu, Jul 31, 2008 at 03:26:06PM +0200, Thomas Hummel wrote: I don't quite understand the proxy_maybe option : Also, 2 things which aren't quite clear to me in the Wiki : a) Password forwarding Make sure that the authentication succeeds w

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Thomas Hummel
On Thu, Jul 31, 2008 at 03:26:06PM +0200, Thomas Hummel wrote: > I don't quite understand the proxy_maybe option : Also, 2 things which aren't quite clear to me in the Wiki : a) Password forwarding Make sure that the authentication succeeds with any given password. You can do this by using empt

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Thomas Hummel
On Thu, Jul 31, 2008 at 03:07:28PM +0200, Chris Laif wrote: > Do you use dovecot's delivery agent (LDA)? As I stated, no. I need the procmail filtering features. > If you use multiple servers you can use dovecot's proxy-feature to > redirect the user to the correct server. You just need a datab

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Chris Laif
On Thu, Jul 31, 2008 at 2:15 PM, Thomas Hummel <[EMAIL PROTECTED]> wrote: > Every friday a message (no attachement, decent size) is sent to all users : in > such circumstances (but only sometimes, not every time : let's say half the > time such a message is sent), the load goes so high that I have

[Dovecot] Dovecot load balancing

2008-07-31 Thread Thomas Hummel
Hello, I'd like to figure out how to set up a site running dovecot on multiple computers for load balancing reasons. I'm currently running dovecot-1.0.14 on a 8GB RAM, 2 quad-core 2.66Ghz Xeon single server which runs FreeBSD 6.2-STABLE SMP. . the mailbox format was mbox and I successfully mig