Re: [Dovecot] v1.1 status and benchmarks

2007-07-12 Thread Arkadiusz Miskiewicz
On Thursday 12 of July 2007, Timo Sirainen wrote: > v1.1 plans have changed a bit. I'll release v1.1.alpha1 soon and hope to > have a stable v1.1 in a month or two. The rest of the features that > didn't make it into v1.1 will go to v1.2. I'll write more about this > when v1.1 alpha is released. >

Re: [Dovecot] v1.0.2 release candidate

2007-07-12 Thread Timo Sirainen
On 12.7.2007, at 9.47, Tan Shao Yi wrote: Just a quick check, if a round-robin hostname was specified in the hosts key/value pair in dovecot-ldap.conf, will dovecot round-robin LDAP queries among the IPs? Dovecot doesn't even try to parse the hosts setting. it just passes it to LDAP libra

Re: [Dovecot] v1.1 status and benchmarks

2007-07-12 Thread Timo Sirainen
On 12.7.2007, at 10.07, Arkadiusz Miskiewicz wrote: I also did a bit of benchmarking. v1.1's performance improvements are looking pretty great, it seems to be twice as fast as v1.0. Could you somehow test system usage resources, too? That will be probably problematic to measure. It is pro

Re: [Dovecot] v1.1 status and benchmarks

2007-07-12 Thread Arkadiusz Miskiewicz
On Thursday 12 of July 2007, Timo Sirainen wrote: > > For example being twice fast and eating four time more resources > > isn't a great > > win. That bit me when I wanted to switch from tpop3d to dovecot for > > pop3 > > (already done similar switch for imap). It looks like dovecot does > > much

Re: [Dovecot] v1.1 status and benchmarks

2007-07-12 Thread Timo Sirainen
On 12.7.2007, at 10.22, Arkadiusz Miskiewicz wrote: Although I'm guessing your "much more I/O" means that Dovecot reads the message contents to calculate the messages' correct virtual size, while tpop3d violates POP3 spec by returning physical message sizes. Also Dovecot 1.0's deliver doesn't he

Re: [Dovecot] 1.0.1: corrupt index on fresh mailbox, ideas?

2007-07-12 Thread Chris Laif
On 7/12/07, Timo Sirainen <[EMAIL PROTECTED]> wrote: On Wed, 2007-07-11 at 15:18 +0200, Chris Laif wrote: > On 7/10/07, Timo Sirainen <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-07-09 at 11:45 -0700, Troy Engel wrote: > > > dovecot: Jul 09 09:38:54 Error: IMAP(xxx): Maildir > > > /home/x/

Re: [Dovecot] v1.1 status and benchmarks

2007-07-12 Thread DINH Viêt Hoà
On 7/12/07, Timo Sirainen <[EMAIL PROTECTED]> wrote: v1.1 plans have changed a bit. I'll release v1.1.alpha1 soon and hope to have a stable v1.1 in a month or two. The rest of the features that didn't make it into v1.1 will go to v1.2. I'll write more about this when v1.1 alpha is released. I al

Re: [Dovecot] v1.1 status and benchmarks

2007-07-12 Thread Arkadiusz Miskiewicz
On Thursday 12 of July 2007, Timo Sirainen wrote: > On 12.7.2007, at 10.22, Arkadiusz Miskiewicz wrote: > >> Although I'm guessing your "much more I/O" means that Dovecot reads > >> the message contents to calculate the messages' correct virtual size, > >> while tpop3d violates POP3 spec by returni

Re: [Dovecot] NFS cache flush tester

2007-07-12 Thread Cor Bosman
> Running rpc.lockd and rpc.statd on FreeBSD 6.2-STABLE #17: Sun Jun 24 > 22:11:00 EDT 2007 > with a NetApp filer as the server, ran 3 times and compared output (same): > Weird, I have the exact same setup and for me this program hangs, and I have to kill lockd. Cor

[Dovecot] Today's stable hg pull destroyed dovecot...

2007-07-12 Thread Ralf Hildebrandt
I performed a hg pull today for 1.0.1 and after recompilation my log was flooded with: Jul 12 10:29:21 postamt dovecot: IMAP(kxx4): UID larger than next_uid in file /home/k/j/kxx4/Maildir/dovecot-uidlist (6 >= 0) Jul 12 10:29:21 postamt dovecot: IMAP(rexxxes): UID larger than next_uid in file /h

[Dovecot] Patches to log imap bandwidth?

2007-07-12 Thread Jason Fesler
Anyone patch dovecot to syslog bytes transfered during a session or anything of that sort? I'm trying to track down imap bandwidth spikes, and unfortunately the uid (according to ipfw) for the imap port spikes is 0. (Presumably FreeBSD's ipfw accounting is based on who started the app instead o

Re: [Dovecot] ssh tunneling and maildir

2007-07-12 Thread Johannes Berg
On Wed, 2007-07-11 at 08:57 -0700, Joel Becker wrote: > Ok. How do I configure it if I cannot modify /etc? Ah, good question. > /usr/sbin/dovecot -c /home/jlbec/.dovecotrc Sounds good. > . I also assume I need -F to > run it as a foreground process? No, with --exec-mail imap it automa

Re: [Dovecot] v1.0.2 release candidate

2007-07-12 Thread Nicolas STRANSKY
Le 12.07.2007 03:38, Timo Sirainen a écrit : > http://dovecot.org/tmp/dovecot-1.0.2-rc.tar.gz > > Unless someone finds something broken, I'll release v1.0.2 in a few > days. The most important changes since v1.0.1: Hello, Is there any plan to add rquotad support in v1.0.2 or to release a changes

Re: [Dovecot] dovecot-dspam plugin & virtual users

2007-07-12 Thread Johannes Berg
Hi Wicher, [now I know who it was on jabber. heh] > I'm trying to use the dovecot-dspam plugin ( > http://johannes.sipsolutions.net/Projects/dovecot-dspam-integration ) > with vpopmail's virtual users. > All seems well, except for the fact that dspam should be called with > '--user [EMAIL PROTECT

[Dovecot] Dovecot login failing

2007-07-12 Thread Richard Ellis
Fedora 7 Dovecot version 1.0.1 Hi All, I've been using a combination of getmail/Dovecot/Squirrelmail for a while now and its all been fine. However, last week when trying to demonstrate how to use Squirrelmail to my wife, her login failed. I then tried mine, which I had used many times before an

Re: [Dovecot] v1.1 status and benchmarks

2007-07-12 Thread Farkas Levente
Timo Sirainen wrote: > v1.1 plans have changed a bit. I'll release v1.1.alpha1 soon and hope to > have a stable v1.1 in a month or two. The rest of the features that > didn't make it into v1.1 will go to v1.2. I'll write more about this > when v1.1 alpha is released. > > I also did a bit of benchm

Re: [Dovecot] NFS cache flush tester

2007-07-12 Thread Chris Wakelin
Timo Sirainen wrote: > http://dovecot.org/tools/nfstest.c > > I wrote a test utility that tests different ways to flush NFS attribute > cache and data cache. Please test in your NFS setup and show me the > results, so I can make Dovecot v1.1 works well with NFS. > Results for Solaris 8 talking

Re: [Dovecot] Problem with Dovecot SASL in Postfix

2007-07-12 Thread Charles Marcus
On 7/11/2007, Chris McMacken ([EMAIL PROTECTED]) wrote: Here the auth section of my dovecot conf. Please always only provide dovecot -n output - it eliminates confusion and mistakes (maybe you are editing a config file that dovecot is not using?)... -- Best regards, Charles

Re: [Dovecot] Dovecot login failing

2007-07-12 Thread albinootje
Richard Ellis wrote: [getmail/dovecot/squirrelmail login failure] > Looking in the logs, Dovecot appears to be trying to add a domain name > against the login, instead of just checking that user against the UNIX > logins of my machine. can you provide "dovecot -n" output ? and did something chang

Re: [Dovecot] Dovecot login failing

2007-07-12 Thread Richard Ellis
[EMAIL PROTECTED] ~]# dovecot -n # 1.0.1: /etc/dovecot.conf log_path: /var/log/dovecot info_log_path: /var/log/dovecot protocols: imap pop3 imaps pop3s ssl_listen: [::] login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec

Re: [Dovecot] NFS cache flush tester

2007-07-12 Thread Andrew Ziem
Timo Sirainen wrote: On Wed, 2007-07-11 at 22:12 -0600, Andrew Ziem wrote: Info: Data cache flush O_DIRECT: OK I suppose this means that your kernel was compiled with CONFIG_NFS_DIRECTIO=y? Yes, apparently so. I think this is the correct file: http://cvs.fedora.redhat.com/viewcv

Re: [Dovecot] v1.1 status and benchmarks

2007-07-12 Thread Eric Rostetter
Quoting Timo Sirainen <[EMAIL PROTECTED]>: Yes, Dovecot's hasn't been a very good POP3 server. With v1.1 there are several improvements that should make it a lot better, although maybe still not perfect. It may not be as "good" compared to some (like tpop3d) but it certainly rocks compared to

[Dovecot] Problem with Dovecot SASL in Postfix

2007-07-12 Thread Chris McMacken
Ok lets try this again... I'm trying to configure my postfix server to use Dovecot as an SASL server and running into some problems. My server supports a couple of domain, I have multiple user/password files for multiple domains to make the files a little easier to manage. Not sure if this questi

Re: [Dovecot] NFS cache flush tester

2007-07-12 Thread Doug Council
On Thu, 12 Jul 2007, Timo Sirainen wrote: On Wed, 2007-07-11 at 15:43 -0700, Doug Council wrote: Here are the results for FreeBSD 6.2-RELEASE-p5 and a NetApp NFS server. FYI, the fcntl errors also appeared on the server instance. .. Error: fcntl(setlk, read) failed: Operation not supported Inf

Re: [Dovecot] NFS cache flush tester

2007-07-12 Thread Timo Sirainen
On Thu, 2007-07-12 at 12:45 +0100, Chris Wakelin wrote: > Results for Solaris 8 talking to a NetApp filer (OS: ONTAP 7.2.2p3) Thanks, could you try once more with an updated nfstest.c version? I added "dup+close" which works for data and write cache flushing with Linux. I really hope it works with

Re: [Dovecot] NFS cache flush tester

2007-07-12 Thread Chris Wakelin
Timo Sirainen wrote: > On Thu, 2007-07-12 at 12:45 +0100, Chris Wakelin wrote: >> Results for Solaris 8 talking to a NetApp filer (OS: ONTAP 7.2.2p3) > > Thanks, could you try once more with an updated nfstest.c version? I > added "dup+close" which works for data and write cache flushing with >

Re: [Dovecot] NFS cache flush tester

2007-07-12 Thread Timo Sirainen
On Thu, 2007-07-12 at 18:35 +0100, Chris Wakelin wrote: > > Thanks, could you try once more with an updated nfstest.c version? I > > added "dup+close" which works for data and write cache flushing with > > Linux. I really hope it works with Solaris+FreeBSD too. > > > > Info: Write flush dup+close

Re: [Dovecot] NFS cache flush tester

2007-07-12 Thread Doug Council
On Thu, 12 Jul 2007, Timo Sirainen wrote: Thanks, could you try once more with an updated nfstest.c version? I added "dup+close" which works for data and write cache flushing with Linux. I really hope it works with Solaris+FreeBSD too. I didn't expect fchown() to flush write cache, but since du

Re: [Dovecot] NFS cache flush tester

2007-07-12 Thread Troy Engel
Timo Sirainen wrote: http://dovecot.org/tools/nfstest.c Latest version used (2007-07-12 ~11am PST) for tests. Machine 1: CentOS 4 (RHEL 4 clone) Linux 2.6.9-42.0.8.ELsmp #1 SMP Tue Jan 30 12:33:47 EST 2007 i686 i686 i386 GNU/Linux Machine 2: CentOS 4 (RHEL 4 clone) Linux 2.6.9-42.0.10.ELsm

Re: [Dovecot] NFS cache flush tester

2007-07-12 Thread Timo Sirainen
On Thu, 2007-07-12 at 10:51 -0700, Doug Council wrote: > > Great. Now how about FreeBSD once more? :) > > FreeBSD 6.2-RELEASE-p5 and a NetApp NFS server: Thanks. > Info: Testing write flushing.. > Info: Write flush no caching: failed > Info: Write flush fcntl(shared): failed > Info: Write flush

Re: [Dovecot] NFS cache flush tester

2007-07-12 Thread Timo Sirainen
On Thu, 2007-07-12 at 21:26 +0300, Timo Sirainen wrote: > On Thu, 2007-07-12 at 10:51 -0700, Doug Council wrote: > > > Great. Now how about FreeBSD once more? :) > > > > FreeBSD 6.2-RELEASE-p5 and a NetApp NFS server: > > Thanks. > > > Info: Testing write flushing.. > > Info: Write flush no cach

Re: [Dovecot] NFS cache flush tester

2007-07-12 Thread Chris Wakelin
Timo Sirainen wrote: > On Thu, 2007-07-12 at 21:26 +0300, Timo Sirainen wrote: >> On Thu, 2007-07-12 at 10:51 -0700, Doug Council wrote: Great. Now how about FreeBSD once more? :) >>> FreeBSD 6.2-RELEASE-p5 and a NetApp NFS server: >> Thanks. >> >>> Info: Testing write flushing.. >>> Info: W

Re: [Dovecot] NFS cache flush tester

2007-07-12 Thread Doug Council
On Thu, 12 Jul 2007, Timo Sirainen wrote: So still nothing usable. Updated nfstest.c once again to include fdatasync() test. It has to work. fdatasync() isn't implemented in FreeBSD (see http://www.freebsd.org/cgi/query-pr.cgi?pr=64875). It defaults to mapping fdatasync() to fsync(). Resul

Re: [Dovecot] NFS cache flush tester

2007-07-12 Thread Timo Sirainen
On Wed, 2007-07-11 at 22:21 +0300, Timo Sirainen wrote: > http://dovecot.org/tools/nfstest.c v1.1 code does now NFS cache flushing with mail_nfs_storage=yes and mail_nfs_index=yes. I haven't tried yet how well it works, but at least it finally should work without disabling attribute caches or anyt

[Dovecot] Integrating dovecot 1.01 into CentOS-3.8 systemw with chroot passwd dirs?

2007-07-12 Thread Gary Goldberg
Hello. I'm administrating a CentOS 3.8 linux system (RHEL3) and I just replaced the imap-2002d-12 package that came with the system, with a dovecot 1.01 package I obtained through the dovecot home page. The problem I have, is that many of my POP3 users have jailed user accounts set up through wu-f

Re: [Dovecot] Problem with Dovecot SASL in Postfix

2007-07-12 Thread Timo Sirainen
On Thu, 2007-07-12 at 10:52 -0500, Chris McMacken wrote: > and to login through SASL I am trying to use the username > [EMAIL PROTECTED] when I use the full email address like this to > login like this I get this output into my postfix log: Postfix's logs aren't very useful. Set auth_debug_passwor

Re: [Dovecot] v1.1 status and benchmarks

2007-07-12 Thread Timo Sirainen
On Thu, 2007-07-12 at 13:39 +0200, Farkas Levente wrote: > what is cydir? dovecot suppurt cydir format or it's cyrus speed? > if it's dovecot cydir support so fast will the v.x.y be ever so fast? or > it'd be better to use/switch to cydir? It's a simple mailbox format that is somewhat similar to C

Re: [Dovecot] v1.1 status and benchmarks

2007-07-12 Thread Timo Sirainen
On Thu, 2007-07-12 at 09:37 +0200, DINH Viêt Hoà wrote: > On 7/12/07, Timo Sirainen <[EMAIL PROTECTED]> wrote: > > v1.1 plans have changed a bit. I'll release v1.1.alpha1 soon and hope to > > have a stable v1.1 in a month or two. The rest of the features that > > didn't make it into v1.1 will go to

Re: [Dovecot] v1.1 status and benchmarks

2007-07-12 Thread Timo Sirainen
On Thu, 2007-07-12 at 09:44 +0200, Arkadiusz Miskiewicz wrote: > > If only POP3 is > > used, the cache file isn't created at all. If IMAP is used then > > virtual size is stored also to the cache file. > > Hm, http://wiki.dovecot.org/POP3Server doesn't mention anything about cache > not being cr

Re: [Dovecot] v1.0.2 release candidate

2007-07-12 Thread Timo Sirainen
On Thu, 2007-07-12 at 12:24 +0200, Nicolas STRANSKY wrote: > Is there any plan to add rquotad support in v1.0.2 No. v1.0.x won't have any new features (well, except I made it upwards-compatible with v1.1 generated files). > or to release a changeset that can be applied to v1.0.2 ? No. signat

Re: [Dovecot] Today's stable hg pull destroyed dovecot...

2007-07-12 Thread Timo Sirainen
On Thu, 2007-07-12 at 10:34 +0200, Ralf Hildebrandt wrote: > I performed a hg pull today for 1.0.1 and after recompilation my log > was flooded with: > > Jul 12 10:29:21 postamt dovecot: IMAP(kxx4): UID larger than next_uid in file > /home/k/j/kxx4/Maildir/dovecot-uidlist (6 >= 0) > Jul 12 10:29:

Re: [Dovecot] Dovecot login failing

2007-07-12 Thread Timo Sirainen
On Thu, 2007-07-12 at 15:12 +0100, Richard Ellis wrote: > auth default: > passdb: > driver: pam > userdb: > driver: passwd You have no auth settings that change the username, so it must be Squirrelmail that adds it. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Patches to log imap bandwidth?

2007-07-12 Thread Timo Sirainen
On Thu, 2007-07-12 at 02:01 -0700, Jason Fesler wrote: > Anyone patch dovecot to syslog bytes transfered during a session or > anything of that sort? http://dovecot.org/patches/imap-bytes.diff signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Patches to log imap bandwidth?

2007-07-12 Thread Jason Fesler
Anyone patch dovecot to syslog bytes transfered during a session or anything of that sort? http://dovecot.org/patches/imap-bytes.diff Thank you Sir.

Re: [Dovecot] Quota exceeded messages

2007-07-12 Thread Timo Sirainen
On Tue, 2007-07-10 at 12:14 +0100, Frank Church wrote: > Another thing to note is that the quota snippet in the SQL requires a > cast and should be > concat('dirsize:storage=', cast(quota as char)) AS > userdb_quota Are you sure you want to use dirsize and hot maildir quota? dirsize is horribly

Re: [Dovecot] Quota Messages

2007-07-12 Thread Timo Sirainen
On Tue, 2007-07-10 at 09:41 +0200, Hermann wacker wrote: > The question is: Is there a way where Dovecot (or Postfix) inform the > user that his quota is reaching its limit? Or maybe the postmaster, > thats not important. The important thing is a way where my mailsystem > tells somebody that quotas

Re: [Dovecot] dovecot sieve notify mailto

2007-07-12 Thread Timo Sirainen
On Fri, 2007-07-06 at 20:25 +0300, Uldis Pakuls wrote: > and most important things: > 1. notify now always reports SIEVE_OK as notify failure is not delivery > failure. all notify failures are reported in log. Also "SIEVE_ERROR" > aborts script execution, but there is no reason to abort on notify e

Re: [Dovecot] v1.0.2 release candidate

2007-07-12 Thread Timo Sirainen
On Fri, 2007-07-13 at 00:35 +0200, Bernhard Schmidt wrote: > Timo Sirainen <[EMAIL PROTECTED]> wrote: > > > Unless someone finds something broken, I'll release v1.0.2 in a few > > days. The most important changes since v1.0.1: > > I'm getting a _large_ number of UIDVALIDITY changes logging messag

Re: [Dovecot] v1.0.2 release candidate

2007-07-12 Thread Timo Sirainen
On Fri, 2007-07-13 at 01:02 +0200, Bernhard Schmidt wrote: > Jul 13 01:01:55 vs02 dovecot: IMAP(berni): Maildir > /var/mail/vmail/b/berni/.sysprak sync: UIDVALIDITY changed (7052738 -> > 1177317433) > Jul 13 01:01:55 vs02 dovecot: IMAP(berni): Disconnected: Internal error > occurred. Refer to se

Re: [Dovecot] v1.0.2 release candidate

2007-07-12 Thread Bernhard Schmidt
Timo Sirainen <[EMAIL PROTECTED]> wrote: > Unless someone finds something broken, I'll release v1.0.2 in a few > days. The most important changes since v1.0.1: I'm getting a _large_ number of UIDVALIDITY changes logging messages, even when I have completely removed all old index files Jul 13 00:

Re: [Dovecot] v1.0.2 release candidate

2007-07-12 Thread Bernhard Schmidt
Timo Sirainen wrote: Hi Timo, Unless someone finds something broken, I'll release v1.0.2 in a few days. The most important changes since v1.0.1: I'm getting a _large_ number of UIDVALIDITY changes logging messages, even when I have completely removed all old index files rc2 should have fixed

Re: [Dovecot] Dovecot login failing

2007-07-12 Thread John Robinson
On 12/07/2007 23:19, Timo Sirainen wrote: On Thu, 2007-07-12 at 15:12 +0100, Richard Ellis wrote: auth default: passdb: driver: pam userdb: driver: passwd You have no auth settings that change the username, so it must be Squirrelmail that adds it. I suspect the vlogin plugin. Quo

Re: [Dovecot] Monitoring Recomendations

2007-07-12 Thread Timo Sirainen
On Fri, 2007-06-29 at 10:45 -0700, Dehnert James Sr wrote: > I believe that Dovecot is running just fine, but I need some metrics > to prove that to the users. You could for example patch rawlog to log timestamps before each input/output packet so you can see how long it takes for Dovecot to rep

Re: [Dovecot] Integrating dovecot 1.01 into CentOS-3.8 systemw with chroot passwd dirs?

2007-07-12 Thread Timo Sirainen
On Thu, 2007-07-12 at 17:33 -0400, Gary Goldberg wrote: > Hello. I'm administrating a CentOS 3.8 linux system (RHEL3) and I just > replaced > the imap-2002d-12 package that came with the system, with a dovecot 1.01 > package I obtained through the dovecot home page. The problem I have, is that > m

Re: [Dovecot] Integrating dovecot 1.01 into CentOS-3.8 systemw with chroot passwd dirs?

2007-07-12 Thread Gary Goldberg
On Fri, 13 Jul 2007, Timo Sirainen wrote: Dovecot chroots the users as well then. Thanks for the reply; That's good news. mail_location: mbox:~/mail:INBOX=/home/mail/%u Change this to: mail_location: mbox:~/mail:INBOX=~/%u Does it work then? Wouldn't that parse to $HOME/$USER for each i

Re: [Dovecot] Integrating dovecot 1.01 into CentOS-3.8 systemw with chroot passwd dirs?

2007-07-12 Thread Timo Sirainen
On 13.7.2007, at 3.57, Gary Goldberg wrote: mail_location: mbox:~/mail:INBOX=/home/mail/%u Change this to: mail_location: mbox:~/mail:INBOX=~/%u Does it work then? Wouldn't that parse to $HOME/$USER for each inbox? Currently sendmail/procmail delivers mail to /var/mail, which is symlinked

Re: [Dovecot] Dovecot login failing

2007-07-12 Thread Rik Ellis
Hi John, You are correct. Something has changed in default behaviors between a previous version I had installed and the latest one. I have disabled it while I work out what. Means some of my friends can't get to their mail remotely at the moment, but at least mine works now :) Rik John Robi