Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Robert Schetterer
Am 13.01.2011 08:22, schrieb Jonathan Tripathy: Hi Everyone, I wish to create a Postfix/Dovecot active-active cluster (each node will run Postfix *and* Dovecot), which will obviously have to use central storage. I'm looking for ideas to see what's the best out there. All of this will be

Re: [Dovecot] Problem after migration dovecot 1.2 - dovecot 2.0

2011-01-13 Thread Javier de Miguel Rodrí­guez
Still no luck with this. I have followed the debuggind guidelines of dovecot wiki (http://wiki2.dovecot.org/Debugging/ProcessTracing) and executed the following: strace -f -tt -o strace_dovecot -p 15426 15426 is the PID os /usr/sbin/dovecot. I attach you compressed the log of the

Re: [Dovecot] SSD drives are really fast running Dovecot

2011-01-13 Thread Miha Vrhovnik
As a sanity check - I found some data from Mtron (one of the few SSD oems who do quote endurance in a way that non specialists can understand). In the data sheet for their 32G product - which incidentally has 5 million cycles write endurance - they quote the write endurance for the disk as greater

Re: [Dovecot] Problem after migration dovecot 1.2 - dovecot 2.0

2011-01-13 Thread Javier de Miguel Rodrí­guez
These two directories should have dovenull as group.. It should have automatically figured this out by looking up dovenull's group. I could send some debug patches to figure out what the problem is.. But you should be able to work around it by setting: service imap-login { group =

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Stan Hoeppner
Jonathan Tripathy put forth on 1/13/2011 2:24 AM: Ok so this is interesting. As long as I use Postfix native delivery, along with Dovecot director, NFS should work ok? One has nothing to do with the other. Director doesn't touch smtp (afaik), only imap. The reason for having Postfix use

[Dovecot] v2.0.9 released

2011-01-13 Thread Timo Sirainen
http://dovecot.org/releases/2.0/dovecot-2.0.9.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.9.tar.gz.sig I'm still lagging behind in my email, but I guess it's time to release v2.0.9 anyway. - Linux: Fixed a high system CPU usage / high context switch count performance

Re: [Dovecot] v2.0.9 released

2011-01-13 Thread Jan-Frode Myklebust
On Thu, Jan 13, 2011 at 01:21:26PM +0200, Timo Sirainen wrote: I'm still lagging behind in my email, but I guess it's time to release v2.0.9 anyway. - Linux: Fixed a high system CPU usage / high context switch count performance problem Is this relevant to RHEL5 kernels

[Dovecot] doveadm logged in system user

2011-01-13 Thread Thomas Hummel
Hello, Silly question : what user is the logged in system user doveadm-expunge's man page refers to when describing its first form of use ? -- Thomas Hummel | Institut Pasteur hum...@pasteur.fr | Pôle informatique - systèmes et réseau

Re: [Dovecot] doveadm logged in system user

2011-01-13 Thread Pascal Volk
On 01/13/2011 02:04 PM Thomas Hummel wrote: Hello, Silly question : what user is the logged in system user doveadm-expunge's man page refers to when describing its first form of use ? when you are logged in to your box as user 'thomas', then thomas is the logged in system user.

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Jonathan Tripathy
On 13/01/11 10:57, Stan Hoeppner wrote: Jonathan Tripathy put forth on 1/13/2011 2:24 AM: Ok so this is interesting. As long as I use Postfix native delivery, along with Dovecot director, NFS should work ok? One has nothing to do with the other. Director doesn't touch smtp (afaik), only

[Dovecot] Quota_rule in dovecot 1.1

2011-01-13 Thread drum.lu...@gmail.com
What's up!? Well... i'm using this packages: dovecot.x86_64 1.0.7-7.el5 quota.x86_64 1:3.13-1.2.5.el5 Squirrelmail Postfix MYSQL Centos 5.5 64 Bits I configured my dovecot.conf to leave the TRASH folder outside the quota, but without success ... How

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Jonathan Tripathy
On 13/01/11 10:57, Stan Hoeppner wrote: Jonathan Tripathy put forth on 1/13/2011 2:24 AM: Ok so this is interesting. As long as I use Postfix native delivery, along with Dovecot director, NFS should work ok? One has nothing to do with the other. Director doesn't touch smtp (afaik), only

Re: [Dovecot] doveadm logged in system user

2011-01-13 Thread Thomas Hummel
On Thu, Jan 13, 2011 at 02:07:47PM +0100, Pascal Volk wrote: when you are logged in to your box as user 'thomas', then thomas is the logged in system user. Ah sorry, I had interpreted logged in as logged in through IMAP... -- Thomas Hummel | Institut Pasteur hum...@pasteur.fr | Pôle

Re: [Dovecot] doveadm logged in system user

2011-01-13 Thread Thomas Hummel
On Thu, Jan 13, 2011 at 02:51:50PM +0100, Thomas Hummel wrote: On Thu, Jan 13, 2011 at 02:07:47PM +0100, Pascal Volk wrote: when you are logged in to your box as user 'thomas', then thomas is the logged in system user. Ah sorry, I had interpreted logged in as logged in through IMAP...

[Dovecot] umask setting

2011-01-13 Thread PA
Hi, I have a user called archive that gets a BCC of all incoming/outgoing email. I would like to have the email in the new/cur directories setup to be read only, is there a way to do this in dovecot 2.0.8. I know you can set the umask in the dovecot config but I believe this is a global setting.

[Dovecot] Rename public folders

2011-01-13 Thread Burian, John
I've got a number of public mailboxes configured for my users. We pretty much have to use Entourage for a client, which insists on creating all new subfolders with the name 'Untitled Folder'. When they try to rename these subfolders with useful names, Dovecot returns A028 NO [CANNOT] Renaming not

Re: [Dovecot] SSD drives are really fast running Dovecot

2011-01-13 Thread David Woodhouse
On Wed, 2011-01-12 at 09:53 -0800, Marc Perkel wrote: I just replaced my drives for Dovecot using Maildir format with a pair of Solid State Drives (SSD) in a raid 0 configuration. It's really really fast. Kind of expensive but it's like getting 20x the speed for 20x the price. I think the

[Dovecot] Small error in the wiki

2011-01-13 Thread Joseba Torre
Hi, in http://wiki2.dovecot.org/Quota/Configuration, the example script that sends an email to the user uses the -o option to dovecot-lda that doesn't exists. HTH -- Joseba Torre. Vicegerencia de TICs, área de Explotación

[Dovecot] dovecot lda and quota plugin with mysql

2011-01-13 Thread J4
Dear all, I have postfix delivering to dovecot lda (via spamassinassin). I have configured the quota plugin, but it does not seem to respect the details in the quota table in mysql. The query I have used looks correct to me, and the user can connect to the database. I wonder if someone

Re: [Dovecot] v2.0.9 released

2011-01-13 Thread Timo Sirainen
On 13.1.2011, at 14.36, Jan-Frode Myklebust wrote: On Thu, Jan 13, 2011 at 01:21:26PM +0200, Timo Sirainen wrote: I'm still lagging behind in my email, but I guess it's time to release v2.0.9 anyway. - Linux: Fixed a high system CPU usage / high context switch count

Re: [Dovecot] Small error in the wiki

2011-01-13 Thread Timo Sirainen
On 13.1.2011, at 18.12, Joseba Torre wrote: in http://wiki2.dovecot.org/Quota/Configuration, the example script that sends an email to the user uses the -o option to dovecot-lda that doesn't exists. Yes it does.. Why do you think it doesn't?

Re: [Dovecot] Small error in the wiki

2011-01-13 Thread Joseba Torre
El Thursday 13 January 2011, Timo Sirainen t...@iki.fi dijo: On 13.1.2011, at 18.12, Joseba Torre wrote: in http://wiki2.dovecot.org/Quota/Configuration, the example script that sends an email to the user uses the -o option to dovecot-lda that doesn't exists. Yes it does.. Why do you

Re: [Dovecot] v2.0.9 released

2011-01-13 Thread Holger Mauermann
Am 13.01.2011 12:21, schrieb Timo Sirainen: I'm still lagging behind in my email, but I guess it's time to release v2.0.9 anyway. ... - Maildir: Fixed renaming child mailboxes when namespace had a prefix. Renaming a mailbox that has children still doesn't work for me with

Re: [Dovecot] v2.0.9 released

2011-01-13 Thread Mark Alan
On Thu, 13 Jan 2011 13:21:26 +0200, Timo Sirainen t...@iki.fi wrote: http://dovecot.org/releases/2.0/dovecot-2.0.9.tar.gz I'm still lagging behind in my email, but I guess it's time to release v2.0.9 anyway. - Linux: Fixed a high system CPU usage / high context switch count

Re: [Dovecot] SSD drives are really fast running Dovecot

2011-01-13 Thread Robert Brockway
On Wed, 12 Jan 2011, Timo Sirainen wrote: On 12.1.2011, at 21.15, Matt wrote: I thought about doing this on my email server since its troubles are mostly disk I/O saturation but I was concerned about reliability. Have heard that after so many read/writes SSD will go bad. There's no need to

Re: [Dovecot] v2.0.9 released

2011-01-13 Thread Timo Sirainen
On 13.1.2011, at 19.20, Holger Mauermann wrote: Renaming a mailbox that has children still doesn't work for me with v2.0.9 Any ideas? I can't reproduce. Show your dovecot -n output? Jan 13 17:48:15 dovecot dovecot: imap(u...@do.main): Error:

Re: [Dovecot] SSD drives are really fast running Dovecot

2011-01-13 Thread Timo Sirainen
On 13.1.2011, at 19.37, Robert Brockway wrote: Hi Timo. Wear levelling often isn't as good as is claimed on the box. Often wear levelling is only across subsets of the SSD not across the entire device. I've seen several SSD drives fail in production after about 12 months of use, and this

Re: [Dovecot] v2.0.9 released

2011-01-13 Thread Timo Sirainen
On 13.1.2011, at 19.22, Mark Alan wrote: - Linux: Fixed a high system CPU usage / high context switch count performance problem Is this problem also present in Dovecot 1.2.xx ? No. Regarding critical resources in shared (XEN) servers, like CPU or RAM usage, will v.2.0.9 use more (or

Re: [Dovecot] v2.0.9 released

2011-01-13 Thread Holger Mauermann
Am 13.01.2011 18:58, schrieb Timo Sirainen: On 13.1.2011, at 19.20, Holger Mauermann wrote: Renaming a mailbox that has children still doesn't work for me with v2.0.9 Any ideas? I can't reproduce. Show your dovecot -n output? Here it is: # 2.0.9: /etc/dovecot/dovecot.conf # OS: Linux

[Dovecot] master: Error: service(imap): child 40100 killed with signal 11

2011-01-13 Thread interfaSys sàrl
Hello, I've just updated to 2.0.9 and I've got lots of these in the logs now. Jan 13 18:57:13 master: Error: service(imap): child 40100 killed with signal 11 (core not dumped - set service imap { drop_priv_before_exec=yes }) Is there a configuration change or something else I should have done

Re: [Dovecot] master: Error: service(imap): child 40100 killed with signal 11

2011-01-13 Thread Timo Sirainen
On 13.1.2011, at 20.45, interfaSys sàrl wrote: Hello, I've just updated to 2.0.9 and I've got lots of these in the logs now. From 2.0.8? Jan 13 18:57:13 master: Error: service(imap): child 40100 killed with signal 11 (core not dumped - set service imap { drop_priv_before_exec=yes }) Is

Re: [Dovecot] master: Error: service(imap): child 40100 killed with signal 11

2011-01-13 Thread interfaSys sàrl
On 13/01/2011 18:48, Timo Sirainen wrote: On 13.1.2011, at 20.45, interfaSys sàrl wrote: Hello, I've just updated to 2.0.9 and I've got lots of these in the logs now. From 2.0.8? Yes Jan 13 18:57:13 master: Error: service(imap): child 40100 killed with signal 11 (core not dumped -

Re: [Dovecot] SSD drives are really fast running Dovecot

2011-01-13 Thread Steve
Original-Nachricht Datum: Thu, 13 Jan 2011 10:17:20 +0100 Von: Miha Vrhovnik miha.vrhov...@cordia.si An: dovecot@dovecot.org Betreff: Re: [Dovecot]SSD drives are really fast running Dovecot As a sanity check - I found some data from Mtron (one of the few SSD oems

Re: [Dovecot] v2.0.9 released

2011-01-13 Thread Ralf Hildebrandt
* Mark Alan va...@e-healthexpert.org: - Linux: Fixed a high system CPU usage / high context switch count performance problem Is this problem also present in Dovecot 1.2.xx ? No. Regarding critical resources in shared (XEN) servers, like CPU or RAM usage, will v.2.0.9 use more (or

Re: [Dovecot] master: Error: service(imap): child 40100 killed with signal 11

2011-01-13 Thread Timo Sirainen
On 13.1.2011, at 21.01, interfaSys sàrl wrote: Here is the info from the core file: That doesn't make much sense though.. Can you compile Dovecot without stripping debug symbols? Or you can you easily reproduce this? Can you try if you can crash without any plugins? It looks as the problem

Re: [Dovecot] master: Error: service(imap): child 40100 killed with signal 11

2011-01-13 Thread interfaSys sàrl
On 13/01/2011 19:37, Timo Sirainen wrote: On 13.1.2011, at 21.01, interfaSys sàrl wrote: Here is the info from the core file: That doesn't make much sense though.. Can you compile Dovecot without stripping debug symbols? Or you can you easily reproduce this? Can you try if you can

Re: [Dovecot] master: Error: service(imap): child 40100 killed with signal 11

2011-01-13 Thread interfaSys sàrl
I may have found the problem... # ldd /usr/lib/dovecot/lib90_antispam_plugin.so /usr/lib/dovecot/lib90_antispam_plugin.so: libdovecot.so.0 = not found (0x0) libdovecot-storage.so.0 = not found (0x0) I'll recompile to see what happens On 13/01/2011 19:37, Timo Sirainen wrote:

Re: [Dovecot] master: Error: service(imap): child 40100 killed with signal 11

2011-01-13 Thread interfaSys sàrl
Recompiling the plugin didn't help. It seems broken, but I have no idea why it stopped working... On 13/01/2011 19:37, Timo Sirainen wrote: On 13.1.2011, at 21.01, interfaSys sàrl wrote: Here is the info from the core file: That doesn't make much sense though.. Can you compile Dovecot

Re: [Dovecot] SSD drives are really fast running Dovecot

2011-01-13 Thread Eric Rostetter
Quoting David Jonas djo...@vitalwerks.com: I've been considering getting a pair of SSDs in raid1 for just the dovecot indexes. While raid-1 is better than the raid-0 of the previous poster, do you really want to slow down your fast SDDs with software raid-1 on top of them? The hope would be

Re: [Dovecot] master: Error: service(imap): child 40100 killed with signal 11

2011-01-13 Thread interfaSys sàrl
After having removed imap_acl, the crash is gone. On 13/01/2011 19:37, Timo Sirainen wrote: On 13.1.2011, at 21.01, interfaSys sàrl wrote: Here is the info from the core file: That doesn't make much sense though.. Can you compile Dovecot without stripping debug symbols? Or you can you

Re: [Dovecot] Making shared folders unmovable

2011-01-13 Thread Dave
Well, I just noticed this in my logs after I re-loaded the latest Dovecot config I tried: Jan 13 15:09:45 mail dovecot: SIGHUP received - reloading configuration Jan 13 15:09:45 mail dovecot: read(imap dump-capability process) failed: Interrupted system call Jan 13 15:09:45 mail dovecot:

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Stan Hoeppner
Jonathan Tripathy put forth on 1/13/2011 7:11 AM: Would DRBD + GFS2 work better than NFS? While NFS is simple, I don't mind experimenting with DRBD and GFS2 is it means fewer problems? Depends on your definition of better. If you do two dovecot+drbd nodes you have only two nodes. If you do

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Jonathan Tripathy
On 13/01/11 21:34, Stan Hoeppner wrote: Jonathan Tripathy put forth on 1/13/2011 7:11 AM: Would DRBD + GFS2 work better than NFS? While NFS is simple, I don't mind experimenting with DRBD and GFS2 is it means fewer problems? Depends on your definition of better. If you do two dovecot+drbd

Re: [Dovecot] v2.0.9 released

2011-01-13 Thread Holger Mauermann
Am 13.01.2011 19:42, schrieb Holger Mauermann: Am 13.01.2011 18:58, schrieb Timo Sirainen: On 13.1.2011, at 19.20, Holger Mauermann wrote: Renaming a mailbox that has children still doesn't work for me with v2.0.9 Any ideas? I can't reproduce. Show your dovecot -n output? Here it is:

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Eric Rostetter
Quoting Jonathan Tripathy jon...@abpni.co.uk: I'm hearing different things on whether dovecot works well or not with GFS2. Dovecot works fine with GFS2. The question is performance of Dovecot on GFS2. I do dovecot on GFS2 (with mbox instead of maildir) and it works fine for my user load...

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Jonathan Tripathy
Either way, I would probably use a crossover cable for the DRBD cluster. I use 2 1Gb links bonded together, over crossover cables... Could maybe even bond 2 cables together if I'm feeling adventurous! Yes, recommended. That is what I do on all my clusters. How do you bond the

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Henrique Fernandes
As are you thinking, you will have 2 servers with drbd active/standby you could teset both setups, exporting over NFS or over iscsi + gfs2 Does gfs2 guarantee integridy withou anm fency device ? Where i work i guess we choose ocfs2 becasue of this litle problem, we could not have an fenc

[Dovecot] Auto rebuild indexes?

2011-01-13 Thread Willie Gillespie
Here's an easy question for you. I'm restoring some emails from a backup. Do I need to delete or otherwise manually rebuild the indexes? dovecot.index.cache dovecot.index.log dovecot-uidlist Or will Dovecot itself detect that something is amiss and handle it on first folder access? Using

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Jonathan Tripathy
Does gfs2 guarantee integridy withou anm fency device ? You make a fair point. Would I need any hardware fencing for DRBD (and GFS2)?

Re: [Dovecot] Auto rebuild indexes?

2011-01-13 Thread Timo Sirainen
On 14.1.2011, at 1.02, Willie Gillespie wrote: Here's an easy question for you. I'm restoring some emails from a backup. Do I need to delete or otherwise manually rebuild the indexes? No. Or will Dovecot itself detect that something is amiss and handle it on first folder access? Yep.

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Henrique Fernandes
for drbd you only need a heartbeat i guess. But to use gfs2 you need fence device, ocfs2 does not require once, like the ocfs2 driver takes care, it reboots if it thinks it is desyncronized []'sf.rique On Thu, Jan 13, 2011 at 9:04 PM, Jonathan Tripathy jon...@abpni.co.ukwrote: Does gfs2

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Eric Rostetter
Quoting Jonathan Tripathy jon...@abpni.co.uk: Either way, I would probably use a crossover cable for the DRBD cluster. I use 2 1Gb links bonded together, over crossover cables... Could maybe even bond 2 cables together if I'm feeling adventurous! Yes, recommended. That is what I do on

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Eric Rostetter
Quoting Henrique Fernandes sf.ri...@gmail.com: for drbd you only need a heartbeat i guess. Fencing is not needed for drbd, though recommended. But to use gfs2 you need fence device, ocfs2 does not require once, like the ocfs2 driver takes care, it reboots if it thinks it is desyncronized

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Jonathan Tripathy
On 14/01/11 03:39, Eric Rostetter wrote: Quoting Henrique Fernandes sf.ri...@gmail.com: for drbd you only need a heartbeat i guess. Fencing is not needed for drbd, though recommended. But to use gfs2 you need fence device, ocfs2 does not require once, like the ocfs2 driver takes care, it

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Jonathan Tripathy
On 14/01/11 03:26, Eric Rostetter wrote: Quoting Jonathan Tripathy jon...@abpni.co.uk: Either way, I would probably use a crossover cable for the DRBD cluster. I use 2 1Gb links bonded together, over crossover cables... Could maybe even bond 2 cables together if I'm feeling adventurous!

[Dovecot] Time jumped forwards

2011-01-13 Thread Ian B
Running Dovecot 2.0.8 on 32bit Centos5.5. The machine is a VMWare ESX VM. I'm seeing a lot of warning messages in syslog as follows: 2011-01-14T11:45:37.315917+08:00 imap4 dovecot: imap: Warning: Time jumped forwards 105 seconds 2011-01-14T11:46:00.598006+08:00 imap4 dovecot: imap: Warning:

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Eric Rostetter
Quoting Jonathan Tripathy jon...@abpni.co.uk: Linux kernel bonding, mode=4 (IEEE 802.3ad Dynamic link aggregation). I'm guessing that since you're using a cross over cable, by just setting up the bond0 interfaces as usual (As per this article

Re: [Dovecot] Time jumped forwards

2011-01-13 Thread Eric Shubert
On 01/13/2011 09:01 PM, Ian B wrote: Running Dovecot 2.0.8 on 32bit Centos5.5. The machine is a VMWare ESX VM. I'm seeing a lot of warning messages in syslog as follows: 2011-01-14T11:45:37.315917+08:00 imap4 dovecot: imap: Warning: Time jumped forwards 105 seconds

Re: [Dovecot] Best Cluster Storage

2011-01-13 Thread Robert Schetterer
Am 13.01.2011 23:17, schrieb Jonathan Tripathy: On 13/01/11 21:34, Stan Hoeppner wrote: Jonathan Tripathy put forth on 1/13/2011 7:11 AM: Would DRBD + GFS2 work better than NFS? While NFS is simple, I don't mind experimenting with DRBD and GFS2 is it means fewer problems? Depends on your