Re: [Dovecot] Ongoing performance issues with 2.0.x

2010-11-07 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > * Timo Sirainen : > > > Attached with a working regexp. > > I switched a few minutes ago, back to 2.0.6 > The load on the server is extremely light (it's sunday): > > type realusersys reclaim faults swaps bin bo

Re: [Dovecot] Ongoing performance issues with 2.0.x

2010-11-07 Thread Ralf Hildebrandt
program are resulting in identical output! I'm not sure it's working like intended. I'm trying to fix that. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +

Re: [Dovecot] Ongoing performance issues with 2.0.x

2010-11-07 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > * Timo Sirainen : > > > > Nov 7 19:37:17 postamt dovecot: imap(ptm-aus): Debug: rusage: real=0.51 > > > user=0.16001 sys=0.52003 reclaims=665 faults=0 swaps=0 bin=0 bout=0 > > > signals=0 volcs=10 involcs=8 > > > > Attached

[Dovecot] 2.0, hourly performance stats

2010-11-07 Thread Ralf Hildebrandt
0 36731339 imap0.170.400.19665 0 0 0 0 0 6 48 pop3-login 96.75 0.600.28777 0 0 112 0 0 41 14 -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung

Re: [Dovecot] 2.0, hourly performance stats

2010-11-08 Thread Ralf Hildebrandt
* Daniel L. Miller : > On 11/7/2010 11:34 PM, Ralf Hildebrandt wrote: > >Attached is my "dovecot -n" output. > > > Here's another attempt to insert lower supportive appendage into open > breathing & consumption orifice. > > Just comparing your doveco

Re: [Dovecot] 2.0, hourly performance stats

2010-11-08 Thread Ralf Hildebrandt
* Timo Sirainen : > On 8.11.2010, at 7.34, Ralf Hildebrandt wrote: > > > I'm getting constantly high numbers of page reclaims & involuntary > > context switches for dovecot/auth. > > Is it intentional that you have both passdb shadow and passdb pam enabled

Re: [Dovecot] Ongoing performance issues with 2.0.x

2010-11-08 Thread Ralf Hildebrandt
you > should be fine. If tickless, IIRC, you should see CONFIG_NO_HZ=y. # fgrep HZ config-2.6.32-23-generic-pae CONFIG_NO_HZ=y # CONFIG_HZ_100 is not set CONFIG_HZ_250=y # CONFIG_HZ_300 is not set # CONFIG_HZ_1000 is not set CONFIG_HZ=250 CONFIG_MACHZ_WDT=m -- Ralf Hildebrandt Geschäftsber

Re: [Dovecot] 2.0, hourly performance stats

2010-11-08 Thread Ralf Hildebrandt
expected. Master is doing a lot > of page reclaims, which I'd guess is because it's forking a lot. > -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de

Re: [Dovecot] 2.0, hourly performance stats

2010-11-08 Thread Ralf Hildebrandt
* Timo Sirainen : > Attached a new script. Here's another output of what I get myself: I switched back to 2.0 and will try keeping it going until 12:00 tomorrow -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin

Re: [Dovecot] Todays Performance Data for 2.0.x

2010-11-09 Thread Ralf Hildebrandt
sses) reduced the system CPU usage to almost > nothing. But if you use different UIDs for different users you can't do > that. Yes, unfortunately :( > So, yeah, looks like the process initialization is wasting time > somewhere. I'll look further into it. Thanks a lot! -- Ralf H

Re: [Dovecot] Todays Performance Data for 2.0.x

2010-11-09 Thread Ralf Hildebrandt
s. I think you could avoid that by just removing pass=yes > from the master passdb. If you try to log in with invalid username, the > userdb lookup should fail later. > -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin F

Re: [Dovecot] Ongoing performance issues with 2.0.x

2010-11-13 Thread Ralf Hildebrandt
es to log process instead of sockets to > master process (this should improve performance). Maybe other things I > can't think of now. Is "dstat --ipc" a suitable to measure/see what's going on? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - U

Re: [Dovecot] Ongoing performance issues with 2.0.x

2010-11-17 Thread Ralf Hildebrandt
the rusage stats for v1.2 and comparing them to v2.0 > might show something useful. Could you patch your v1.2 with the attached > patch and again get one day's stats through logparse.pl? (Need to change > Debug -> Info in its regexp) Of course. I just recompiled the new 1.

Re: [Dovecot] Ongoing performance issues with 2.0.x

2010-11-17 Thread Ralf Hildebrandt
next if (!/^.* ([\w-]+)(\([^\)]*\))?: (Debug: )?rusage: (.*)$/); I see no "Info" in my log output, thus I changed "Debug: " to "(Debug: )?" and my ($type, $data) = ($1, $3); to my ($type, $data) = ($1, $4); since I added another pair of () The output looks plausible! --

[Dovecot] 2.0 hg build failing...

2010-11-19 Thread Ralf Hildebrandt
rror 1 make[1]: Leaving directory /usr/src/dovecot-2.0/dovecot-2.0' make: *** [all] Error 2 -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 1

[Dovecot] dovecot/imap-login TLS?

2010-11-21 Thread Ralf Hildebrandt
# ps auxwww|egrep -i imap-login dovenull 11879 1.4 0.9 83484 77656 ?SNov20 19:12 dovecot/imap-login [822 connections (822 TLS)] What exactly is TLS in this context? All connections from imap -> imap-login? All clients connecting to an imap process? -- Ralf Hildebra

Re: [Dovecot] dovecot/imap-login TLS?

2010-11-24 Thread Ralf Hildebrandt
* Timo Sirainen : > On Sun, 2010-11-21 at 20:23 +0100, Ralf Hildebrandt wrote: > > # ps auxwww|egrep -i imap-login > > dovenull 11879 1.4 0.9 83484 77656 ?SNov20 19:12 > > dovecot/imap-login [822 connections (822 TLS)] > > > > What exactl

Re: [Dovecot] dovecot/imap-login TLS?

2010-11-25 Thread Ralf Hildebrandt
* Timo Sirainen : > On 24.11.2010, at 11.53, Ralf Hildebrandt wrote: > > > * Timo Sirainen : > >> On Sun, 2010-11-21 at 20:23 +0100, Ralf Hildebrandt wrote: > >>> # ps auxwww|egrep -i imap-login > >>> dovenull 11879 1.4 0.9 83484 77656 ?S

Re: [Dovecot] dovecot/imap-login TLS?

2010-11-25 Thread Ralf Hildebrandt
less a connection is spending a lot of time during login you don't > normally see them in imap-login process connections. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin

Re: [Dovecot] Dovecot 1.2/2.0 coexistence guide?

2010-12-05 Thread Ralf Hildebrandt
e that might > allow me to upgrade individual users in place, without moving their > maildirs into a new tree and still avoid issues with 1.2/2.0 sharing > access? I'm switching back and forth between 1.2 and 2.0. No need to worry. -- Ralf Hildebrandt Geschäftsbere

Re: [Dovecot] Dovecot 1.2/2.0 coexistence guide?

2010-12-05 Thread Ralf Hildebrandt
* Ron Leach : > Ralf Hildebrandt wrote: > >* Tom Talpey : > >>Any hints on a seamless approach to this, especially one that might > >>allow me to upgrade individual users in place, without moving their > >>maildirs into a new tree and still avoid issues wit

Re: [Dovecot] Dovecot 1.2/2.0 coexistence guide?

2010-12-05 Thread Ralf Hildebrandt
irs > 'where they were' and able to drop back to v1 in case of problems. That's another option, yep. So far I'm using 2.0 for stuff like expunging old crap from the users' mailboxes (doveadm expunge is such a cool tool) -- Ralf Hildebrandt Geschäftsb

Re: [Dovecot] imap limits please ?

2010-12-06 Thread Ralf Hildebrandt
) folders ranging from 1000 messages per > folder to 100 messages per folder No problem > 2. A "Sent Items" folder with about 4,000 messages (and counting) No problem > 3. A "Deleted Items" folder with about 5,500 messages (and counting) No problem. Although she sho

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-08 Thread Ralf Hildebrandt
think it shows only non-default values), the current output is a bit longish. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 96

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-08 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > > http://wa.ter.net/download/doveconf.txt > > We need to find out WHAT is common in our two config files! My config is attached -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benja

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-08 Thread Ralf Hildebrandt
* Cor Bosman : > Here's the doveconf -n output: http://wa.ter.net/download/doveconf-n.txt Except for your storage being on NFS, it looks fairly identical! masteruser, passdb pam, userdb passwd. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universität

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-08 Thread Ralf Hildebrandt
that's probably not it. Yep. > Our CPUs are actually pretty much idle (these are 8 and 16 core > machines). And memory is plentiful. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-08 Thread Ralf Hildebrandt
* David Ford : > Ralf, did you do the profiling yet? With gprof or what exactly is on your mind? > On 12/08/10 09:50, Ralf Hildebrandt wrote: > >[...] > >Yes, this looks like my graphs. Same increase. Factor 5. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-08 Thread Ralf Hildebrandt
in processes. > (master, imap, lda, etc) Timo and I found excessive numbers of context switches, factor 20-30. But it's unclear why the IMAP process would do/cause this. > when you run 'ps aux|grep dovecot', what seems to collect the most cpu time? > > -d > > On 12/08

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-08 Thread Ralf Hildebrandt
ot set CONFIG_PREEMPT_NOTIFIERS=y # CONFIG_PREEMPT_NONE is not set CONFIG_PREEMPT_VOLUNTARY=y # CONFIG_PREEMPT is not set It's the same kernel 1.2.x is running on, without problems. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Ben

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-08 Thread Ralf Hildebrandt
* Jose Celestino : > It ended up being due to a slight increase in memory usage by the imap > processes that made the servers start using swap and the load to spike. My machine is not swapping; it doesn't even HAVE swap, it still has lots of free memory -- Ralf Hildebrandt Gesch

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-08 Thread Ralf Hildebrandt
nning into oblivion. To reduce the > enormous amount of context switches, I've got 'pop3's client_limit set > to 4. I played around with 'imap's client_limit between 1 and 5 but > haven't quite found the sweet spot yet. pop3 with client_limit 4 seems > to work pr

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-08 Thread Ralf Hildebrandt
e passwd file (no NIS!) > I did upgrade 4 machines to the latest kernel, but it's hard to tell if > that changed much as our usage peak is during the day, So I'll know > more tomorrow. But so far it looks as though the context switches are > still high. Let me know!

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-08 Thread Ralf Hildebrandt
* Cor Bosman : > login_process_per_connection = yes > > So seems like we did have that set in 1.2. We didn't use that (in both 1.2 and 2.0) -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenb

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-08 Thread Ralf Hildebrandt
u could also try the attached patch > that logs the voluntary context switch count for every executed IMAP > command. Maybe some command shows up that generates them much more than > others. I can try that, but today and friday I'm busy, and then it's weekend :( -- Ralf H

Re: [Dovecot] Dovecot 1.2/2.0 coexistence guide?

2010-12-09 Thread Ralf Hildebrandt
dn't want to have all my > path settings tweaked, then have to un-tweak them to actually migrate. Very odd. I simply used ./configure --prefix=/usr/dovecot-2 and that was it. Of course I had to change some paths in the config, but that was all. -- Ralf Hildebrandt Geschäftsbereich IT

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-09 Thread Ralf Hildebrandt
t; connections on a single process, I'm actually throttiling the system, > resulting in fewer context switches (though I'd imagine bottlenecked > procs would be blocked on I/O and do a lot of volcs's). -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité -

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-09 Thread Ralf Hildebrandt
e same, but the Dovecot version changes, with 2.0.x > causing the high load and 1.2.x being normal. Maybe 2.0.x simply causes > this bug to manifest itself more loudly? That could be! -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin C

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-09 Thread Ralf Hildebrandt
switches generated by imap > processes. We'll see tomorrow if poll() works better or if a small > patch I made makes it better. That sounds promising :) -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Frankli

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-10 Thread Ralf Hildebrandt
ent than the switches/flags most other 2.0.x OPs are using > when they make the source? I'm using: ./configure --prefix=/usr/dovecot-2 --enable-maintainer-mode && make -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berli

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-10 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > I'm using: > ./configure --prefix=/usr/dovecot-2 --enable-maintainer-mode && make and export LDFLAGS="-Wl,--as-needed" export CPPFLAGS='-Wl,--as-needed' but omitting that makes no difference -- Ralf Hildebrandt Geschäftsbe

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-11 Thread Ralf Hildebrandt
's simply being *reported* as higher when it really isn't. The load is definitely higher. Yesterday I kept 2.0 running until noon. Half an hour before noon users were reporting their logins were timing out. At the same time the load skyrocketed (system was at almost 100 percent)

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-15 Thread Ralf Hildebrandt
out it. Oh, and > seeing if other operating systems handle it better would be interesting > too. > > BTW. I actually considered this already last week but then I thought it > can't be it since v1.2 did the same thing. But no, v1.2 doesn't really > do the same thin

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-15 Thread Ralf Hildebrandt
* Jose Celestino : > I guess that would depend on the CPUs, caches, etc. No it doesn't :) -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 |

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-16 Thread Ralf Hildebrandt
* Cor Bosman : > It looks like Timo's patch fixes the problem. Context switches are now > back to normal, and the load graph is smooth and lower. Same here. > I saw someone also posted a patch to the LKML. I guess I missed that one -- Ralf Hildebrandt Geschäftsbereich

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-16 Thread Ralf Hildebrandt
iosity, when you say lower - how does the load actually > compare now to the load you had with 1.2 (same? little higher but now > steady? lower?)? Identical -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenb

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-17 Thread Ralf Hildebrandt
ave ever fixed that. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-17 Thread Ralf Hildebrandt
patch?!?!?! > > At least now I know much more about context switches than I ever did before :) That's the spirit! -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel.

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-27 Thread Ralf Hildebrandt
- - - 0 cleanup > -o header_checks=pcre:/etc/postfix/header_checks_maintenance Usually you do this in main.cf > $ cat /etc/postfix/header_checks_maintenance > /^To:.*u...@domain.tld.*/ HOLD Planned maintenance for account > […] And usually one u

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-27 Thread Ralf Hildebrandt
if specified, otherwise log a generic message. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de

[Dovecot] search pattern -- which format?

2010-12-28 Thread Ralf Hildebrandt
I had a look at the docs, but I could really see which kind of patterns the "search patterns" for doveadm must be. Regexp? PCRE? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12

[Dovecot] Implications of zlib plugin on search operations

2011-01-04 Thread Ralf Hildebrandt
Right now I'm compressing all mails older than 31 days and larger than 100k in size. But what implications does this compression have on search queries performed by users (user looking for an old mail containing a certain string). -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Net

Re: [Dovecot] Implications of zlib plugin on search operations

2011-01-04 Thread Ralf Hildebrandt
a size threshold for WHEN the compression fires? (e.g. mails larger than 5k) -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962

[Dovecot] Login with firstname.lastname instead of loginname - WORKING

2011-01-05 Thread Ralf Hildebrandt
harite.de instead of firstname.lastn...@charite.de (capitalized first letters) How can I "normalize" the usernames by lowercasing them? The coolest solution would be to strip realms AND force lowercasing of usernames in one pass -- Ralf Hildebrandt Geschäftsbereich IT | Abtei

Re: [Dovecot] Login with firstname.lastname instead of loginname - WORKING

2011-01-05 Thread Ralf Hildebrandt
dovecot for ALL services! -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de

Re: [Dovecot] Login with firstname.lastname instead of loginname - WORKING

2011-01-06 Thread Ralf Hildebrandt
* Ed W : > On 05/01/2011 08:51, Ralf Hildebrandt wrote: > >3 years ago (!) I aksed about this and finally I implemented it today: > > > >>> # NEW > >>> passdb { > >>> driver = passwd > >>> # > >>> firstname.l

Re: [Dovecot] Pointers for developing a proper encryption plugin?

2011-01-06 Thread Ralf Hildebrandt
* Christian Felsing : > I would wish that Timo would consider to implement required functions to > plugin API, so such a plugin would be possible without massive patching > Dovecot source code. It would come in handy for archiving mail as well! -- Ralf Hildebrandt Geschäftsb

[Dovecot] squat-trie.c: line 876 (squat_build_word): assertion failed: (i + bytelen <= size)

2011-01-07 Thread Ralf Hildebrandt
ecot/imap [hnge 141.42.206.38 UID](imap_search_start+0x138) [0xb786c2d8] -> dovecot/imap [hnge 141.42.206.38 UID](cmd_search+0xf1) [0xb78614d1] -> d Jan 7 16:16:50 postamt dovecot: master: Error: service(imap): child 17558 killed with signal 6 (core dumped) -- Ralf Hildebrandt

[Dovecot] imap crash (with backtrace)

2011-01-07 Thread Ralf Hildebrandt
callback=0x805fc20 ) at master-service.c:484 No locals. #16 0x08060365 in main (argc=1, argv=0x8ff41c0) at main.c:375 set_roots = {0x8062ce0, 0x0} service_flags = storage_service_flags = postlogin_socket_path = username = c = -- Ralf Hildebrandt Geschäftsberei

[Dovecot] Backtrace:dovecot/imap

2011-01-12 Thread Ralf Hildebrandt
i = j = call = #21 0xb772ed00 in io_loop_run (ioloop=0xa04c368) at ioloop.c:404 No locals. #22 0xb771a8ea in master_service_run (service=0xa04c2b8, callback=0x805fc20 ) at master-service.c:484 No locals. #23 0x08060365 in main (argc=1, argv=0xa04c1c0) at main.c:375 set_roots

Re: [Dovecot] v2.0.9 released

2011-01-13 Thread Ralf Hildebrandt
more (or less) resources than v.1.2.12? The same. > Do you feel that v.2.0.9 is already good enough to use in a > shared server to serve less than a 100 users? If it works for 15k users here, it will probably work for less than a 100 users as well. -- Ralf Hildebrandt Geschäftsb

Re: [Dovecot] v2.0.9 released

2011-01-14 Thread Ralf Hildebrandt
x27;ll get 2.x.x > any time soon? Or is debian just the wrong platform if I want to run the > dovecot 2 series? > What do other users do, roll your own .debs from source? I'm just building from source. There are prepackaged *debs, though -- Ralf Hildebrandt Geschäftsberei

Re: [Dovecot] rotate logs ?

2011-01-18 Thread Ralf Hildebrandt
* Frank Bonnet : > Hello > > is there an internal mechanism in dovecot to rotate logs daily ? No. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 45

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

2011-01-21 Thread Ralf Hildebrandt
> In any case, I am not creating a kill filter to dispense with it. not or now? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450

Re: [Dovecot] Dovecot2 + Sieve

2011-01-28 Thread Ralf Hildebrandt
* Philipp v. Strobl-Albeg : > Everything else works fine, except the program "mail". I dont know if > there is a coherence but a typical Mailserver-Test "date|mail -s test > em...@example.com" also don't sent a message to postfix. find / -name sendmail what is

Re: [Dovecot] Dovecot2 + Sieve

2011-01-28 Thread Ralf Hildebrandt
* Philipp v. Strobl-Albeg : > /usr/sbin/sendmail > /usr/lib/sendmail diff /usr/sbin/sendmail /usr/lib/sendmail find out which one is the correct one :) -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Fr

Re: [Dovecot] Dovecot2 + Sieve

2011-01-28 Thread Ralf Hildebrandt
t; > /usr/sbin/sendmail > > /usr/lib/sendmail > > Try > > echo "Subject: Test" | /usr/sbin/sendmail em...@example.com > > and watch your sendmail log. And of course: echo "Subject: Test" | /usr/lib/sendmail em...@example.com one of the two will

Re: [Dovecot] dovecot: imap-login: Error: net_connect_unix(imap) failed: Resource temporarily unavailable

2011-02-01 Thread Ralf Hildebrandt
at the same > time. That sounds nice. > # 2.0.beta6 (3156315704ef): /etc/dovecot/dovecot.conf Is this really a 2.0 beta? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin

Re: [Dovecot] dovecot: imap-login: Error: net_connect_unix(imap) failed: Resource temporarily unavailable

2011-02-01 Thread Ralf Hildebrandt
* Kurt Hockenbury : > On Tue, 1 Feb 2011, Ralf Hildebrandt wrote: > > >># 2.0.beta6 (3156315704ef): /etc/dovecot/dovecot.conf > > > >Is this really a 2.0 beta? > > That's what is shipping with RHEL 6. We've been trying to keep the > system as

[Dovecot] Backtrace:dovecot/imap with 2.0.9 hg checkout from 1st of Febrauary

2011-02-02 Thread Ralf Hildebrandt
It's actually 4 crashes in the same minute: Date: Wed, 02 Feb 2011 04:28:35 +0100 GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribu

Re: [Dovecot] Backtrace:dovecot/imap with 2.0.9 hg checkout from 1st of Febrauary

2011-02-03 Thread Ralf Hildebrandt
* Timo Sirainen : > On Wed, 2011-02-02 at 09:59 +0100, Ralf Hildebrandt wrote: > > #8 squat_trie_build_more (ctx=0x9ef10a8, uid=37, > > type=SQUAT_INDEX_TYPE_HEADER, > > input=0xb719e008 "\037\357\277\275\b\b?C\357\277\275L2,S\n\020H! > > \357\277\275\06

[Dovecot] Force STARTTLS on port 143 for !internalnetwork

2011-02-09 Thread Ralf Hildebrandt
Hi! How can I force users which are connecting from OUTSIDE our newtworks to user STARTTLS on Port 143? Right now we resort to IMAPS on port 993, but an additional STARTTLS enabled login on the default port would make things easier! -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung

Re: [Dovecot] Force STARTTLS on port 143 for !internalnetwork

2011-02-09 Thread Ralf Hildebrandt
> local 10.0.0.0/24 { > disable_plaintext_auth = no > } Can I also specify more than one subnet there? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450

Re: [Dovecot] Force STARTTLS on port 143 for !internalnetwork

2011-02-09 Thread Ralf Hildebrandt
multiple local {} blocks. Uh. Actually, you want remote {}, not > local {}. It's easier to enumerate the INTERNAL networks than the whole internet... -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hinden

[Dovecot] POP Log entries

2011-02-10 Thread Ralf Hildebrandt
Disconnected: Logged out top=0/0, retr=0/0, del=0/3239, size=511881537 Disconnected: Logged out top=0/0, retr=2/316038, del=0/3238, size=511876309 What do the numbers mean? Especially since there are two numbers for each category... -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk

Re: [Dovecot] Problem to start Dovecot 2.0.9

2011-02-26 Thread Ralf Hildebrandt
x > group::rwx > other::rwx > > Any idea? Disable apparmour? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 9

Re: [Dovecot] Dovecot 2.0 - size of the mailbox

2011-03-10 Thread Ralf Hildebrandt
* Cristiane França : > Hi, > > The Dovecot 2.0 has some limit size for the mailbox? > The server is 64 bits and would like to have mailbox with bigger size that 2 > GB. No problem with Maildir or mdbox. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Net

Re: [Dovecot] IO rate quotas?

2011-04-08 Thread Ralf Hildebrandt
* Timo Sirainen : > On Thu, 2011-04-07 at 16:33 +0200, Kádár Tamás (KTamas) wrote: > > > However once in a while, someone goes rogue, we > > install a new version of thunderbird, someone accidentally sets up an > > email account in thunderbird mistakingly leaving the download > > everything option

Re: [Dovecot] Backtrace:dovecot/imap with 2.0.9 hg checkout from 1st of Febrauary

2011-05-05 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > Maybe it's a accidentially doubly gzipped mail :( It is! > > There's anyway a bug since it shouldn't be crashing even with garbage > > input. > > Yes, indeed. > > > Do you still have this message available? You can pro

Re: [Dovecot] save failed to INBOX: Not enough disk space

2011-06-08 Thread Ralf Hildebrandt
* Osvaldo Alvarez Pozo : > #df -hi > FilesystemInodes IUsed IFree IUse% Mounted on > > /dev/mapper/vmail > 30M 21M9.2M 70% /var/vmail And without -i? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Net

Re: [Dovecot] save failed to INBOX: Not enough disk space

2011-06-08 Thread Ralf Hildebrandt
7;s how Maildir works, yes. But writing to the tmp directory fails > But why it says thereis no space left? Maybe the OCFS is out of whack? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 B

Re: [Dovecot] LDA vs maildrop... LDA *and* maildrop?

2012-06-22 Thread Ralf Hildebrandt
t; idea just too crazy? does maildrop speak LMTP? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de

Re: [Dovecot] LDA vs maildrop... LDA *and* maildrop?

2012-06-22 Thread Ralf Hildebrandt
and just let dovecot LDA > and dovecot IMAP enforce quotas which keeps things more simple, no? Since I'm delegating all delivery to deliver, except for pipes, I'm using the quota facilities of deliver/dovecot -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de

[Dovecot] Remove leading and trailing spaces from folder names?

2012-07-19 Thread Ralf Hildebrandt
Hi! Anybody got a doveadm script which can remove leading and trailing spaces from folder names? Right now we're migrating mailboxes from dovecot -> Exchange, and Exchange cannot handle leading and trailing spaces in Folder names. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung

Re: [Dovecot] Remove leading and trailing spaces from folder names?

2012-07-19 Thread Ralf Hildebrandt
* Chris : > 2012/7/19 Ralf Hildebrandt : > > > Right now we're migrating mailboxes from dovecot -> Exchange, and > > Exchange cannot handle leading and trailing spaces in Folder names. > > You're migrating to M$ exchange??? :o Don't ask. -- Ralf Hil

Re: [Dovecot] Remove leading and trailing spaces from folder names?

2012-07-19 Thread Ralf Hildebrandt
* Robert Schetterer : > Am 19.07.2012 14:45, schrieb Ralf Hildebrandt: > > Hi! > > > > Anybody got a doveadm script which can remove leading and trailing > > spaces from folder names? > > > > Right now we're migrating mailboxes from dovecot -> Excha

Re: [Dovecot] Remove leading and trailing spaces from folder names?

2012-07-19 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > > use imapsync ? > > No, that doesn't work, since Exchange doesn't accept the folder names. OK, in some cases one can use --regextrans2 "s/Sent$/Sent Items/g" \ --regextrans2 "s/Drafts$/Entw&APw-rfe/g" \ --regextra

Re: [Dovecot] Remove leading and trailing spaces from folder names?

2012-07-19 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > * Ralf Hildebrandt : > > > > use imapsync ? > > > > No, that doesn't work, since Exchange doesn't accept the folder names. > > OK, in some cases one can use > >--regextrans2 "s/Sent$/Sent Items/g" \ >

Re: [Dovecot] Remove leading and trailing spaces from folder names?

2012-07-19 Thread Ralf Hildebrandt
* Ed W : > On 19/07/2012 13:45, Ralf Hildebrandt wrote: > >Hi! > > > >Anybody got a doveadm script which can remove leading and trailing > >spaces from folder names? > > > >Right now we're migrating mailboxes from dovecot -> Exchange, and > >

Re: [Dovecot] Remove leading and trailing spaces from folder names?

2012-07-19 Thread Ralf Hildebrandt
* Reindl Harald : > do you really think that he migrates to exchange > because he have fun with it? It seems to be a well known restriction, and folder names with leading or trailing spaces do indeed make little sense. In all cases those that I found were typos.

Re: [Dovecot] Remove leading and trailing spaces from folder names?

2012-07-25 Thread Ralf Hildebrandt
* Ed W : > Oh, sorry. Why doveadm though? Why not attack the filesystem directly? It's a bit hard with mdbox: mailboxes. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berl

Re: [Dovecot] Remove leading and trailing spaces from folder names?

2012-07-25 Thread Ralf Hildebrandt
folders if it exists. :) > The way I'd do this is to just do doveadm mailbox list, put the strings > through some regexps and doveadm rename if necessary. Repeat for all > users. Yes, something along those lines. It's just that I find it hard to craft a regexp which does that. Maybe a

[Dovecot] Recipe for "admin-less restore"

2012-08-26 Thread Ralf Hildebrandt
Is there a way for setting up dovecot in such a way that a user can "jump back in time" to an old mailbox "state" in order to retrieve his accidentially deleted mail? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Camp

Re: [Dovecot] Help with Virtual Plugin

2012-08-28 Thread Ralf Hildebrandt
* Joy : > I have loaded the module in IMAP file as suggested in wiki. But the LDA is throwing the error. Did you add it there as well? > >> Aug 28 12:46:27 lda(X): Fatal: Invalid user settings. Refer to > >> server log for more information. -- Ralf Hildebrandt

[Dovecot] Merge multiple doveadm commands

2012-08-31 Thread Ralf Hildebrandt
Can I merge these three commands into one? doveadm expunge -u %s mailbox \"INBOX.Deleted Messages\" NOT NEW doveadm expunge -u %s mailbox INBOX.Trash NOT NEW doveadm expunge -u %s mailbox INBOX deleted -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk

Re: [Dovecot] Disconnect users for a distinct period of time?

2012-09-07 Thread Ralf Hildebrandt
t; so.) I think this can be done with post-login scripting, where a script checks if the user is allowed to login. http://wiki.dovecot.org/PostLoginScripting -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin H

[Dovecot] FTS indexing

2012-09-11 Thread Ralf Hildebrandt
11 0:15 dovecot/indexer-worker [tschuetz INBOX] how can a dovecot/indexer-worker actually access the INBOX of the user "tschuetz" (where "tbudkevy" doesn't have access, due to the different UID)...? Should ~%s/Maildir/lucene-indexes be filled after having run

Re: [Dovecot] FTS indexing

2012-09-11 Thread Ralf Hildebrandt
* Timo Sirainen : > On 11.9.2012, at 19.23, Ralf Hildebrandt wrote: > > > I'm reacreating all FTS indices on all my users' INBOX folders: > > mkdir ~%s/Maildir/lucene-indexes && chown %s:users > > ~%s/Maildir/lucene-indexes > > You shouldn't

Re: [Dovecot] FTS indexing

2012-09-11 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > OK; I'll try that. Where do I finde the lucene index? I didn't find > any trace of ~%s/Maildir/lucene-indexes so I was worried and tried to > create the directories. I fucked up royally: I somehow managed to have fts but not fts_lucene in my list of p

Re: [Dovecot] FTS indexing

2012-09-11 Thread Ralf Hildebrandt
s triggered. Now I put fts and fts_lucene into mail_plugins and everything works. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 9

<    1   2   3   4   5   6   7   8   >