Re: [Dovecot] So, what about clustering and load balancing?

2010-02-13 Thread Stan Hoeppner
Eric Rostetter put forth on 2/13/2010 11:02 PM: > Which is the same folder/file the imap reads. So you have the MTA > delivering > to the folder/file, and the dovecot server accessing the same, and hence > you have lock contention. Noo, that's not really correct. Ceation, reads, and writes are

Re: [Dovecot] salted passwords

2010-02-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Feb 13, 2010 at 10:09:34PM -0200, Leonardo Rodrigues wrote: > > The idea of salted hash algorithms is to generate a different hash even > if the same text is entered. That can be easily seen with dovecotpw: I don't know about dovecot's al

Re: [Dovecot] So, what about clustering and load balancing?

2010-02-13 Thread Eric Rostetter
Quoting Stan Hoeppner : Eric Rostetter put forth on 2/13/2010 8:39 PM: This ignores the delivery of mail to the user (again, not so bad for maildir but a killer for mbox). If the delivery is on a separate box than dovecot your can have lock contention... You attach the inbound MTA to the FC

Re: [Dovecot] So, what about clustering and load balancing?

2010-02-13 Thread Stan Hoeppner
Eric Rostetter put forth on 2/13/2010 8:39 PM: > This ignores the delivery of mail to the user (again, not so bad for > maildir > but a killer for mbox). If the delivery is on a separate box than dovecot > your can have lock contention... You attach the inbound MTA to the FC switch, export the L

Re: [Dovecot] So, what about clustering and load balancing?

2010-02-13 Thread Eric Rostetter
On 14.2.2010, at 3.31, Stan Hoeppner wrote: I can't see how the metadata sharing of say GFS2 is going to create any serious performance impact on a cluster of dovecot servers using GFS2 and a shared SAN array especially if using maildir. While I use GFS shared on a cluster with dovecot for

Re: [Dovecot] So, what about clustering and load balancing?

2010-02-13 Thread Timo Sirainen
On 14.2.2010, at 3.31, Stan Hoeppner wrote: >> With NFS if you want to avoid random errors, you still need to do the load >> balancing in a way that user's mails are never accessed simultaneously from >> two servers at the same time. See recent "quick question" thread about this. >> Cluster fil

Re: [Dovecot] So, what about clustering and load balancing?

2010-02-13 Thread Stan Hoeppner
Timo Sirainen put forth on 2/13/2010 11:40 AM: > On 13.2.2010, at 17.48, Stefan Foerster wrote: > >> 1) Use a HA shared storage, export either a cluster filesystem or NFS, >> and have your dovecot servers mount that file system. Load balance >> these servers (Cisco ACE, ldirectord, ...) and there

[Dovecot] salted passwords

2010-02-13 Thread Leonardo Rodrigues
The idea of salted hash algorithms is to generate a different hash even if the same text is entered. That can be easily seen with dovecotpw: using NON-salted SHA256, same hash is generated for a given password [r...@correio ~]# dovecotpw -s SHA256 -p 123 {SHA256}pmWkWSBCL51Bfkhn79xPu

Re: [Dovecot] deliver and cloning file permissions

2010-02-13 Thread Alexander 'Leo' Bergolth
On 02/14/2010 12:45 AM, Pascal Volk wrote: > On 02/14/2010 12:03 AM Alexander 'Leo' Bergolth wrote: >> On 02/13/2010 09:28 PM, Pascal Volk wrote: >>> Dovecot: dovecot.conf² >>> mail_location = maildir:~/Maildir >> >> Unfortunately switching from mbox to maildir is not an option. >> >> Btw. I do

Re: [Dovecot] deliver and cloning file permissions

2010-02-13 Thread Pascal Volk
On 02/14/2010 12:03 AM Alexander 'Leo' Bergolth wrote: > On 02/13/2010 09:28 PM, Pascal Volk wrote: >> Dovecot: dovecot.conf² >> mail_location = maildir:~/Maildir > > Unfortunately switching from mbox to maildir is not an option. > > Btw. I don't see the solution. If the inbox is still /var/

Re: [Dovecot] deliver and cloning file permissions

2010-02-13 Thread Alexander 'Leo' Bergolth
On 02/13/2010 09:28 PM, Pascal Volk wrote: > On 02/13/2010 02:57 PM Alexander 'Leo' Bergolth wrote: >> I'd like to use deliver (dovecot-1.2.10) as LDA to deliver mails to my >> local users on my postfix-system. >> >> However, deliver tries to copy the filesystem permissions of the >> mail-spool-fil

Re: [Dovecot] deliver and cloning file permissions

2010-02-13 Thread Pascal Volk
On 02/13/2010 02:57 PM Alexander 'Leo' Bergolth wrote: > Hi! > > I'd like to use deliver (dovecot-1.2.10) as LDA to deliver mails to my > local users on my postfix-system. > > However, deliver tries to copy the filesystem permissions of the > mail-spool-files to the user's index files, which does

Re: [Dovecot] So, what about clustering and load balancing?

2010-02-13 Thread Troy Benjegerdes
I would suggested AFS as shared storage, with user-specific DNS based load balancing. (user connects to 'username.imap.example.com') This probably falls over with huge shared mailboxes though. If you give the IMAP servers sufficient AFS cache space, any data that needs to be read is sitting hot in

Re: [Dovecot] So, what about clustering and load balancing?

2010-02-13 Thread Timo Sirainen
On 13.2.2010, at 17.48, Stefan Foerster wrote: > 1) Use a HA shared storage, export either a cluster filesystem or NFS, > and have your dovecot servers mount that file system. Load balance > these servers (Cisco ACE, ldirectord, ...) and there you go. With NFS if you want to avoid random errors,

[Dovecot] So, what about clustering and load balancing?

2010-02-13 Thread Stefan Foerster
Hello world, so, with beta2 of Dovecot 2.0 being available, what is the preferred way to achieve load balancing and fault tolerance? As far as I can see it, there are basically two options: 1) Use a HA shared storage, export either a cluster filesystem or NFS, and have your dovecot servers mount

[Dovecot] Dovecot+Postfix+Maildir with ActiveDirectory userbase

2010-02-13 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, has anyone implemented a mail server with maildir, Postfix and Dovecot using Active Directory ad userbase and password authentication? Do I need Samba to authenticate users? Can I use credential caching just like mysql? Ciao, luigi - -- / +--

[Dovecot] deliver and cloning file permissions

2010-02-13 Thread Alexander 'Leo' Bergolth
Hi! I'd like to use deliver (dovecot-1.2.10) as LDA to deliver mails to my local users on my postfix-system. However, deliver tries to copy the filesystem permissions of the mail-spool-files to the user's index files, which doesn't work, since the files in /var/mail/ belong to the group 'mail'.