Re: [Dovecot] M-Box benchmark

2007-03-17 Thread Jonathan Stewart

Maykel Moya wrote:
A friend of mine passed me this[1] cause I'm recommending him Dovecot. 

[snip]

[1] http://www.isode.com/whitepapers/mbox-benchmark.html


My first questions about this test are what version of dovecot was used, 
did they take into account the fact that dovecot has to build indexes? 
A 10s ramp-up time seems rather short for that.  What kind of auth 
backend was used for each product and did they even attempt any kind of 
performance tuning on anything other than their product?  This 
"whitepaper" comes across as extremely biased and very short on 
important information.


Jonathan




Re: [Dovecot] M-Box benchmark

2007-03-17 Thread Jonathan Stewart

Javier Henderson wrote:


On Mar 17, 2007, at 2:02 PM, Jonathan Stewart wrote:


Maykel Moya wrote:

A friend of mine passed me this[1] cause I'm recommending him Dovecot.

[snip]

[1] http://www.isode.com/whitepapers/mbox-benchmark.html


My first questions about this test are what version of dovecot was 
used, did they take into account the fact that dovecot has to build 
indexes? A 10s ramp-up time seems rather short for that.  What kind of 
auth backend was used for each product and did they even attempt any 
kind of performance tuning on anything other than their product?  This 
"whitepaper" comes across as extremely biased and very short on 
important information.


It seems to me that it was a vendor sponsored test, so one would think 
they designed the testing criteria to favor their product.


I know and I'm sure they did.  I just had to rant a bit because this 
kind of thing is so common and many people don't even bother to ask 
questions about it and accept any "study" or "whitepaper" as gospel.


Jonathan


[Dovecot] Dovecot LDA Logging

2007-03-23 Thread Jonathan Stewart
I have Dovecot LDA logging fine right now but I really don't like having 
my log files world writable because I have users with shell access.


Is there a way to have Dovecot LDA log to syslog or would it be possible 
to write a mini-daemon that could log to syslog on behalf of Deliver or 
something else altogether?


Jonathan


Re: [Dovecot] Dovecot LDA Logging

2007-03-23 Thread Jonathan Stewart

Timo Sirainen wrote:

On Fri, 2007-03-23 at 17:18 -0400, Jonathan Stewart wrote:
I have Dovecot LDA logging fine right now but I really don't like having 
my log files world writable because I have users with shell access.


Is there a way to have Dovecot LDA log to syslog 


Set the log_path and info_log_path empty.


Okay, that's easy.  I'll set it up later this evening and unless you see 
another email from me it will have worked fine.  Although its simple 
maybe this could be added explicitly to the wiki?  There's at least 1 
person that couldn't figure it out :P


Jonathan


Re: [Dovecot] Mixing MBOX and Maildir?

2007-04-23 Thread Jonathan Stewart

Marc Perkel wrote:
Why couldn't this be done. If you re in maildir mode opening a folder 
you are expecting a directory structure:


.folder
.folder/cur
.folder/tmp
.folder/new

However if instead you find an mbox file called:

folder

Then you just open it as mbox and have it work automatically. Or 
alternatively translate it to maildir automagically.


You could, but my impression is that Timo would consider that to be 
adding too much complexity to the code for the benefit.  It could also 
be a performance issue due to the fact it would probably require at 
least one extra syscall per access.


He may have suggestions on where to start if you wanted to create a 
local patch for something like that but I think there are other things 
he wants to get done first.


Of course I could be totally wrong so take this message with the 
proverbial grain of salt.


Jonathan


Re: [Dovecot] Courier-imap + dovecot simultaneously?

2007-04-29 Thread Jonathan Stewart

Charles Marcus wrote:

Hi everyone,

I have a client I've been trying to talk into switching from courier to 
dovecot, but the owner of the company wants me to set up two different 
accounts in Thunderbird (I finally got him switched to that from outlook 
express), one accessing his account through courier, and one through 
dovecot, so he can compare the speed...


Is this even possible? I've never tried it before, so before I spend a 
lot of time, I want to know if I'd be wasting it (my time)...


Yes, it's possible.  You just have to set the 2 servers up on separate 
ports and make sure the correct ports are set in Thunderbird.  I'm not 
sure what would happen with dovecot's index files but most likely if 
courier does something goofy they will just get rebuilt.


Jonathan


Re: [Dovecot] Sieve server in python

2007-07-21 Thread Jonathan Stewart
Sam Przyswa wrote:
> Hi,
> 
> I'm testing Dovecot to migrate from my old Courier IMAP/POP server. It
> work fine but I have some problems to start the sieve server "pysieved"
> from Neale Pickett in PAM auth, I got the message:
> 
> Traceback (most recent call last):
>  File "/usr/share/pysieved/pysieved.py", line 97, in 
>main()
>  File "/usr/share/pysieved/pysieved.py", line 60, in main
>None, None, True)
>  File "/usr/share/pysieved/auth/pam.py", line 22, in 
>import PAM
> ImportError: No module named PAM
> 
> What's wrong ?

I presume your on a BSD system?  If so it's your lucky day ;) I just
worked on this the other day.  I wound up having to give up on PAM
because the PAM module the author used uses Linux specific add-ons to
PAM and won't work on BSD.  I'm already using Dovecot SASL for postfix
so I just pointed pysieved at the same socket postfix uses and told it
to use dovecot for auth and storage and passwd for userdb.  If you do
this though there are a couple of patches to apply as well.
http://woozle.org/list-archives/pysieved/msg00057.html

If this is for a FreeBSD system I was considering wrapping it up into an
actual port and submitting it, if you would use it I might actually get
around to doing it.

Hope this helps,
Jonathan